View previous topic :: View next topic |
Author |
Message |
lakicsv n00b
Joined: 19 Apr 2002 Posts: 51 Location: UK, Surrey
|
Posted: Fri Dec 13, 2002 6:38 am Post subject: Startx as a user with different config files |
|
|
I bumped into the old X problem about the switching of resolutions without changing the desktop size (infamous scrolling problem). I learned that I can only switch between two different resolution with the same visible desktop size if I have two different xf86conf file.
Ok, accepted. But how can I start X (from the console or kdm, I would like to know both) with different XF86Configs (as a user, so do not try tricks like cp XF86Conf-1 XF86Conf in a scrip etc.)
Thanks Viktor |
|
Back to top |
|
|
KiTaSuMbA Guru
Joined: 28 Jun 2002 Posts: 430 Location: Naples Italy
|
Posted: Fri Dec 13, 2002 8:45 am Post subject: |
|
|
Inside XF86Config you can provide different server layouts. Thus, by creating two different screen sections and calling them on two different layouts you can control what screen is loaded with start x.
then you can start the X server by typing:
Code: | startx -- -layout <the layout you want> |
Or automate this process with a simple script to choose from available layouts (it could even read the conf dynamically) and wms.
Hope this helps _________________ Need to flame people LIVE on IRC? Join #gentoo-otw on freenode! |
|
Back to top |
|
|
|