Paolo Alexis Falcone wrote:

On Thu, Jan 16, 2003 at 09:15:22PM +0800, Federico Sevilla III wrote:

On Thu, Jan 16, 2003 at 09:11:25PM +0800, Paolo Alexis Falcone wrote:

The problem - I'm running some desktops remotely via a display manager
(gdm). Other users would want to default to 800x600 (e.g. my mom and
dad), while others would want to default to 1024x768 (e.g. me). Is it
possible to configure X in such a way that users would get the default
resolution they want (without explicitly switching the resolution);
that is, the resolution is local only for a particular user (as
XF86Config is for global settings)?

How about just switching resolutions on-the-fly using the Ctrl-Alt-NP+ and
Ctrl-Alt-NP- combinations?

That was the thing I was trying to avoid :-).



try this pare,

1. create 2 XF86Config file
2. name the first XF86Config (w/ 800x600 res) file as XF86Config-800x600
3. name the second XF86Config (w/ 1024x768 res) file as XF86Config-1024x768


here's the trick:

4. *assuming your are logging-in from (bash) shell and then starting X

     edit your respective .bashrc file. then add a line that will
     point the sym link XF86Config to your preferred XF86Config file
     (XF86Config-800x600 or XF86Config-1024x768)



   ie.

   /home/mom/.bashrc

                               ....
                               cd /etc/X11
                               ln -s -f XF86Config-800x600 XF86Config



   /home/paolo/.bashrc

                               ....
                               cd /etc/X11
                               ln -s -f XF86Config-1024x768 XF86Config



i've tested it a while ago and it worked . just be aware of the directory
permissions for /etc/X11. much better if you point your XF86Config
file to a safer place.

afaik, you can do this during graphical login. maybe someone from this
list will be kind enough to post his/her code.


enjoy!!




_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]

Reply via email to