You are not logged in.
Hey guys,
Im just wondering, is it possible to have separate xorg configs for each different user?
e.g. For one user i might have dual screens setup, but for another user maybe i just want them to use a single screen.
Is this possible?
Anyone able to point me in the right direction?
Cheers
Kane
Offline
i guess u can since the file which sets all these lies in $HOME/.xinitrc
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
You need to specifie different server layouts in xorg.conf
For my laptop, I have the following:
# layout pour laptop seulement
# Start it with
# startx -- -layout Laptop
Section "ServerLayout"
Identifier "Laptop"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad"
InputDevice "USB Mouse" "CorePointer"
EndSection
# layout pour ecran LCD 1280x1024
# Start it with
# startx -- -layout LCD
Section "ServerLayout"
Identifier "LCD"
Screen 1 "Screen1"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad"
InputDevice "USB Mouse" "CorePointer"
EndSection
# Xinerama server layout
# Start it with
# startx -- -layout Xinerama
Section "ServerLayout"
Identifier "Xinerama"
Screen 0 "Screen0"
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics Touchpad"
InputDevice "USB Mouse" "CorePointer"
Option "Xinerama" "true"
EndSection
You specify the layout you want when running startx, e.g. I use
startx -- -layout Xinerama
when I want to use xinerama dual display.
Offline
You specify the layout you want when running startx, e.g. I use
startx -- -layout Xinerama
when I want to use xinerama dual display.
This can be combined with the .xserverrc file to do what Kane was looking for. Here's an example:
#~/.xserverrc
exec /usr/bin/Xorg :0 -nolisten tcp -layout Xinerama
Last edited by skymt (2007-07-28 20:52:02)
Offline