
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
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.
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.
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
Report
marc41
7 years ago
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
Report
marc41
7 years ago
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
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
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
The only weird thing is that i don't manage to launch it thru a script as before ?
Report
marc41
8 years ago
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
Used on a Ubuntu 12.04 32 bits with Unity, kernel 3.2.0-38, on a netbook.
Thanks for you work
Report
marc41
8 years ago
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
marc41
8 years ago
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
marc41
8 years ago
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
marc41
8 years ago
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
marc41
8 years ago
Report
kutalion
8 years ago
http://www.sastudio.co/index.php/emergency-fix/9-fix-xrandr-scale-panning
Report
marc41
8 years ago
Report
kutalion
8 years ago
Report
JoanVano
8 years ago
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
marc41
8 years ago
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
marc41
8 years ago
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
marc41
8 years ago
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
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
This link cannot be used, because its target "/usr/local/bin/newrez" Doesn't exist.'
Report
dannyboiii
9 years ago
Report