newrez - Increase Screen Rez For Netbook

Nautilus Scripts

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

7
8.1
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.
Last changelog:

7 years ago

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.

cbbbbbfc

6 years ago

تثبيت البرنامج
Install the software

{ls
tar zxvf
ls
chmod +x newrez
ls
./newrez
ثم and
1028x768}

__________________________________________
بعد اعادة تشغيل الكمبيوتر ﻻ تكرار فقط الامر في الطرفية
{ sudo ./newrez 1028x768 }

بعدها سيطلب كلمة المرور الخاصة بك وقم بادخالها
__________________________________________
حل مشكلة مع بدء تشغيل الكمبيوتر
Solve a problem newrez with the computer startup
نذهب الى البحث عن تصبيقات بدأ التشغيل او Startup Application
Go to search for applications or startup Startup Application
Startup Application
ضع الامر

{ bash ./newrez 1028x768 }

_______________________________________
تحياتيRegards
من العراق From Iraq
aseer ^_____*

Report

Argenteus

7 years ago

Not working, if my mouse leaves a certain portion of the screen it crashes. It sounds like Newrez-v would have fixed my issue, but it wasn't included in the dl. Help?

Report

C

marc41

7 years ago

What portion of the screen causes this to happen? Does it work properly until you move the mouse to that area?

I have posted newrez-v separately. I hope I found the right version -- it's been unused for a while now.

Also -- what distro and version are you using and what video card and driver?

-- Marc

Report

Argenteus

7 years ago

The crash seems to occur when the pointer leaves the original area of the screen, but I can't test now as I have important things open. The OS is Ubuntu 12.04. I don't know my video card or driver, this is a netbook.

Report

C

marc41

7 years ago

Interesting, because an "original resolution" issue (being trapped in the original screen size) was the issue that this release of newrez was to fix.

The command "lspci | grep VGA" will show what video card you have, though since you're unsure I doubt that a vendor-supplied driver (like those for ATI and nVidia) is the cause.

I have not tested on the latest Ubuntu, so I'll try that from this end. Had this worked for you before? Your reference to newrez-v implied you've been a user for a while. Did this breakage occur after an upgrade?

-- Marc

Report

Argenteus

7 years ago

