Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-15-2001, 05:10 PM   #1
Registered: Aug 2001
Location: dry land
Distribution: debian and slackware
Posts: 30

Rep: Reputation: 15
Question changing resolutions in X

i have a linux box running debian 2.2 with X 4.0.* and i cannot change the resolution, i have tried many sources of information and there is very little information about. i am running blackbox as a window manager and i want to set the default resolution to something different. i have tried using XF86Setup but when im finished it doesnt seem to write to the XF86Config file.

any links, advice or examples would be great



Last edited by rlpt; 08-15-2001 at 05:12 PM.
Old 08-16-2001, 01:34 AM   #2
Senior Member
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
what resolution do you have it at, and what do you want to run it at?
Old 08-16-2001, 02:09 PM   #3
Registered: Aug 2001
Location: dry land
Distribution: debian and slackware
Posts: 30

Original Poster
Rep: Reputation: 15
its currently running at 640x480 or 800x600 (im not sure) and i want to have it run a 1024x768.

Old 08-16-2001, 02:18 PM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
you can try using the xf86config to configure X.
and you will also maybe want to take out the options or change the priorities of resolutions you want when setting this up in xfree86. you should see when your going thru the setup.

Last edited by trickykid; 08-16-2001 at 02:27 PM.
Old 08-16-2001, 11:29 PM   #5
Registered: Jun 2001
Distribution: Gentoo 1.4
Posts: 140

Rep: Reputation: 15
I am pretty new to linux, and I was having the same troubles you are. Luckily I was able to find out how it works using various resources on the web. Now I share my knowledge with you .

First of all, to change resolutions when you are already in X windows, hit [CTRL]+[Shift]+[+]. This will change to preconfigured resolution settings.

If you want to change the modes that you can run, and XF86Setup and xf86config will not do it how you want them to, you will have to edit the /etc/X11/XF86config file. Don't worry, it's not very difficult if you know how to use one of the editors (I had a problem with this at first). Open the file and go to the section where it has your video card settings. You will see a section for each color depth. There will be a line that lists a number of resolutions, like this:

"640x480" "800x600" etc.....

There will be a line a little higher that says what your default color depth is, so it is the resolutions for this color depth that you are interested in editing. Basically, use the same syntax as what is already there, but put the resolution that you want to be the default first. Hope this works out for you.

p.s. I use slackware, and the file I need to edit is XF86config. I used to have mandrake, and the file there was XF86config-4 . I'm not sure what file you need to edit in Debian, but it will probably be one of those two. Later.

Last edited by JHuizingh; 08-16-2001 at 11:31 PM.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing screen resolutions tlarkin SUSE / openSUSE 17 11-10-2005 04:15 PM
Changing resolutions fast bigredgiant1 Linux - Laptop and Netbook 4 11-12-2003 01:24 PM
changing screen resolutions dtheorem Linux - Software 1 10-07-2003 12:46 PM
screen flicker after changing resolutions nakedjohn Linux - Newbie 4 07-24-2003 12:46 AM
Changing X resolutions mad_ady Linux - Software 3 06-03-2003 08:07 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:54 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