LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-08-2007, 05:42 PM   #1
Captain_Thunder
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Change default X resolution


For some reason, no matter which window manager I use, the monitor resolution seems to stay at 1024x768, which isn't optimal for my monitor. I've removed all mention of this resolution from /etc/X11/xorg.conf and replaced it with 1280x1024, but the old resolution remains. The new resolution isn't even listed in the "Desktop Settings" menu of KDE.

Does anyone know how I can change my default resolution?
 
Old 11-08-2007, 06:40 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Can you copy and paste your xorg.conf file, just so we are all sure there is nothing wrong with it? Also, telling us what monitor you have and your graphics card would help a lot.
 
Old 11-08-2007, 06:45 PM   #3
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,486

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I suggest that you check the horizontal and vertical refresh frequency settings. The higher resolution probably requires a lower refresh rate.
 
Old 11-09-2007, 10:27 AM   #4
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by Captain_Thunder View Post
For some reason, no matter which window manager I use, the monitor resolution seems to stay at 1024x768, which isn't optimal for my monitor. I've removed all mention of this resolution from /etc/X11/xorg.conf and replaced it with 1280x1024, but the old resolution remains. The new resolution isn't even listed in the "Desktop Settings" menu of KDE.

Does anyone know how I can change my default resolution?
If you're still using the default xorg.conf shipped with Slackware, it's going to be using the VESA driver, which "tops out" at 1024x768.

Make a backup of it, and then try running `xorgcfg` (as root) which will either generate you an acceptably useful config, or it'll clearly fail.

With modern hardware, just about everything X needs to know can be auto-detected, which makes xorgcfg much more reliable than it was in former invocations.

(Note that I do mean `xorgcfg` and not `X -setup` or `xorgconfig` or `xorgsetup` as these are all separate utilities containing varying levels of insanity.)
 
Old 11-20-2007, 03:52 PM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by evilDagmar View Post
With modern hardware, just about everything X needs to know can be auto-detected, which makes xorgcfg much more reliable than it was in former invocations.

(Note that I do mean `xorgcfg` and not `X -setup` or `xorgconfig` or `xorgsetup` as these are all separate utilities containing varying levels of insanity.)
I've found 'xorgcfg' to generate config files that are good, but are pretty much exactly the same as those generated by 'xorgsetup'. However, 'xorgcfg' is somewhat harder to use, and IMO less foolproof.

Also, I wouldn't say that any of these utilities generate insanity, all they do is spit out the same level of sanity as is put into them. Put insanity in and you get insanity out, you know.

Although I much prefer 'xorgsetup', I recommend that people try them all out and see for themselves which one they like. I know some people like 'xorgconfig', which I find of not much use in generating anything usable, but then that's probably because I don't have all the things that it's asking for. Who knows, maybe if you actually have the info, it will generate something very usable.
 
Old 11-20-2007, 06:51 PM   #6
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
The best generator except my own hands which I have yet found is nvidia-xconfig (only for nvidia users).
 
Old 11-21-2007, 12:00 PM   #7
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Quote:
Originally Posted by H_TeXMeX_H View Post
I've found 'xorgcfg' to generate config files that are good, but are pretty much exactly the same as those generated by 'xorgsetup'. However, 'xorgcfg' is somewhat harder to use, and IMO less foolproof.
"Harder to use"? Are you sure you're thinking of the right tool? You run it and you get exactly two buttons to click on... one that saves things and one that exits without writing a new file. How is that hard to use?
 
Old 11-21-2007, 01:32 PM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
I don't know which one you're using, but there's definitely more than two buttons.
 
Old 11-21-2007, 05:10 PM   #9
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Okay, I just went back and looked at it again. You're right, it does have a number of buttons, but... All those other buttons are if something goes horribly wrong, which tends to not happen. I was going to make a screenshot so I could mark it up with "ignore these buttons" and "just click here" but it turns out it's not so easy to get X to let you make a screenshot with the way that starts up.

Basically, the graphical window will show a video card, a monitor, a PC, a keyboard, and a mouse with lines between them in obvious places demonstrating the layout. At the bottom right of this is a Quit button. If the display looks reasonable, you don't really need to do anything else, so you click the Quit button and it will then ask if you'd like to write the config to /etc/X11/xorg.conf. Otherwise the new config will be in /root/xorg.conf.net (which gets written to stdout so you can see it).

I get the feeling a lot of people are overthinking things when it comes to this tool.

Last edited by evilDagmar; 11-21-2007 at 05:49 PM.
 
Old 11-21-2007, 05:43 PM   #10
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Subsequent to this, macavity just turned me onto something that might well apply in this case. I didn't need it for my laptop, but the symptom reported sounds a bit familiar to this scenario if you've actually switched to the intel or i810 driver from the vesa driver.

http://www.linuxquestions.org/linux/...Graphics_Cards
 
Old 11-22-2007, 02:02 AM   #11
brabbit
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
Xorg Config

I Have found I like using xorgcfg in textmode, There Might be some downfall
I am not aware of but it has served my purposes well for now


type

$xorgcfg -textmode

I would'nt do this in X though
 
  


Reply


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
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 02:33 AM
X: using larger resolution for games than default desktop resolution Jamo Linux - Games 2 04-10-2005 04:16 AM
Text Resolution, Graphic resolution. Change from prompt dlublink Suse/Novell 2 01-28-2005 12:50 PM
how do i change the default resolution for winex? LavaDevil94 Linux - Games 5 12-07-2003 10:56 AM
Default Resolution marlaina1 Linux - General 1 06-01-2002 02:06 PM


All times are GMT -5. The time now is 05:06 AM.

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