-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (8) . 

newrez - Increase Screen Rez For Netbook

   1.1  

Nautilus Script

Score 77%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--
newrez - Increase Screen Rez For Netbook
zoom


Downloads:  27634
Submitted:  Nov 9 2010
Updated:  Dec 20 2013

Description:

Newrez is a nautilus script that not only makes it easy to change screen resolution on the fly, it lets you specify a resolution higher than your display's physical dimensions! This means that a netbook with a screen that's 1024x600 can display a scaled 1280x800 or higher (limited only by your eyesight :-)

Newrez does NOT "over-drive" the actual hardware. Instead, it defines a higher-resolution display on the netbook's VGA port, and scales it to the LCD.

You are not restricted to "standard" resolutions. Values like 1100x730 or 1350x900 or even 1400x700 will work just fine (and a few-pixel adjustment automatically applied if needed). Setting to 'default' will return everything back to normal.

Newrez can also be run directly from the command line, as in "newrez 1280x800" or "newrez default". This makes it a simple matter to switch to create scripts or icons that set your most common resolutions, or to include resolution changes into other scripts or launchers.

REQUIRES:
xrandr (version 1.3 or higher)
zenity
bc
cvt

At present, this will not work if you use the vendor-supplied Nvidia or ATI driver.

If the laptop lid is closed and re-opened, you MAY find the the mouse is constrained to an area the size of the default resolution. This is caused by xrandr. Re-execute newrez to fix this.




Changelog:

Check my other scripts, too!
(VOTE!!)



0.1 - initial version
0.2 - minor cosmetic fix for older zenity versions
0.3 - when run, the "xrandr" command is saved in a 1-line script ~/newrez-devname-XXXX
0.4 - corrected parsing when multiple monitors are detected
0.5 - a gnome-panel launcher icon can be created automatically
0.6 - better panel icon creation
0.7 - much more thorough testing to ensure proper versions of xrandr and gnome-panel-add
0.8 - Added "newrez-v" which is an entirely different approach to compensate for "constrained mouse" issue in latest xrandr. newrez-v starts a vncserver at a higher resolution and then starts a vncviewer in scaled mode. Not as elegant, not as fast, but will work on ALL systems.

0.9 is a rewrite, and avoids the problems of a confined mouse by defining new resolutions to the VGA output, then scaling for display on the LCD. It's been tested in gnome2 and gnome3 as well as the MATE and Cinnamon desktops.

1.1 fixed issue when returning to "default" resolution, where mouse was not confined to screen edges.




LicenseGPL
(newrez 1.1)
Donate
Send to a friend
Subscribe
Other  Artwork  from marc41
Report inappropriate content



goto page: prev   1  2  3  4  5  6 

-

 Ratios

 
 by qkzoo on: Mar 16 2011
 
Score 50%

Hello, I'm fairly new to Ubuntu. I tried this script, and it didn't seem to do anything. I'm using a netbook with a maximum resolution of 1024 x 600. I played with it a little and finally got somewhere when I typed in something ridiculous, like 2100. That brought the resolution to 2048 x 1200 (2 x 2).

For some reason this script doesn't affect the ratio unless it's greater than 2048, am I mistaken?

I created a couple of the shortcuts and manually changed the ratios, and finally got it working. Perhaps I'm a moron, but what is the math to figure out the ratio?

These are the ones I got working:

1024 x 600 (1 x 1)
1280 x 800 (? x ?)
1497 x 936 (1.17 x 1.17)
1600 x 1000 (1.25 x 1.25)
2048 x 1200 (2 x 2)

What is the ratio for the 1280 x 800? I gathered the above numbers from browsing this thread.

Thanks


Reply to this

-

 Re: Ratios

 
 by marc41 on: Mar 16 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hi! Hope I can help...

The ratios themselves are simply the 'desired' horizontal resolution divided by the 'default' (usually the 'hardware') horizontal resolution. So they ought to be: 1280=1.25 1497=1.46 1600=1.56, etc.

The script simply takes your 'desired' rez, divides it by 'default' to get the ratio, constructs the "xrandr" command line, and puts it into a script and an icon for later use.

Calculation of the ratio depends on the linux program "bc". If the script is producing a "scale" value of "1" for all your shortcuts until you reached 2048 and then jumped to "2", it would seem that the results of dividing 'desired' by 'default' are always producing integer values.

To test this, go to a command prompt and type "bc<enter>". Then type "scale=2<enter>1600/1024<enter>quit<enter>". You should have gotten an answer of "1.56"

Keep me posted...

-- Marc


Reply to this

-

 Re: Ratios

 
 by marc41 on: Mar 16 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hi! Hope I can help...

The ratios themselves are simply the 'desired' horizontal resolution divided by the 'default' (usually the 'hardware') horizontal resolution. So they ought to be: 1280=1.25 1497=1.46 1600=1.56, etc.

