View previous topic :: View next topic |
Author |
Message |
RobertDavid Apprentice
Joined: 08 Aug 2005 Posts: 271 Location: Czech Republic
|
Posted: Mon Feb 06, 2006 9:22 pm Post subject: How to control monitor standby and resolution manualy? |
|
|
How can I change the curent state of monitor(notebook LCD) if I want to set it standby (suspend).. I have fixed values in xorg.conf in DPMS options, but sometimes I want to swich it off by some command... Is this possible?? dont want any guy etc. only some command like echo >> ... I will link it to a hot-key..
And second I want to change resolution on the fly but I dont have some DE like Gnome etc, I use FVWM and qingy, so I know only one way to change xorg.conf and restart X (but then I need to shut down all programs).. Sometimes I have the problem that I play a game under wine which is running 640x480 but when it ends the resolution doesnt change so I need to restert X and log in again,, _________________ Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net |
|
Back to top |
|
|
gentleman Tux's lil' helper
Joined: 02 Dec 2005 Posts: 140 Location: Germany, Paderborn
|
Posted: Mon Feb 06, 2006 9:37 pm Post subject: |
|
|
That's a problem of wine, I had that problem, too. Restarting X is the only solution for that problem, not heard of a on-the-fly resolution change, yet. |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Mon Feb 06, 2006 10:20 pm Post subject: |
|
|
You can change resolution with ctrl+alt+- (or +). You need to use the +/- from the numpad though. You can also do it with xrandr from the commandline (read the manpage).
You can switch the display from a terminal with xset dpms force standby|off etc. |
|
Back to top |
|
|
RobertDavid Apprentice
Joined: 08 Aug 2005 Posts: 271 Location: Czech Republic
|
Posted: Tue Feb 07, 2006 4:02 pm Post subject: |
|
|
thanks for your help:) Both work well, this is exactly what I need..
Dont know why but in my modular xorg 7.0 insnt xset, maybe I didnt emerged it,,, _________________ Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Tue Feb 07, 2006 5:46 pm Post subject: |
|
|
In modular xorg you need to emnerge it separatly indeed (emerge xset) |
|
Back to top |
|
|
|