LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-01-2009, 08:05 AM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Rep: Reputation: 33
Changing resolution Help


Halo dudes..

I open my pc today and i realized that the resolution of my screen was changed . The icons and the toolbars are too big and i don't know why..

I run as root the xorgsetup script and follow the questions , reboot my pc and nothing changed..

Have you any idea on what happening ? Can i change again the resolution of my screen ?

Thanks in advance..
 
Old 11-01-2009, 08:15 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
add something similar to this to the monitor section of xorg.conf


#UseModes "Modes0" #monitor0usemodes
Option "PreferredMode" "1024x768"
 
Old 11-01-2009, 08:18 AM   #3
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Need more information when asking about things like this. Slack 12.2, right? Are you using KDE or another window manager? Which graphics card? Have you tried taking a look in xorg.conf yourself without the config utility?

But if it happened after you were messing around inside the case, maybe something is busted?
 
Old 11-01-2009, 08:30 AM   #4
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
slackware 12.2
and i have an onboard card . My motherboard is asus a8vmx .

And yes.. i see it a little the xorg.conf file...

:s
 
Old 11-01-2009, 08:49 AM   #5
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Here is the /home/me/xorg.conf file :

http://pastebin.com/f1df25c36

I add here ^
Subsection "Display"
Depth 24
Modes "640x480" "1024x768"
ViewPort 0 0
EndSubsection
the 1024x768 but nothing change...:s
and here is the /etc/X11/xorg.conf

Quote:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi/:unscaled"
EndSection

Section "Module"
Load "dbe"
Load "GLcore"
Load "record"
Load "dri"
Load "glx"
Load "extmod"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,gr(extended)"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "PrintVGARegs" # [<bool>]
#Option "PrintTVRegs" # [<bool>]
#Option "I2CScan" # [<bool>]
#Option "VBEModes" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "ExaNoComposite" # [<bool>]
#Option "ExaScratchSize" # <i>
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoRAM" # <i>
#Option "ActiveDevice" # [<str>]
#Option "BusWidth" # [<str>]
#Option "Center" # [<bool>]
#Option "PanelSize" # [<str>]
#Option "ForcePanel" # [<bool>]
#Option "TVDotCrawl" # [<bool>]
#Option "TVDeflicker" # <i>
#Option "TVType" # [<str>]
#Option "TVOutput" # [<str>]
#Option "DisableVQ" # [<bool>]
#Option "DisableIRQ" # [<bool>]
#Option "EnableAGPDMA" # [<bool>]
#Option "NoAGPFor2D" # [<bool>]
#Option "NoXVDMA" # [<bool>]
#Option "VbeSaveRestore" # [<bool>]
#Option "DisableXvBWCheck" # [<bool>]
#Option "MaxDRIMem" # <i>
#Option "AGPMem" # <i>
Identifier "Card0"
Driver "openchrome"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
 
Old 11-01-2009, 08:51 AM   #6
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
When looking through xorg.conf look for the #Screens Section . Check what the Default Depth is set to (24 or something) and below that there should be something like:

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection

Of course make sure the desired resolution is the first size that appears after "Modes".

And are you using KDE? If so go to system settings, computer admin, display and check the size setting there. I'm using KDE4 though so yours might be in a diff. place, just poke around.

EDIT: There it is there. When you set the sizes for "Modes", the size you want should appear FIRST, because X11 will default to that.

Last edited by voyciz; 11-01-2009 at 08:53 AM.
 
Old 11-01-2009, 09:13 AM   #7
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Hmm look at this :

here is the screen section of my /home/me/xorg.conf file :

Quote:
# **********************************************************************
# 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 "My Video Card"
Monitor "My Monitor"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "640x400"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "640x480"
ViewPort 0 0
EndSubsection
EndSection
I have this and doesn't works..

In menu --> Settings -->Peripherals --> display , it has only 800x600 and 640x480

Yes i use kde
 
Old 11-01-2009, 09:25 AM   #8
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Try forgetting about the $HOME/xorg.conf and check /etc/X11/xorg.conf instead
 
Old 11-01-2009, 09:38 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,345

Rep: Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588Reputation: 1588
this what my xorg looks like for the section I modified and it works:
Section "Monitor"
#DisplaySize 350 260 # mm
Identifier "Monitor0"
VendorName "GWY"
ModelName "VX920"
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 140.0
#UseModes "Modes0" #monitor0usemodes
Option "PreferredMode" "1024x768"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

without it Xorg wants to set my resolution to 1400xwhatever
 
Old 11-01-2009, 10:23 AM   #10
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
colorpurple21859 wich file are you talking about ? /home/you/xorg.conf or the one in /etc/X11/xorg.conf ?
 
Old 11-01-2009, 10:40 AM   #11
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Ok guyz!! Thanks a lot .. I make what colorpurple21859 said with /etc/X11/xorg.conf file and all works fine...

Thanks again..
 
  


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
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
changing resolution the_imax Linux - General 2 07-17-2004 01:09 AM
changing resolution ... mayank Linux - Software 1 08-26-2003 02:59 AM
Changing Resolution oostevo Linux - General 1 07-04-2002 05:02 PM
Changing resolution... jmeile Linux - Newbie 2 07-03-2002 10:22 AM

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

All times are GMT -5. The time now is 12:04 PM.

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