The script simply takes your 'desired' rez, divides it by 'default' to get the ratio, constructs the "xrandr" command line, and puts it into a script and an icon for later use.

Calculation of the ratio depends on the linux program "bc". If the script is producing a "scale" value of "1" for all your shortcuts until you reached 2048 and then jumped to "2", it would seem that the results of dividing 'desired' by 'default' are always producing integer values.

To test this, go to a command prompt and type "bc<enter>". Then type "scale=2<enter>1600/1024<enter>quit<enter>". You should have gotten an answer of "1.56"

Keep me posted...

-- Marc


Reply to this

-
.

 newrez

 
 by qkzoo on: Mar 17 2011
 
Score 50%

Ok, I ran the test and it was doing the math correctly. One other thing I forgot to mention. When I run your script, as I said before, I can edit the shortcuts to run correctly, so hardware and drivers or whatever are working correctly, I assume. The script, however, seems to be breaking somewhere. Take for instance this test:

1. I run your script, sh newrez. The script runs in terminal, but issues four "Syntax Error" statements:

Quote:

(standard_in) 1: syntax error
DEFAULT: 1024 600
(standard_in) 1: syntax error
SCALE 1
(standard_in) 1: syntax error
(standard_in) 1: syntax error
NEW: H V 1024 600
--version


This time around, just as a test I plugged in 1280, which you said should have been 1.25 for the ratio. When I examine the shortcut, it looks like this for the command line:

Quote:

xrandr --fb 1024x600 --output LVDS1 --scale 1x1


As you can see, it didn't plug in the correct resolution or ratio. If I edit the shortcut to run 1280 x 800 at 1.25 manually, it seems to look the same as the 1600 x 1000 resolution (1.25) I also have setup.

This is on my netbook. I tried this also on my old desktop unit (pretty old unit) which I know has an nVidia graphics card. I haven't done any driver updates on it yet, so it's probably a hardware acceleration issue, but when I adjust the resolution, the machine get's REALLY slow!

Any thoughts?


Reply to this

-

 Re: newrez

 
 by marc41 on: Mar 17 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

The problem is definitely at or near the 'bc' commands. I suspect this because not only is the math being done incorrectly, but there are four syntax errors and there are four spots in the script that use 'bc'.

Try running the script with "sh -xv newrez 2>&1 tee /tmp/test.txt"

You'll get copious screen output, showing each line as it is encountered in the script and then a second time after any substitutions as it is executed. The complete output will be saved to /tmp/test.txt which can be reviewed afterwards.

Let me know what you see.

-- Marc


Reply to this

-

 Re: Re: newrez

 
 by marc41 on: Mar 17 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

OOPS -- there should be a pipe symbol (the shifted-backspace | character) between "2>&1" and "tee".

Should read ... 2>&1 | tee ...


Reply to this

-

 Re: newrez

 
 by marc41 on: Apr 14 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

>> (standard_in) 1: syntax error
>> DEFAULT: 1024 600

Hi -- SO sorry for the delay -- gnome-look for some reason is NOT sending me email when new comments arrive...

The above complaint, and the problems that follow, are coming from the lines that "echo" things to the "bc" command. I guess it's possible that Mint's "echo" command is different??

Type this:
echo -e "this is\na test"

You should get no complaints, and the results should print "this is" and "a test" on two separate lines.

Let me know what happens...


Reply to this

-
.

 Newrez

 
 by markjm1971 on: Jun 21 2011
 
Score 50%

Newrez worked perfectly on my samsungN140 running Ubuntu 10.10. However, I've 'upgraded' to 11.04 which uses unity. If I use one of the Newrez scripts to scale the screen, I end up with a black bar at the top of the screen and a black bar at the right hand side. Any ideas on how to overcome this? Is there some sort of screen refresh command that will resolve this?

Cheers,
Mark


Reply to this

-

 Re: Newrez

 
 by marc41 on: Jun 21 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hi --

I use Fedora, and recently upgraded my own netbook from 14 to 15 (with Gnome 3). Newrez is confused by this upgrade as well, where I get a resized display but the mouse pointer is confined to a 1024x600 rectangle.

I don't yet know what changed: whether it's XrandR itself, something more fundamental in X, or something else.

Thanks for letting me know it's not just my system and not limited to Fedora. I'll get to work on it...

-- Marc


Reply to this

-

 VMWare Player

 
 by zardosht on: Jun 21 2011
 
Score 50%

Hi,

I am using Ubuntu in VMware player 3.1.4.
Running the script says my display driver is not supported. Is there any workarounds?

Thanks,
Zardosht


Reply to this

-

 Re: VMWare Player

 
 by marc41 on: Jun 21 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

What video driver is your system using? Plus, I've not personally tried this in any sort of VM setup. What is the output of "xrandr"?


Reply to this

-

 Re: Re: VMWare Player

 
 by zardosht on: Jun 21 2011
 
Score 50%

Hi,

