Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Windows->Gentoo KDE newb, howto change desktop resolution

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
19 posts • Page 1 of 1
Author
Message
StringCheesian
l33t
l33t
Posts: 887
Joined: Tue Oct 21, 2003 6:21 am

Windows->Gentoo KDE newb, howto change desktop resolution

  • Quote

Post by StringCheesian » Fri Nov 07, 2003 12:54 am

In XP, all I have to do is right click the desktop, go to properties, etc...

There's Peripherals->Display in KDE Control Center, but that looks like it would overwrite my /etc/XF86Config, which I have set up to use nvidia's drivers.

I just want a GUI frontend or whatever to change my res/bit depth... is there one?
Top
Mystic
n00b
n00b
User avatar
Posts: 21
Joined: Thu Oct 30, 2003 10:08 pm
Location: Benson, MN USA

  • Quote

Post by Mystic » Fri Nov 07, 2003 1:12 am

I haven't got Gentoo up and running yet, but in all the other distro using

Code: Select all

Ctrl+ +
Would do the job, replace the + with - to lower the reso, I always had to make screen adjustment and the like after it.


Mystic
Top
QPegasus
n00b
n00b
User avatar
Posts: 42
Joined: Sat Sep 27, 2003 10:58 pm

  • Quote

Post by QPegasus » Fri Nov 07, 2003 2:39 am

You could just (while outside X) run xf86config again, this time selecting a different resolution. When its done, just edit XF86Config to include the nvidia drivers.
Top
shm
Advocate
Advocate
User avatar
Posts: 2380
Joined: Mon Dec 09, 2002 10:35 pm
Location: Atlanta, Universe

  • Quote

Post by shm » Fri Nov 07, 2003 3:00 am

KDE 3.2 beta1 also lets you change the resolution on the fly like Windows (finally.. through the control panel or through the systray applet "krandrtray")
what up
Top
StringCheesian
l33t
l33t
Posts: 887
Joined: Tue Oct 21, 2003 6:21 am

  • Quote

Post by StringCheesian » Fri Nov 07, 2003 3:54 am

Thanks everyone. I think I'll take a look at KDE 3.2
Top
Kesereti
Guru
Guru
User avatar
Posts: 520
Joined: Thu Nov 07, 2002 7:09 am

  • Quote

Post by Kesereti » Fri Nov 07, 2003 4:07 am

Just thought I might add...Gnome 2.4 also has this feature ^_^
Top
shm
Advocate
Advocate
User avatar
Posts: 2380
Joined: Mon Dec 09, 2002 10:35 pm
Location: Atlanta, Universe

  • Quote

Post by shm » Fri Nov 07, 2003 6:21 am

Kesereti wrote:Just thought I might add...Gnome 2.4 also has this feature ^_^
I know it's in gnome's control panel, but I didn't see a notification tray applet anywhere (useful, like in windows)
what up
Top
Kesereti
Guru
Guru
User avatar
Posts: 520
Joined: Thu Nov 07, 2002 7:09 am

  • Quote

Post by Kesereti » Fri Nov 07, 2003 6:27 am

shm wrote:
Kesereti wrote:Just thought I might add...Gnome 2.4 also has this feature ^_^
I know it's in gnome's control panel, but I didn't see a notification tray applet anywhere (useful, like in windows)
Eh, I like it right where it is...(Desktop Preferences -> Screen Resolution)...I guess I just don't like my systray cluttered with stuff--oh, wait, I don't even have a systray set up =) Hehe...
Top
HackerBunny
Tux's lil' helper
Tux's lil' helper
Posts: 92
Joined: Sat Nov 01, 2003 3:55 am
Location: West Covina, Ca
Contact:
Contact HackerBunny
Website

  • Quote

Post by HackerBunny » Fri Nov 07, 2003 6:49 am

I used a sys-tray for gaim, but if it starts to get cluttered, I turn it off and put gaim on a different desktop.

The buddy list part :-P
~I'm not using linux to be cool, I'm using it to show the people wanting to use linux that I'm cool and know their OS better then them.~
Top
Ari Rahikkala
Guru
Guru
Posts: 370
Joined: Wed Oct 02, 2002 7:29 pm
Location: Finland

  • Quote

Post by Ari Rahikkala » Fri Nov 07, 2003 6:56 am

I just use the xrandr command.

Code: Select all

