You are not logged in.

#1 2009-03-17 00:56:15

Napaim
Member
From: Scotland
Registered: 2009-03-09
Posts: 26

Xrandr on start?

Hello!

I managed to get my dual monitors working with the open source ati drivers using randr,
I have the command saved to a text file:

xrandr --output DVI-I_2/digital --auto --output DVI-I_1/digital --auto --right-of DVI-I_2/digital

At the moment I'm just running `bash < file` after logging into my xwm,
I'm wondering where would be the best place to put this to have it automatically set up dual monitors on login? Say if I was using slim would it be best putting it in slim.conf or some other login manager?
Thanks!

Offline

#2 2009-03-17 01:00:03

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Xrandr on start?

Put that in the config file of the Window Manager or Desktop environment that you are using. For eg. I use openbox and I would put that command in autostart.sh


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-03-17 01:04:28

Napaim
Member
From: Scotland
Registered: 2009-03-09
Posts: 26

Re: Xrandr on start?

Ah ok, so that would be ~/.xfce4 on xfce?
Thank you!

Offline

#4 2009-03-17 01:05:20

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Xrandr on start?

.xinitrc

Offline

Board footer

Powered by FluxBB