I am newbie to linux. How can I know which video adapter my system is using?
The lspci says:

00:0f.0 VGA compatible controller: VMware SVGA II Adapter

The xrandar returns in full screen mode of VMWare player the following output:

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 2560 x 1600
default connected 1366x768+0+0 0mm x 0mm
800x600 60.0 56.0 0.0
640x480 60.0 0.0
320x240 0.0
400x300 0.0
512x384 0.0
1024x768 0.0
1152x864 0.0
1280x960 0.0
1400x1050 0.0
1600x1200 0.0
1920x1440 0.0
2048x1536 0.0
854x480 0.0
1280x720 0.0
1366x768 0.0*
1920x1080 0.0
1280x800 0.0
1440x900 0.0
1680x1050 0.0
1920x1200 0.0
2560x1600 0.0
720x480 0.0
720x576 0.0
320x200 0.0
640x400 0.0
800x480 0.0
1280x768 0.0
1280x1024 0.0
1326x661 0.0


Reply to this

-

 set default resolution

 
 by fanoy on: Jul 26 2011
 
Score 50%

hi. how to set default resolution after I resize in newrez. and when I restart, I use new resolution in my netbook


Reply to this

-
.

 Re: set default resolution

 
 by marc41 on: Jul 26 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

After the script has run, you will find two files in your $HOME directory. They will be named something like "newrez-1280.desktop" and "newrez-LVDS1-1280"

The first is a file which you can double-click (you might place it on your Desktop or launch bar). The second is a shell script that can be used in various ways.

One way to use the shell script is to add it to your 'Startup Applications'. This ensures that it is executed AFTER the desktop is running. If you find that it starts too soon, edit the file and add a "sleep XX" so that it waits for a few seconds before starting (XX might be just 2 or 3 seconds).

Please post your results here for other users to read.

Enjoy!


Reply to this

-

 Re: Re: set default resolution

 
 by fanoy on: Jul 27 2011
 
Score 50%

I want to say a bit about what I doubt, if I set the default resolution of 1240x600 on my netbook 10.1 (default 1024x600). if it does not quickly damage the screen or heat may make it faster?


Reply to this

-

 Re: Re: set default resolution

 
 by fanoy on: Jul 27 2011
 
Score 50%

[Edit] I want to say a bit about what I doubt, if I set the default resolution of 1280x750 on my netbook 10.1 (default 1024x600). if it does not quickly damage the screen or heat may make it faster?


Reply to this

-

 Re: Re: Re: set default resolution

 
 by marc41 on: Jul 27 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Do not worry.

The newrez script does NOT try to force your display into an un-supported mode!!

Your actual hardware display stays at the original resolution (1024x600). The script creates a higher resolution "display" in memory ONLY. Then it shows that in-memory display on your actual screen by "scaling it down".

For example, if you have a physical screen that is 1024x600 and choose newrez to set your screen to 1280x800, it will show on your display a 1280x800 image that has been scaled-down by 25%.

There is NO DANGER in using this script. The resolution of your display actually stays unchanged. It simply scales everything to appear smaller,


Reply to this

-

 Re: Re: Re: Re: set default resolution

 
 by fanoy on: Jul 27 2011
 
Score 50%

ok, thanks march41. I will try and report to you for result make this new resolutin 1280x800 to default in my netbook :)


Reply to this

-

 Re: Re: Re: Re: set default resolution

 
 by fanoy on: Jul 28 2011
 
Score 50%

Hai Marc41
I succeed to try your trick for set default new resolution after startup " add it to your 'Startup Applications'. This ensures that it is executed AFTER the desktop is running" and it all normal running.

but, if I try play game 0ad, game not playing. just blankscreen.


Reply to this

-

 support gtk3

 
 by fanoy on: Sep 4 2011
 
Score 50%

hi Marc1. Newrez support gtk3?,,,


Reply to this

-

 Re: support gtk3

 
 by marc41 on: Sep 5 2011
 
Score 50%
marc41marc41
Tailored Software, Inc
-
Marc Brumlik 53

Tailored Software, Inc
United States of America, Chicago
Last visit Sep 16 2014
13 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

I have a netbook I've upgraded to Gnome3. There seems to be something wrong with XrandR in this environment. I have tried, and while I have managed a resized screen that looks perfect, the mouse is not able to expend beyond the boundary of the original resolution. So after a resize from 1024x600 to 1280x800, the mouse cannot move outside of an invisible 1024x600 rectangle.

I've tried many things. Somehow it seems Gnome is not aware of the change in X. If anyone out there has an idea here, I'd sure like to hear it! :-)

At this time, I'm just (im)patiently waiting for an update that fixes this.


Reply to this

goto page: prev   1  2  3  4  5  6 

Add commentBack






-
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About GNOME-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 GNOME-Look.org Team  
All rights reserved. GNOME-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
GNOME and the foot logo are trademarks of the GNOME Foundation.