Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-03-2003, 02:08 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
two resolutions

I was a question about GDM. I like 1280x1024 resolution,
but my wife likes 800x600. Can I set up GDM so that
when I log in I get the one I like, but when she logs
in she gets the one she likes? So far I've
only been able set up a single resolution.

Old 08-03-2003, 04:46 PM   #2
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Hi Mike :-)

My girlfriend also likes another resolution to myself, and I found it a little tricky to change the resolution and here's why:- once you have started the X server, thats the resolution you have got. If you go down to a lower resolution, the screen size will change, but not your desktop. So if you can see the top of your screen, you can't see the bottom, and you would have to move your mouse down and then the screen moves with it. It works when playing a game at a different resolution, but not particularly well with a desktop :-/ You can see what I mean by using CTRL+ALT+- & + to go up and down in resolution. As GDM needs to have the X server running, you can't change the resolution. The solution I came up with was this, and its a bit rough and ready, but it works!

Edit your XF86Config file. Its in /etc/X11. You'll have to do this as root.

Here's mine:-

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0

I like 1280x1024, but my girlfriend likes 1024x768 so I set the Depth 16 settings to start with 1024x768. If she wants to use the computer, she logs in on the terminal, then types:-


This is aliased in a file called .bash_profile in /home/jules:-

alias desktop="startx -- -depth 16"

and low and behold, everyone is happy :-) Sure we have to logout to change user, but as you can save your sessions exactly in Gnome and I have ppp on demand, its a fairly smooth transition. I am sure there is a better way to do this, but I think it may be a solution for the moment. Yes your wife will be running in a slightly different colour depth, but if you don't tell her she'll never notice ;-)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mepis: resolutions and 3D jaakkop Linux - Distributions 6 02-10-2005 08:59 PM
Resolutions linuxmdknew Mandriva 1 11-05-2004 07:49 PM
GUI resolutions... bobbens Linux - Software 1 09-23-2004 05:57 PM
Screen Resolutions satanic_linux Slackware 7 05-20-2004 09:01 AM
Resolutions Steppenwolf Linux - Newbie 4 04-25-2003 02:35 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration