You are not logged in.

#1 2009-04-05 14:29:26

iggyst00ge
Member
Registered: 2008-01-24
Posts: 50

force xrandr settings for ALL users?

I couldn't get a correct resolution for my monitor using xorg.conf, but xrandr works great.

My question is:

How can I make these xrandr settings apply to all users on the computer (aside from editing xorg.conf)?

The only command I need to add is:
xrandr --output VGA-0 --mode 1280x1024

Thanks,

Chris

Offline

#2 2009-04-05 15:44:16

ao
Member
From: 青
Registered: 2008-02-02
Posts: 16

Re: force xrandr settings for ALL users?

I ended up putting the xrandr command in the /etc/gdm/PostLogin/Default script (copy of Default.sample) which is handily executed after anyone logs in.

I'm sure there should be a more elegant solution, though.

Offline

#3 2009-04-09 19:34:18

iggyst00ge
Member
Registered: 2008-01-24
Posts: 50

Re: force xrandr settings for ALL users?

Smart.

I've come to really appreciate xrandr.  My GDM screen still looks screwed up, but that's acceptable. 

Chris

Offline

Board footer

Powered by FluxBB