Native Resolution Switcher

Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
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.

ltmon

12 years ago

The program krandrtray comes with most distributions of kde.

It will put an icon in your tray allowing you to set the screen res.

Report

C

tony134340

12 years ago

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.

Report

JanSchnacki

12 years ago

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

Report

C

tony134340

12 years ago

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.

Report

conares

12 years ago

what does this script actually do?

Report

C

tony134340

12 years ago

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.

Report

conares

12 years ago

thanx for you reply!

Report

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.0
updated May 08 2007
added May 07 2007
downloads today
0
page views today 1
System Tags app software