LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 04: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, 05:40 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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, 05:45 PM   #3
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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, 09: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, 02:52 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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, 05: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, 11:00 AM   #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, 12:32 PM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I don't know which one you're using, but there's definitely more than two buttons.
 
Old 11-21-2007, 04: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 04:49 PM.
 
Old 11-21-2007, 04: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, 01: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:21 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration