Native Resolution Switcher

Utilities

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
It couldn't get much more simpler than this little script/command. Anyhow, there's a few apps that would screw up my resolution after they exited and rather than look into it at the moment, I just googled to see if there was a quick command to execute that would change the resolution. So I found it, added that command to my KDE menu, then made a shortcut to it (ctrl + r) so I have a push-button resolution fix, which I recommend you do as it's quite handy.

Anyhow, place Native Resolution Switcher.desktop on your desktop for 1-click resolution switching or as I recommend earlier, just using the "xrandr -s 'your resolution'" command in the KDE menu and linking it to a shortcut key. You can also use the "-r" command to set the refresh rate. If no rate is specified, it will default to the lowest rate set in your xorg.conf.

The xrandr command is dependent on your xorg.conf file so if the resolution or refresh rate isn't set in your xorg.conf, then it will not use it.

Ratings & Comments

7 Comments

ltmon

The program krandrtray comes with most distributions of kde. It will put an icon in your tray allowing you to set the screen res.

tony134340

I googled it and looked and looked. I can't find it anywhere to download. I couldn't find it in the Ubuntu repositories either. It supposedly comes with some distros from what I read but apparently not Kubuntu or perhaps Ubuntu Feisty. And it's supposedly the obsoleted program I heard about that let you do the ctrl+alt+(+ or -) resolution change. Anyhow, the xrandr command works just fine for my needs. It's the quickest and least hassle solution since I only use one resolution.

JanSchnacki

krandrtray is (on Kubuntu Feisty Fawn) part of the package "kcontrol".

tony134340

Thanks. I was using the wrong command to try to start it with. It's pretty much the same thing as the resapplet app I was using. I still see no way for it to use a key press to switch resolutions which was my original intent. But still, it's a handy app.

conares

what does this script actually do?

tony134340

It's just a quick solution I use if a game or app such as in my case, xdtv and a couple other games, didn't change back to my monitor's native resolution after I exited them. I heard there used to be a way in KDE to use the ctrl+alt+"+ or -" to change it but I suppose they stopped doing that for some reason. I got tired of going into my KDE monitor settings everytime to change it back, which was sometimes frequent. If you want, you can use the "xrandr -s 1680 x1050" command I used in the script to make KDE menu shortcut, then link it to a key press. The push button functionality to change resolution is what I was after and this to me was the quickest and easiest. Also you can change it to your own resolution if you like, just make sure your monitor supports it.

conares

thanx for you reply!

Pling
0 Affiliates
Details
license
version 1.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Utilities:

Gis Weather
RingOV
last update date: 8 years ago

Score 8.0

Splash Screen Manager
zorinos
last update date: 14 years ago

Score 7.4

BashStyle-NG
Chrispy
last update date: 10 years ago

Score 6.1

anymeal
wedesoft
last update date: 6 months ago

Score 5.0

MonA3XN 01
A3XN
last update date: 2 years ago

Score 5.0

SuperCalc (By Keshav bhatt)
keshavnrj
last update date: 10 years ago

Score 5.0



System Tags