xrandr
lists the graphics modes you can use,

Code: Select all

xrandr -s <number>
switches to a selected mode.

For example:

Code: Select all

$ xrandr
 SZ:    Pixels          Physical       Refresh
*0   1600 x 1200   ( 542mm x 406mm )  *75   70   65   60  
 1   1400 x 1050   ( 542mm x 406mm )   75   60  
 2   1280 x 1024   ( 542mm x 406mm )   85   75   60  
 3   1280 x 960    ( 542mm x 406mm )   85   60  
 4   1152 x 864    ( 542mm x 406mm )   75  
 5   1152 x 768    ( 542mm x 406mm )   55  
 6   1024 x 768    ( 542mm x 406mm )   85   75   70   60   87  
 7    832 x 624    ( 542mm x 406mm )   75  
 8    800 x 600    ( 542mm x 406mm )   85   75   72   60   56  
 9    640 x 480    ( 542mm x 406mm )   85   75   73   60  
 10   720 x 400    ( 542mm x 406mm )   85  
 11   640 x 400    ( 542mm x 406mm )   85  
 12   640 x 350    ( 542mm x 406mm )   85  
 13   512 x 384    ( 542mm x 406mm )   87  
 14   416 x 312    ( 542mm x 406mm )   75  
 15   400 x 300    ( 542mm x 406mm )   85   75   72   60   56  
 16   320 x 240    ( 542mm x 406mm )   85   75   73   60  
 17   360 x 200    ( 542mm x 406mm )   85  
 18   320 x 200    ( 542mm x 406mm )   85  
 19   320 x 175    ( 542mm x 406mm )   85  
Current rotation - normal
Current reflection - none
Rotations possible - normal 
Reflections possible - none

Code: Select all

$ xrandr -s 9
$ xdpyinfo|grep dimensions
  dimensions:    640x480 pixels (542x406 millimeters)
$ xrandr -s 0
Don't forget to restart your window manager if you do it this way. If you're using a desktop environment, you should use its provided method of switching resolutions...
<laurentius> gentoo linux?
<ari> Yesh.
<laurentius> they look horny
Top
Kesereti
Guru
Guru
User avatar
Posts: 520
Joined: Thu Nov 07, 2002 7:09 am

  • Quote

Post by Kesereti » Fri Nov 07, 2003 6:57 am

HackerBunny wrote:I used a sys-tray for gaim, but if it starts to get cluttered, I turn it off and put gaim on a different desktop.

The buddy list part :-P
I usually just keep my buddy list stickied (on all 4 of my desktops), but rolled up so only the title bar shows...then when I want to see if someone's online, or send a message, I just unroll it...
Top
cylgalad
Veteran
Veteran
Posts: 1327
Joined: Fri Apr 18, 2003 9:36 am
Location: France

  • Quote

Post by cylgalad » Fri Nov 07, 2003 9:58 am

Ctrl+Alt++ (keypad plus) or Ctrl+Alt+- (keypad minus), but that does not resize the desktop.
Make love not war !
Top
Paulten
Apprentice
Apprentice
User avatar
Posts: 257
Joined: Fri Mar 28, 2003 1:03 pm
Location: Sykkylven, Norway
Contact:
Contact Paulten
Website

  • Quote

Post by Paulten » Fri Nov 07, 2003 10:58 am

Also I nice app for installing and configuring your nvidia setup is yanc.
Not that I need a frontend ;) hehe

--Paul
Homepage : http://paul.kde.no Jabber ID : tenfjord@jabber.org
"Dei levde som dyr. Dei verken røykte eller drakk" -Ukjent
Top
StringCheesian
l33t
l33t
Posts: 887
Joined: Tue Oct 21, 2003 6:21 am

  • Quote

Post by StringCheesian » Fri Nov 07, 2003 7:01 pm

I looked at Gnome, but I didn't like the theme. When I tried to install a new one, it just wouldn't work. It was a GTK2 theme, I think. If I dragged it into the theme list, it wouldn't show up. If I clicked the add theme button and selected it, still no dice.
Top
shm
Advocate
Advocate
User avatar
Posts: 2380
Joined: Mon Dec 09, 2002 10:35 pm
Location: Atlanta, Universe

  • Quote

Post by shm » Fri Nov 07, 2003 7:08 pm

StringCheesian wrote:I looked at Gnome, but I didn't like the theme. When I tried to install a new one, it just wouldn't work. It was a GTK2 theme, I think. If I dragged it into the theme list, it wouldn't show up. If I clicked the add theme button and selected it, still no dice.
i think you have to untar it.. not sure, haven't used gnome for a while and don't have it installed to check
what up
Top
Ari Rahikkala
Guru
Guru
Posts: 370
Joined: Wed Oct 02, 2002 7:29 pm
Location: Finland

  • Quote

Post by Ari Rahikkala » Fri Nov 07, 2003 7:54 pm

Just to clear up the confusion that this thread has likely caused, I'll go quickly through the different possible kinds of "desktop resolution"...

There's XFree86's virtual screen resolution, also called the root window size. This used to be unchangeable until quite recently - XFree added support for it (calling it "partial RandR support", which it is) in 4.3.0. If the root window is bigger than your physical screen resolution, you can scroll around by just moving your mouse "over" the screen edge. This works without window manager support, AFAIK. Physical screen resolution is what ctrl-alt-+ and ctrl+alt+- change. The fact that window managers aren't necessarily aware of root window size changes adds to the complexity - if you, say, scale your desktop down to 1024x768 from 1280x1024, your window manager might well still think that it's running on a 1280x1024 screen - thus making some stuff invisible (drawn offscreen).
<laurentius> gentoo linux?
<ari> Yesh.
<laurentius> they look horny
Top
tempdude
n00b
n00b
Posts: 4
Joined: Thu Dec 18, 2003 1:58 pm

xrandr restart

  • Quote

Post by tempdude » Tue Dec 30, 2003 1:03 am

Hi Ari,
The fact that window managers aren't necessarily aware of root window size changes adds to the complexity - if you, say, scale your desktop down to 1024x768 from 1280x1024, your window manager might well still think that it's running on a 1280x1024 screen - thus making some stuff invisible (drawn offscreen).
After reading your post I'm thinking you can probably shed a little more light on why I can't get this to work right.

I found this code and changed the [item] to [exec] so it would work with fluxbox menu. It changes the resolution fine but as you said my desktop has items drawn in the wrong places.

I have to use the Restart command built into the fluxbox menu. I tried to do something like this:
[exec] (640x480) {xrandr -s 640x480 && Restart}

I tried a few variations on the syntax but haven't hit upon a solution yet. The only thing that seems to work is hitting the built-in menu item: [restart] (Restart). Any advice welcome.

Thanks in advance, tempdude

Code: Select all

[submenu] (Resolution)
     [exec] (640x480) {xrandr -s 640x480}
     [exec] (800x600) {xrandr -s 800x600}
     [exec] (1024x768) {xrandr -s 1024x768}
     [exec] (1280x1024) {xrandr -s 1280x1024}
[end]
Top
monkeyking
n00b
n00b
Posts: 47
Joined: Sat Nov 01, 2003 6:15 pm

  • Quote

Post by monkeyking » Wed Dec 31, 2003 1:39 am

Yeah I have a similar problem, how do I set the partial randr to the same as my physical one.??
Top
AmosMutke
Apprentice
Apprentice
User avatar
Posts: 235
Joined: Wed Dec 24, 2003 2:09 am
Location: Akita, Japan.

Re: xrandr restart

  • Quote

Post by AmosMutke » Wed Dec 31, 2003 1:59 am

tempdude wrote: I found this code and changed the [item] to [exec] so it would work with fluxbox menu. It changes the resolution fine but as you said my desktop has items drawn in the wrong places.

I have to use the Restart command built into the fluxbox menu. I tried to do something like this:
[exec] (640x480) {xrandr -s 640x480 && Restart}

I tried a few variations on the syntax but haven't hit upon a solution yet. The only thing that seems to work is hitting the built-in menu item: [restart] (Restart). Any advice welcome.

Thanks in advance, tempdude
This is in my TODO list as well. I tried the same things as tempdude, but didn't work for me either. For now I just have to do the "two step" process. reset the resolution and then restart usig the [restart] (Restart) schtuff...
Is it possible to shell script this? I think the randr part would work, but I'm not sure if there is a way to get fluxbox to restart. I haven't searched the fluxbox man page either yet.
The signature box in the profile should come with a warning that says "Warning: Using permanent ink may result in damaging your screen."
Top
Post Reply

19 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic