Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-10-2006, 06:19 AM
|
#1
|
Member
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205
Rep:
|
how do I set the default resolution? (resolved)
The default resolution on startup (when kdm loads) is 1152 x 900. I can't actually see the whole screen. I need to move the mouse around to view a different section. It's hard for me to explain. Anyways, only once I've logged into my window manager I can enter the command “xrandr -s 0” which then changes the resolution to 1024 x 768. I hate having to enter that xrandr command every singly time I log in. What command do I enter to permanently set the resolution to 1024 x 768?
edit: grammar
Last edited by Drone4four; 11-24-2006 at 07:49 PM.
|
|
|
08-10-2006, 06:29 AM
|
#2
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Edit your /etc/X11/xorg.conf so the 'largest' resolution is 1024x768. (The first one on the list would be your default)
|
|
|
08-10-2006, 06:32 AM
|
#3
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep:
|
Quote:
Originally Posted by Drone4four
The default resolution on startup (when kdm loads) is 1152 x 900. I can't actually see the whole screen. I need to move the mouse around to view a different section. It's hard for me to explain. Anyways, only once I've logged into my window manager can I enter the command “xrandr -s 0” which then changes the resolution to 1024 x 768. I hate having to enter that xrandr command every singly time I log in. What command do I enter to permanently set the resolution to 1024 x 768?
|
It's the virtual desktop feature where the desktop size > screen size. You need to disable it. Run xorgconfig and manually reconfigure with the resolution of your choice and disable virtual desktop. Or alternatively, just edit your /etc/X11/xorg.conf
|
|
|
08-10-2006, 06:48 AM
|
#4
|
Member
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205
Original Poster
Rep:
|
I removed all references to 1152x768 in my xorg.conf. For some reason, 1152x900 is still an xrandr option.
Code:
invert@314:~$ xrandr
SZ: Pixels Physical Refresh
*0 1024 x 768 ( 390mm x 305mm ) *85
1 800 x 600 ( 390mm x 305mm ) 85
2 640 x 480 ( 390mm x 305mm ) 85
3 1152 x 900 ( 390mm x 305mm ) 85
Current rotation - normal
Current reflection - none
Rotations possible - normal
Reflections possible - none
invert@314:~$
Here is the screen section of my xorg.conf:
Code:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "i845G"
Monitor "SyncMaster 700NF"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1024x768" "1280x1024" "800x600" "640x480"
ViewPort 0 0
Virtual 1600 1280
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "1280x1024" "800x600" "640x480"
ViewPort 0 0
Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "1280x1024" "800x600" "640x480"
ViewPort 0 0
Virtual 1024 768
EndSubsection
EndSection
|
|
|
08-10-2006, 06:49 AM
|
#5
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Did you restart X after changing the file?
|
|
|
08-10-2006, 06:53 AM
|
#6
|
Member
Registered: Feb 2006
Distribution: Slackware, Gentoo, Manjaro
Posts: 205
Original Poster
Rep:
|
Quote:
Originally Posted by Nylex
Did you restart X after changing the file?
|
Restarting x did the trick. The problem is solved. Thanks cwwilson721, Harishankar, Nylex.
|
|
|
All times are GMT -5. The time now is 01:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|