Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to control monitor standby and resolution manualy?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
RobertDavid
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 271
Location: Czech Republic

PostPosted: Mon Feb 06, 2006 9:22 pm    Post subject: How to control monitor standby and resolution manualy? Reply with quote

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
View user's profile Send private message
gentleman
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2005
Posts: 140
Location: Germany, Paderborn

PostPosted: Mon Feb 06, 2006 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Mon Feb 06, 2006 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
RobertDavid
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 271
Location: Czech Republic

PostPosted: Tue Feb 07, 2006 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Tue Feb 07, 2006 5:46 pm    Post subject: Reply with quote

In modular xorg you need to emnerge it separatly indeed (emerge xset)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum