LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-28-2003, 08:47 PM   #1
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
Question Command to change screen resolution?


Is there a command in Fedora to change the resolution instantly?
I know "krandrtray" let's you choose the resolution you want, but I need a command that will accept the resolution as a paramater, and change the resolution instantly. Like "programname --resolution 640x480"
I'm using it for a Starcraft startup script, because the resolution has to be 640x480 for Starcraft to run.
Thanks.
 
Old 12-15-2003, 02:54 PM   #2
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Rep: Reputation: 15
Not sure of a command line way of doing this, but you can use crtl-alt-(keypad +) or ctrl-alt-(keypad -) to cycle through the resolutions without restarting X. On my laptop, this means ctrl-alt-Fn-+ or ctrl-alt-Fn-

HTH
 
Old 12-15-2003, 03:01 PM   #3
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Are you sure that cycles through the resolutions?
I was under the impression that it just zooms in or out.
 
Old 12-15-2003, 03:15 PM   #4
ashlock
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2, RH 9
Posts: 33

Rep: Reputation: 15
http://www.linuxquestions.org/questi...solution+cycle
 
Old 12-16-2003, 03:57 AM   #5
LordMorgul
Member
 
Registered: Sep 2003
Location: Ca
Distribution: Fedora, RH 7.1-9.0
Posts: 68

Rep: Reputation: 15
The resolutions defined in the config ARE the zooms used, by changing the resolution. The desktop virtual resolution is not changed, and can't be changed AFAIK (once X is started, it can be set in the config however).
 
Old 12-16-2003, 04:16 PM   #6
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
If it can't be changed, then how does that KDE program (krandtray or something similar) that comes with Fedora Core 1 change it? Or does that just zoom?
 
Old 12-16-2003, 10:36 PM   #7
LordMorgul
Member
 
Registered: Sep 2003
Location: Ca
Distribution: Fedora, RH 7.1-9.0
Posts: 68

Rep: Reputation: 15
I'm not familiar with that program, but don't use KDE very often. Its not installed on my machine currently with that name.

The desktop settings module of the Control Center does allow changing resolutions and refresh rates however. I wasn't aware of this until I just went looking. I don't know how it does this, but the X server doesn't appear to restart, so either they are dynamically resizing the virtual desktop size, or they are simply locking the window manager's useable size (leaving the rest of the virtual desktop space unused but still out there). Just a guess of course. The answer is in the code if you've got time to find it. :-)
 
Old 12-17-2003, 03:01 PM   #8
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
Ok, thanks.
The program is named 'krandrtray', btw.
 
  


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
change screen resolution garyozzy Slackware 4 11-10-2005 06:28 PM
Cannot change screen resolution HiOctane21 Linux - General 10 05-23-2005 01:37 AM
Change Screen Resolution XaViaR Linux - Software 3 04-02-2005 08:53 AM
can't change screen resolution rampfld Linux - Newbie 3 03-21-2005 04:52 PM
Change screen resolution? ReSync Linux - Newbie 1 06-16-2002 03:43 PM

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

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