It's a funny coincidence, but my uncle (family tech support, you know...) asked me the same question today.
Here's my script for doing it. If anyone cares to make something graphical from that, I'll be happy to learn from it...
changeResolution.sh:
#!/bin/sh old=`xrandr -q | grep "^\\*" | sed 's/^\*\([0-9]*\).*/\1/'`
[[ $1 ]] &&
xrandr -s $1 &&
echo hit ctrl-c to keep this resolution &&
sleep 15 && xrandr -s $old &&
echo reverted back to old resolution
[[ $1 ]] ||
( xrandr -q &&
echo select display configuration number from the above list )
Oded Arbel wrote:
On Monday, 24 ×January 2005 18:04, Shoshannah Forbes wrote:
On 23/01/2005, at 23:36, Shlomi Fish wrote:
I'm not sure that's the right place for it. You need root
permissions to
modify /etc/X11/XF86Config. Putting it there does not make sense on
Linux.
Since this topic came up anyway: I know gnome allows different users to have different screen resolution settings (on the same machine).
Anybody know if there is a way to set that independently of gnome?
The xorg.conf file seems rather system-wide, which is a strange
thing for a multi-user system.
AFAIK, if you are using a display manager for login, then X is not being restarted for each user session - as such you can't actually use a different resolution for each user, unless you use RANDR.
The KDE RANDR application allows you to set the resolution you chose each time you log in. I'm not aware of a similar functionality in GNOME.
================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
