OpenSUSE Hardware :: Setup Display With Hook After Suspend To Ram?
Feb 8, 2010
I'm running OS 11.2 with KDE4. I have to use the fglrx driver,as I could not get XBMC working with radeon or radeonhd. Well, fglrx works OK, however it does an automatic underscan on my LCD TV (connected via HDMI). So I reset this underscan to get rid of the black box around my desktop by issuing four commands in /etc/X11/xinit/xinitrc:
Code:
aticonfig --set-dispattrib=tmds2i,positionX:0
aticonfig --set-dispattrib=tmds2i,positionY:0
aticonfig --set-dispattrib=tmds2i,sizeX:1920
aticonfig --set-dispattrib=tmds2i,sizeY:1080
Obviously, xinitrc will not be called after doing a suspend2ram, but fglrx decided to get me back to underscan. So I tried to set up a hook:
Code:
#!/bin/bash
case $1 in
hibernate)
# Suspend to disk
[code]....
I get the exact same error messages, if I try to run the four aticonfig commands with "sudo -s" - however, it works, if I run them as "su".So finally coming to the question: Is a hook running with sudo privileges? Can I get it to run as "real" "su" ? Any other ideas (short of creating a hook that's logging me off, then on again?)
View 3 Replies
ADVERTISEMENT
Feb 26, 2010
I want to show line numbers automatically in bash scripts (a habit of being a programmer) and when I load an emacs lisp file it works from the command below but the following command that sets up the same thing for bash scripts doesn't work. I played around with this for quite some time and couldn't find anything that would make work.This is the first time I have tried to customize emacs so it could easily be something ignorant on my part.
;; Load additional packages
(load-file "~/.elisp/whitespace.el")
(load-file "~/.elisp/setnu+.el")
[code]....
View 1 Replies
View Related
May 10, 2010
Using 64Bit Ubuntu 10.04 on a VAIO VGN-FW373J. ATI Mobility Radeon HD 3650. This relates to Bug 451282. If I install the ATI 3D Drivers, the dimming problem goes away, but a host of other bugs crop up. After a resume from screen lock, suspend, or hibernation, the screen is reduced to graphical chaos. There are also hibernation errors. This bug is worse than the dimming bug, so I've uninstalled the 3d ATI drivers. If I can't find a workaround, I may have to look for a different Linux Distro or be content with Windows 7 on this particular laptop.
View 5 Replies
View Related
Jul 25, 2009
Anyone noticing intermittent problems with the screensaver not kicking in or the display not sleeping? This is in gnome under F11.I have the Power Management Preferences set to put the display to sleep after 30 minutes of inactivity and gnome screensaver is configured for 5 minutes idle time.On a regular basis, I'll leave my computer come back anda) the screensaver hasn't kicked inorb) the screensaver kicked in, but the power management features didn't kick in to put the display to sleep.It seems to be an intermittent problem and usually it goes away after I restart X, but then at some point it comes back. In the past, I've gotten in the habit of being logged in for weeks/months at a time but I find that I can't go more than a few hours without logging out and back in or else the screen won't go to sleep.
View 14 Replies
View Related
Aug 10, 2011
suspend has always worked fine with 11.04 and now it stopped working a few days ago. How can I figure out what is going on? The display turns off but the computer never turns off and the only way to bring it back is to hold the power button down and then start it back up.
View 5 Replies
View Related
Apr 16, 2011
I have a fresh install of OpenSUSE 11.4 64bit and I have installed the AMD Display drivers for my Radeon HD 5970. Everything seems to be working quite well. I have a multiple monitor setup (1280x1024 monitor and a 1920x1080 monitor).
I have my primary display set to 1920x1080, however when I try to enable the second display, I get a CRTC error that the display is over the maximum (1920x1920). If I enable both monitors at lower resolutions, there is no problem.
I have done a fair bit of reading and have been unable to determine where this maximum is set, or how to change it. I'd like to be able to run both monitors at their native resolutions.
View 3 Replies
View Related
Apr 23, 2010
I've had display problems with Fedora 12. My monitor could display 1600*1200 in Fedora 7, but I'm having a struggle with F12. I can get 1600x1200 using the nouveau driver but after lots of experimentation, I'm left with:
1. The top line of pixels seems to be repeated 8 - 10 times, shifting the display content downwards so that the bottom few lines of the display content disappear. The mouse cursor can reach the whole of the display but "points to" and "clicks on" part of the display content which appears a few pixels below it.
2. A few pixels of the display content are cropped from the left hand edge of the screen.
Things I've tried:
1. Tried **many** different modelines in xorg.conf and , this is the one I'm using at the moment: ModeLine "1600x1200@50" 162.0 1600 1616 1736 2160 1200 1201 1206 1248 +hsync +vsync I don't know whether all the parameters match up, the monitor flickers a bit at logon so I guess they don't (e.g. the monitor display reckons it's on a 60Hz refresh). At least the display is basically usable though.
2. Tried nouveau, nvidia, nv and vesa drivers - nouveau is the only one which gives 1600x1200.
3. Tried xvidtune, but it complains "Unable to query monitor info" and exits.
System Hardware:
System: Shuttle SN41G2V2/ Athlon XP 3000/ 1GB - "VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX - nForce GPU] (rev a3)" Monitor: Dell 2007FP (1600x1200 native resolution) connected via standard VGA connection - has previously worked at 1600x1200 using Fedora 7
System Software Fedora 12 (2.6.32.11-99.fc12.i686.PAE); installed where F7 used to be (and Mandrake before that!), but /home lives on a separate partition and has not been changed.
View 7 Replies
View Related
May 26, 2010
kubuntu 10.04.
1. in the user I used for system installation, my monitor works fine
2. in the user I created later - same rights - monitor is set for 60Hz. This is the only option in System Settings/Display
3. there's only xorg.conf.failsafe in /etc/X11, which seems to what the second user is using
Where is the display/video card set up in Kubuntu 10.04? Why are different users use different settings? Can I copy from one to the other?
View 2 Replies
View Related
Jan 10, 2010
I have Ubuntu 9.1 setup, with ISPCONFIG3, squirrel mail, apache2, mysql, phpmyadmin, phpbb3 so now what, what do I need to do next to setup to get apache to display my website and where do I need to put my web files?
View 1 Replies
View Related
Jul 12, 2010
I am Currently attempting to set up a Dual Screen setup at my work but seem to be having some strange results. For some reason the O/S is only recognising one of the monitors, it knows exactly what the Make and model of the monitor is but doesnt appear to know that there is another monitor plugged in. It constantly says that there is 2 screens plugged in but lists the second screen as "CRT-0" even if no DVI cable is plugged into the second screen. This has really troubled me and has really got me thinking. I have set-up other Dual-screen setups with exactly the same hardware previously and it has worked fine? I am using a Lenovo A58 Tower with an Nvidia Quadro FX-380 Graphics card that I know is capable of dual Dual-link DVI output! With 2 x LG W3000-H Monitors running Fedora 12.
View 1 Replies
View Related
Feb 28, 2010
I am using redhat linux 5. I am trying to install oracle 10g of linux version. When I click setup.exe from first CD. It says 'couldn't display /media/mydisc/setup.exe".
View 3 Replies
View Related
Mar 10, 2010
I just installed Ubuntu 9.10 this evening. I have a Nvidia Geforce 8500GT video card with two monitors hooked up (one to the cards VGA, the other to the DVI). I installed Nvidia drivers and Ubuntu is working with both monitors fine.
The problem I am having is it chose the monitor plugged into VGA as the primary (uses that monitor for the toolbars) when I really want them to go on the monitor that is plugged into DVI. Is there anyway for me to switch which monitor Ubuntu treats as the primary?
View 2 Replies
View Related
Jul 6, 2011
I have a Radeon HD 5830, running 3 monitors on 10.10 64bit with the 10.6 video driver. The three monitors ( from left to right ) :
DFP1 : 1152x2048
DFP2 : 1920x1200
CRT1 : 1360x768
The problem I'm having is getting the middle monitor to be the primary one.
Running
xrandr --output DFP2 --primary
puts the panel on the middle screen but my docky and icons stay on the left screen. Flash videos also open up on the portrait left monitor which looks awful. Ideally I would like the icons on DFP1, docky on P2 and flash videos to open on P2. But I would definitely settle for everyone to be on the middle screen and drag it around as I please.
[Code]...
View 3 Replies
View Related
Feb 4, 2010
Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?
[Code]....
View 1 Replies
View Related
Oct 25, 2010
If I suspend this toshiba satellite, and the battery is or gets low it will wake from suspend to tell me that it will need to suspend due to a critical low battery. Which is pretty dumb. I've experimented with this by plugging and unplugging the ac adapter.
View 1 Replies
View Related
May 23, 2011
3 questions i have about "pm-suspend-hybrid"
1. is it possible to schedule this command in the same manner as shutdown ? eg sudo shutdown -h 60
2. is it possible to schedule the laptop to come out of suspend ?
3. i have a usb sound card (xfi go). when waking from suspend, the internal sound card is selected. i have to manually select the external sound card & for whatever reason, also unmute it too
View 1 Replies
View Related
Sep 25, 2010
my CRT 1080i Samsung TV has a DVI connection, and my Dell mini netbook has a VGA port, so I bought a DVI cable and a VGA-to-DVI adapter. I'm not getting anything on my TV when I plug it in to my netbook...do I have to configure anything?
View 9 Replies
View Related
Feb 2, 2011
Is there a hook thing in the Linux DNS. What I mean here is - in Linux hooks are called when the status of the network changed - like dhclient-enter-hook, exit-hook etc - is there similar thing when a dhcp client registers itself with the DNS?
View 3 Replies
View Related
Aug 6, 2011
i installed mupen64plus and tried to hookup my ps3 remote with a usb cable. the program recognizes the remote but wont let me map the buttons. my pc isnt bluetooth enabled so i have to leav it hooked up to the the pc.
View 6 Replies
View Related
Jul 23, 2010
I am trying to hook my qosmio laptop into my vizio tv. I am using a VGA cable and I run mandriva linux 2009.1.
Unfortunately I have no luck from here. I rebooted my computer and for the first time it offered to run drakroam, but when I accepted, nothing happened.
View 4 Replies
View Related
Aug 17, 2011
having trouble setting up a dual monitor from my Dell xps laptop using an HDMI port. It dual boots onto Ubuntu 10.04. The computer has a Nvidia GeForce GT 555M with Optimus graphics card I need to make sure I have not installed the restricted drivers. So I think what is happening right now is that the graphics are shown off the integrated graphics card. This is my output from <lspci | grep VGA>
Code:
00:02.0 VGA compatible controller: Intel Corporation Device 0126 (rev 09)
01:00.0 VGA compatible controller: nVidia Corporation Device 0dcd (rev a1)
The forum recommends to use this program called Bumblebee but I have had some issues with that in the past. Is there somehow I can setup my dual display while staying on Ubuntu 10.04 and not installing Bumblebee? I have researched into setting up dual display walkthroughs before but they all concentrate on nvidia or ATI configurations.
View 6 Replies
View Related
Mar 19, 2010
Can I hook up an external hard drive with windows xp on it to my new laptop which has ubuntu on it through the USB port? I have the cables... forgot in which order should I plug them though... Would save me a lot of work
View 7 Replies
View Related
Jan 5, 2011
i should start by saying i'm using ArtistX OS, (based on Ubuntu Karmic (9.10)) I have a cassette deck and a usb turntable that i want to use to digitize my old stuf. at first, there was no output from either device, but after much fiddelin', when i right click on the volume icon and hit sound preferences, input tab, i can see that there is now incoming signal from both devices, but no audio rendering. also, again after much try this or that, got audacity to record and playback (audibly, but i could still not hear it durring recording), but that which was rendered was not acceptable quality for archiving i havn't a clue what to try now
View 1 Replies
View Related
Mar 4, 2010
how to use inode hook functions(inode_alloc_security and inode_free_security)?
View 1 Replies
View Related
Mar 23, 2011
Two tries at building mplayer. First time failed with no sound, second time worked fine - NO CHANGES that I know of, BUT OK - it works nicely.So if I click on a file in the Linux (fedora 14) file browser, I see using "Mplayer Media Player" as a second option, It does nothing, nor does it do anything from the Application tool menu. I do not know where the "I am doing nothing (and here is why)" error message is logged.
I can manually run mplayer or xmplayer on the .wmv file and it works.How do I edit the menus (control files?) and have them use the newly installed and working mplayer (or xmplayer??).Next, it would be nice to make mplayer the default tool to play videos in Firefox (the default for both is another tool (Movie player) which needs a plugin that I cannot find to work).And finally, if I can get one or both of these working - it would be nice to set the default to the new player instead of "Movie player".
View 6 Replies
View Related
Oct 7, 2010
I want to receive an icmp packet using net filter hook function. A string will be printed if an icmp packet is received.I am able to print the string. but the packet loss in the log message shows 100%packet loss.So i changer hooknum = NF_IP_FORWARD.but still its not working.I want to get log message as received 100%
View 1 Replies
View Related
Nov 21, 2010
This is my third SLackware install. I installed 10,12, now 13. the Xorgsetup has changed I think, it does not display the screen to choose Horizontal and Vertical settings for the monitor. In addition, how can I set the Refresh rate?
View 2 Replies
View Related
Aug 18, 2011
With new installs of openSuse 11.4 I've hit a printer problem. I can run hp-setup (or hp-toolbox) for the wireless Officejet j6410 and it is recognised. The right driver is selected. Then when I choose add printer it all falls over with the error message: error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "lp" group(s) error: Fax queue setup failed. Please restart CUPS and try again.
The user is added to the lp group. I have this problem with my 64 bit desktop and 32 bit laptop installs of 11.4, it all worked perfectly in 11.2. I've used the Cups web interface to set up the printer now and can print from both machines, but I would prefer to use the hp-toolbox, which has several convenient features. Where do I go from here?
View 5 Replies
View Related
Mar 27, 2010
Is there a way to provide post-mount and pre-umount scripts in Linux?
I am trying to do some scripts on storage media when mounted and before umounting (eg, for syncing).
View 3 Replies
View Related
Dec 14, 2010
I have a Linksys Wireless-G USB Network Adapter, 2.4 GHz, 802.11g. It hooks up through USB plug, and when I originally plugged it in I got the message that ubuntu didn't support the drivers, but haven't seen it since. I'm hooked up to a LAN cable right now, and can't seem to figure out how to hook up through wireless with this device. Or I just don't know how. When I click on the network connections button on the top right corner (the two computers). I can see my Wired Internet, but no wireless. When I type lsusb in a terminal I get : (sorry I don't know how to do code blocks) So it is recognizing that it's there, but maybe I just don't know how to use it. Also, I'm running Ubuntu Release 10.04 (lucid).
View 1 Replies
View Related