You are not logged in.
Hi,
maybe I should read more about X configurations, but sometime we can find a timely answer on the forum
Sorry but my knowledge lacks a bit on this matter
I'm planning to introduce my wife on linux world , but she likes winXP, Then I found the answer in virtualbox
Now she complain that I set the screen resolution too high for her. In fact X starts with the given resolution by xorg.conf found into /etc/X11 made by nvidia-settings.
How to modify resolution as an user logs in?
Is there a way to load either different xorg.conf or to tell HAL to talk to X to change configuration like nvidia-settings can do on-the-fly?
I'd like to show to my wife an invisible linux
F
Last edited by TheSaint (2009-10-08 17:26:58)
do it good first, it will be faster than do it twice the saint
Offline
one of the answer is Xdefaults
Offline
Well, I don't know how to do it through ~/.Xdefaults, but I would assume that editing ~/.bash_profile or ~/.bashrc or even ~/.xinitrc would due by adding in `xrandr -s <preferred resolution here>'. That way each time a user logs in, it would execute that and change the resolution to whatever user. Sounds slightly hackish though so I am gonna look at how to do it through /etc/X11/xorg.conf and ~/.Xdefaults, however, I doubt it can be done through /etc/X11/xorg.conf also. If I find anything, I shall return to you.
Offline
For nvidia you can always use disper ( http://willem.engen.nl/projects/disper/ )
It allows you to switch resolution/screen/etc on the fly via commandline
Just add an appropriate call to disper to her .xinitrc
ie make it look like that
disper -d CRT-0 -r 1280x1024 -s
startkde
Regards,
raf
Offline
For nvidia you can always use disper
AND that I did
I can't use $HOME/.xinitrc, because I use KDE and my inittab launch kdm as login manager. This don't invoke $HOME/.xinitrc, unless I'll choose a custom WM,
However to make sure to get the expected result I put a recall in to kde/autostart.
F
do it good first, it will be faster than do it twice the saint
Offline