You are not logged in.

#1 2009-10-08 09:58:31

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

[Solved]Howto per user xorg.conf

Hi,
maybe I should read more about X configurations, but sometime we can find a timely answer on the forum wink
Sorry but my knowledge lacks a bit on this matter roll

I'm planning to introduce my wife on linux world smile, but she likes winXP, Then I found the answer in virtualbox tongue
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 smile

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 wink

Offline

#2 2009-10-08 10:07:51

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: [Solved]Howto per user xorg.conf

one of the answer is Xdefaults

Offline

#3 2009-10-08 10:43:44

Aprz
Member
From: Newark
Registered: 2008-05-28
Posts: 277

Re: [Solved]Howto per user xorg.conf

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

#4 2009-10-08 11:26:54

raf_kig
Member
Registered: 2008-11-28
Posts: 143

Re: [Solved]Howto per user xorg.conf

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

#5 2009-10-08 17:36:12

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,523

Re: [Solved]Howto per user xorg.conf

raf_kig wrote:

For nvidia you can always use disper

AND that I did big_smile

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 wink

Offline

Board footer

Powered by FluxBB