LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2004, 04:28 PM   #1
Kylesun
Member
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 38

Rep: Reputation: 15
Whats my resolution, and how do I change it?


I just installed my nvidia gfx card drivers, and I guess my resoluction is set way to high for my monitor, and when I push my mouse into the sides of my desktop it gets wider, showing me some more of my desktop.. haha, so I need to know where I go to see what my resolution is at, and how to change it.

I use Mandrake 10.0 Official.


Thanks
-Kyle
 
Old 07-02-2004, 04:43 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
less /var/log/XFree86.0.log

or

xdpyinfo


The phenomenon you encounter is that you
have more than one resolution defined as valid,
in this case X will use the first entry as the actual
resolution, and the largest for the desktop.

To fix it find the modes in the screen-section and
remove all but the res that you want ...


Cheers,
Tink
 
Old 07-02-2004, 04:59 PM   #3
Kylesun
Member
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 38

Original Poster
Rep: Reputation: 15
uhh yea.. hmm, if you could tell me in a way I could understand, that would be great



Thanks
-Kyle
 
Old 07-02-2004, 05:06 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Open your /etc/X11/XF86Config using your favourite
editor as root...
Locate (or similar):

Code:
    Subsection "Display"
        Depth       8
        Modes "640x480" "1024x768" "800x600" 
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "640x480" "1024x768" "800x600" 
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "640x480" "1024x768" "800x600" 
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "640x480" "1024x768" "800x600" 
    EndSubsection
Then either do:
Code:
    Subsection "Display"
        Depth       8
        Modes "1024x768"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" 
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" 
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" 
    EndSubsection
or
Code:
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480" 
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480" 
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480" 
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480" 
    EndSubsection


Cheers,
Tink
 
Old 07-03-2004, 09:33 PM   #5
Kylesun
Member
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 38

Original Poster
Rep: Reputation: 15
The only thing I'm finding that looks like that is in XF86Config-4 and it's

Code:
Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Virtual 1400 1050
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Virtual 1400 1050
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Virtual 1400 1050
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Virtual 1400 1050
    EndSubsection
EndSection
 
Old 07-04-2004, 02:26 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Almost same thing :)

Remove the virtual, and put a mode with the
resolution you actually want.



Cheers,
Tink
 
Old 07-04-2004, 04:41 AM   #7
Kylesun
Member
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 38

Original Poster
Rep: Reputation: 15
Hmm, nope, forgot to make a backup of the file before I edited it, and it messed somthing up after I restarted and it woulden't stop booting me into the text interface only, I checked and it was on boot mode 5, and I even edited the file back in the text interface to how it was befor I edited it just kept messin up on me. So I had to reinstall, grrr, after all that shit I did, o well.. but if that happens again I'm switching back to windows, thats the third time I've had to reinstall Linux after gettin everything just how I want.
 
Old 07-04-2004, 02:06 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
NO offense meant, but I don't think that you not
making a backup of a file makes for a valid qualifier
to use windows instead.

That said, even if you mess up X it's plain enough
to recreate a config file interactively without a re-
install. First thing would always be
XFree86 -configure
which will try to detect your devices and create
a test-file in roots home (which, if it's not quite
what you wanted, you could edit and put into
/etc/X11/ when done.
xf86cfg
which is a pointy-clicky thing that works most
of the time (not all of the time) and last not least
the near failsafe (if you know your hardware, that
is)
xf86config
which will interactively ask you about your machine
and then create a config-file for you.


Cheers,
Tink
 
Old 07-04-2004, 07:09 PM   #9
Kylesun
Member
 
Registered: Jun 2004
Distribution: Mandrake Linux 10.0
Posts: 38

Original Poster
Rep: Reputation: 15
Quote:
NO offense meant, but I don't think that you not
making a backup of a file makes for a valid qualifier
to use windows instead.
... ?


And the only reason you guys are always talking about how crappy windows is is probably because you can't afford it, you guys talk about all these errors (which I have never gotten.. in fact, you gotta be pretty stupid to get errors on windows), getting viruses (get a damn firewall you morons), and mass updates (why is installing some updates a couple times a month so bad?)

And yea.. I am a windows user, thanks.

Last edited by Kylesun; 07-04-2004 at 07:13 PM.
 
Old 07-04-2004, 08:14 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by Kylesun
And the only reason you guys are always talking about how crappy windows is is probably because you can't afford it, you guys talk about all these errors (which I have never gotten.. in fact, you gotta be pretty stupid to get errors on windows),
I'm not quite sure who or what you're talking about.
I didn't have a choice, XP was shipped with my notebook
(and some other machines of mine). And it still is crap,
glad it works for you. As for the required intelligence
(or lack thereof) that's not for you to judge.

Quote:
getting viruses (get a damn firewall you morons),
You're forgetting the other two thirds of the possibilities...

Quote:
and mass updates (why is installing some updates a couple times a month so bad?)
That's your opinion. From an administrators point of view
it's a pain in the neck, and from a design point of view it
just plain simple sucks :) It' not like buffer-overflow
exploits have only been around for a couple of weeks.

Quote:
And yea.. I am a windows user, thanks.
Ego te absolvo in nomine patriis, ..
There's just nothing as relieving as a confession.


Cheers,
Tink
 
  


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
Text Resolution, Graphic resolution. Change from prompt dlublink SUSE / openSUSE 2 01-28-2005 11:50 AM
Can't change my resolution! Nolem SUSE / openSUSE 4 12-23-2004 07:45 AM
Whats the command to change Desktop Environments? Jengo Linux - Newbie 6 08-25-2004 04:12 PM
Whats change in Debian, Mandrake and Otheres?? cppkid Linux - General 3 08-13-2004 02:44 AM
how to change resolution redss Linux - General 7 12-27-2003 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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