Actually you're wrong there - I've never used newrez before as far as I remember, but I learned about it from an (apparently outdated) article which mentioned newrez-v, plus I looked through the comments a bit for solutions. Also, slight nitpick, 12.04 (The version of Ubuntu I'm using) is not the latest, but the last long term support.

The output from the command you gave me was: 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller (rev 03)

So it seems to just be a crappy intel integrated graphics, nothing fancy.

But it could still be some odd interaction with the driver, I guess. I can get to the login screen from the crash with a Ctrl+Fn+Alt+F2 to get to another tty and pkill X.

Report

quas0

8 years ago

Simple problem indeed, it works when indicating the complete path.
Your script works well with the indicator ScaleRes also, you can change the resolution with one clic in the status bar... Perfect thanks again

Report

quas0

8 years ago

Fantastic ! After a look some months ago on your script, i can see that it's working perfectly now ! There is many bugs reports about this, and patch to apply to randr or suggestion about downgrading Xorg, but your script is dealing with the resolution and mouse panning problem perfectly... Thanks !
The only weird thing is that i don't manage to launch it thru a script as before ?

Report

C

marc41

8 years ago

I am glad this is working for you!!

The bug reports and patch for xrandr are because they added a new "feature" to prevent the mouse pointer from moving beyond the edge of the screen. This was so the pointer would never travel past the edge and be difficult to find.

This feature did not account for scaled screens, therefore it was also a "bug". The problem was that on a scaled screen, the mouse was constrained to the hardware resolution.

The "fix" was to add the new (higher) resolution to the VGA port, then set VGA as the primary display, and finally to set the LCD as a scaled mirror.

TO USE THIS NEW VERSION IN A SCRIPT:
In your script (or from a command line in terminal), you can execute a command like "newrez 1280x800" or "newrez default".

If this does not work for you, please send me another message. Tell me what version of Linux you are running.

-- Marc

Report

quas0

8 years ago

Yep thats what i tried but it doesn't work. The result is "command not found" on newrez. Alone, with a value or default.
Used on a Ubuntu 12.04 32 bits with Unity, kernel 3.2.0-38, on a netbook.
Thanks for you work

Report

C

marc41

8 years ago

Simple problem, two possible solutions.

The cause: though you have downloaded the newrez file, it not in your "search path". Therefore the shell can't find it. This would be true of ANY script you install or write.

Solution 1: execute it using the full path to the command where it is located, as in "~/.gnome2/nautilus-scripts/newrez 1280x800"

Solution 2: make a copy (or a link) of the newrez script into /usr/local/bin (which would require sudo and would make it available to all users) or into ~/bin (which does not require sudo and will make available to just you).

Have fun!

Report

C

marc41

8 years ago

Simple problem, two possible solutions.

The cause: though you have downloaded the newrez file, it not in your "search path". Therefore the shell can't find it. This would be true of ANY script you install or write.

Solution 1: execute it using the full path to the command where it is located, as in "~/.gnome2/nautilus-scripts/newrez 1280x800"

Solution 2: make a copy (or a link) of the newrez script into /usr/local/bin (which would require sudo and would make it available to all users) or into ~/bin (which does not require sudo and will make available to just you).

Have fun!

Report

C

marc41

8 years ago

Simple problem, two possible solutions.

The cause: though you have downloaded the newrez file, it not in your "search path". Therefore the shell can't find it. This would be true of ANY script you install or write.

Solution 1: execute it using the full path to the command where it is located, as in "~/.gnome2/nautilus-scripts/newrez 1280x800"

Solution 2: make a copy (or a link) of the newrez script into /usr/local/bin (which would require sudo and would make it available to all users) or into ~/bin (which does not require sudo and will make available to just you).

Have fun!

Report

C

marc41

8 years ago

I am glad this is working for you!!

The bug reports and patch for xrandr are because they added a new "feature" to prevent the mouse pointer from moving beyond the edge of the screen. This was so the pointer would never travel past the edge and be difficult to find.

This feature did not account for scaled screens, therefore it was also a "bug". The problem was that on a scaled screen, the mouse was constrained to the hardware resolution.

The "fix" was to add the new (higher) resolution to the VGA port, then set VGA as the primary display, and finally to set the LCD as a scaled mirror.

TO USE THIS NEW VERSION IN A SCRIPT:
In your script (or from a command line in terminal), you can execute a command like "newrez 1280x800" or "newrez default".

If this does not work for you, please send me another message. Tell me what version of Linux you are running.

-- Marc

Report

C

marc41

8 years ago

NOTE THAT ANY COMMENTS BEFORE THIS ONE RELATE TO OLDER VERSIONS OF THIS SCRIPT!

Report

9

kutalion

8 years ago

Hi, guys. I really loved this app but with all the new OSes it's unusable and the newrez-v fix don't work fast enough for my little netbook here. So I searched the net for another solution and I found SOMETHING. But I have no idea how to do it. It's a PATCH. So please anyone some help if you'd like. Thank you.

http://www.sastudio.co/index.php/emergency-fix/9-fix-xrandr-scale-panning

Report

C

marc41

8 years ago

WOW -- Very good -- now I have something to track down. I will dig into this. THANKS!!!

Report

9

kutalion

8 years ago

It seems that this isn't a patch but rather the whole source already done. I have trouble compiling this stuff although it has autogen script. It complains about some SHA1 stuff and I really don't know what dev package does it need to compile corectly in this part of the configuration.

Report

JoanVano

8 years ago

works fine for me , but the mouse only moves over the old resolution area.

I have changed from 1024 to 1280, the screen resolution changes ok, but the mouse pinter only is possible to move ina a area from top left to 3/4 bottom- right .

some idea ??

Report

C

marc41

8 years ago

This is a known issue, not with the script, but with the latest 'xrandr' package. This package can do many things in managing screens, scaling is one of them. Apparently to fix a different situation, it was changed "to keep the pointer in-bounds". But for the type of scaling my script is doing, it's now broken.

That its why I wrote the second script newrez-z which your download also provided. It's a little less elegant and and a little slower, but guaranteed to work. Hopefully the xrandr developers will get the problem fixed soon!

Let me know how the other script works for you.

Report

C

marc41

8 years ago

This is a known issue, not with the script, but with the latest 'xrandr' package. This package can do many things in managing screens, scaling is one of them. Apparently to fix a different situation, it was changed "to keep the pointer in-bounds". But for the type of scaling my script is doing, it's now broken.

That its why I wrote the second script newrez-z which your download also provided. It's a little less elegant and and a little slower, but guaranteed to work. Hopefully the xrandr developers will get the problem fixed soon!

Let me know how the other script works for you.

Report

C

marc41

8 years ago

This is a known issue, not with the script, but with the latest 'xrandr' package. This package can do many things in managing screens, scaling is one of them. Apparently to fix a different situation, it was changed "to keep the pointer in-bounds". But for the type of scaling my script is doing, it's now broken.

That its why I wrote the second script newrez-z which your download also provided. It's a little less elegant and and a little slower, but guaranteed to work. Hopefully the xrandr developers will get the problem fixed soon!

Let me know how the other script works for you.

Report

AirRick

9 years ago

Hi Mark,

I'm getting the error "Connection to host localhost::5999 was closed" when I use your newrez-v script in Ubuntu 11.10. I get the weird blindspot thing going when I use the regular newrez script. I was wondering if you'd be able to tell me how to get pass this localhost error as I'm fairly new to the whole Ubuntu interface.

Eric

Report

dannyboiii

9 years ago

'The Link "newrez" is Broken. Move it to Trash?

This link cannot be used, because its target "/usr/local/bin/newrez" Doesn't exist.'

Report

dannyboiii

9 years ago

Also, when I try moving it to the nautilus scripts folder, it just doesn't show up in the right-click context menu. :( I dk what to do.

Report

7 years ago

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.

12345678910
18
product-maker ofxxx Oct 26 2016 9 excellent
product-maker teresaejunior Aug 11 2013 9 excellent
product-maker I4C Feb 19 2013 9 excellent
product-maker kutalion Jan 20 2013 9 excellent
product-maker fanoy Jan 11 2012 9 excellent
product-maker markjm1971 Jan 02 2012 9 excellent
product-maker raoulr Mar 06 2011 9 excellent
product-maker kolesky Feb 18 2011 9 excellent
product-maker TheRob Feb 17 2011 9 excellent
product-maker mywindow Nov 19 2010 9 excellent
product-maker mhnassif Nov 14 2010 9 excellent
product-maker nenelinux Nov 10 2010 9 excellent
product-maker larryni Nov 09 2010 9 excellent
product-maker cochisepoeta Nov 09 2010 9 excellent
product-maker DanRock007 Nov 09 2010 9 excellent
product-maker benjamimgois Nov 09 2010 9 excellent
product-maker joshiggins Nov 09 2010 9 excellent
product-maker influxor Nov 09 2010 9 excellent
Be the first to comment
raoulr
Jul 20 2013
kutalion
Jan 20 2013
mywindow
Nov 19 2010
mhnassif
Nov 12 2010
nenelinux
Nov 10 2010
swordjr
Nov 09 2010
larryni
Nov 09 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1
updated Dec 20 2013
added Nov 09 2010
downloads 24h
1
mediaviews 24h 0
pageviews 24h 18
System Tags addon