Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Startx as a user with different config files
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lakicsv
n00b
n00b


Joined: 19 Apr 2002
Posts: 51
Location: UK, Surrey

PostPosted: Fri Dec 13, 2002 6:38 am    Post subject: Startx as a user with different config files Reply with quote

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
View user's profile Send private message
KiTaSuMbA
Guru
Guru


Joined: 28 Jun 2002
Posts: 430
Location: Naples Italy

PostPosted: Fri Dec 13, 2002 8:45 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum