Peppermint | Linux OS Community Forum
https://peppermintos.net/

[SOLVED] Resolution Hack for Intel GMA netbooks
https://peppermintos.net/viewtopic.php?f=35&t=6147
Page 1 of 2

Author:  Hasimir [ Sun Sep 29, 2013 7:16 pm ]
Post subject:  [SOLVED] Resolution Hack for Intel GMA netbooks

This article ( http://netbookist.com/blog/2011/06/26/h ... ma-driver/ ) tells Win users how to make their netbooks output a 1024*768 resolution, on Intel GMA video cards.

Is there an equivalent hack for Peppermint4?
(my aim is to play FTL on my eee1025c)

Author:  PCNetSpec [ Sun Sep 29, 2013 8:43 pm ]
Post subject:  Re: Resolution Hack for Intel GMA netbooks

This should work for Peppermint 4 .. and possibly for a FULLY updated Peppermint 3 (I can't currently test it in Peppermint 3 .. Ubuntu 12.04 based distros *used* to need a patched version of xorg but I *think* the patch was added in ubuntuupdates)

Run this in a terminal:
Code:
xrandr --output LVDS1 --panning "1024x768" --scale "1x1.28"

you can go back to 1024x600 with:
Code:
xrandr --output LVDS1 --panning "1024x600" --scale "1x1"


Once you've tested that in a terminal AND IT WORKS .. if you want to autostart that at bootup ..

Run:
Code:
mkdir ~/.config/autostart

then:
Code:
gedit ~/.config/autostart/monitor-adjust.desktop

when an empty file opens, make it read:-
Code:
[Desktop Entry]
Name=Monitor Auto Adjust
Comment=Change LCD resolution to 1024x768
Exec=lxterminal --command xrandr --output LVDS1 --panning "1024x768" --scale "1x1.28"
Terminal=true

SAVE the file, and log off/on to test.

BE SURE to test it in a terminal first, because if anything goes wrong a reboot will put you back to 1024x600

=======================================================

[EDIT]

If you have any problems with the wallpaper not stretching .. try making the commands:
Code:
xrandr --output LVDS1 --panning "1024x768" --scale "1x1.28" && pcmanfm --wallpaper-mode=fit && pcmanfm --wallpaper-mode=stretch

and
Code:
xrandr --output LVDS1 --panning "1024x600" --scale "1x1" && pcmanfm --wallpaper-mode=fit && pcmanfm --wallpaper-mode=stretch


obviously adjust the "Exec" line in the autostart file accordingly.

Peppermint 4 - 1024x768 on a 1024x600 netbook

=======================================================

For 1152x864 the command would be:
Code:
xrandr --output LVDS1 --panning "1152x864" --scale "1.125x1.44"

personally I think that's too much .. but I've added it here, just to show it's possible .. we can't have Windows being capable of something Peppermint isn't, can we ;)

Author:  Hasimir [ Thu Oct 10, 2013 7:58 pm ]
Post subject:  Re: Resolution Hack for Intel GMA netbooks

Sorry for not replying sooner, but the forum did not send me a notify o_O
My attempt fails at STEP 1 :\

Terminal says:
warning: output LVDS1 not found; ignoring

Author:  Hasimir [ Thu Oct 10, 2013 8:07 pm ]
Post subject:  Re: Resolution Hack for Intel GMA netbooks

ok... I just had to run xandr by itself to learn the correct output, which in my case is LVDS-0

it appears to be working... but part of the screen is like... hidden o_O
It's like my monitor is scrolling vertically... and to show the hidden part I have to "push" with my mouse cursor.
But I guess it's the only way to have a 768 rez on a 600 screen :roll:

I'll now try to make it stick.
Is there a way to make it into a sort of link or button to turn it all On-Off ?

Author:  Hasimir [ Thu Oct 10, 2013 8:17 pm ]
Post subject:  Re: Resolution Hack for Intel GMA netbooks

also ... what would the numbers look like to squeeze a resolution of 1280*720 ?

EDIT:

I guess... scale 1.25x1.2 ?

Author:  PCNetSpec [ Thu Oct 10, 2013 8:24 pm ]
Post subject:  Re: Resolution Hack for Intel GMA netbooks

Are you sure you entered the full command properly, as I''d expect

Code:
xrandr --output LVDS0 --panning "1024x768"


to make it do what you say

but

Code:
xrandr --output LVDS0 --panning "1024x768" --scale "1x1.28"


Should make it scale back.

=======================================================

Maybe just try:
Code:
xrandr --output LVDS0 --scale "1x1.28"


Code:
xrandr --output LVDS0 --scale "1x1"

will get you back to where you are now.

If I do this without the panning .. it works, but I can't get my mouse to the bottom of the screen.

=======================================================

Are you on Peppermint 4 ?

Author:  Hasimir [ Thu Oct 10, 2013 8:33 pm ]
Post subject:  Re: Resolution Hack for Intel GMA netbooks

when I input
xrandr --output LVDS-0 --panning "1024x768" --scale "1x1.28" && pcmanfm --wallpaper-mode=fit && pcmanfm --wallpaper-mode=stretc

it does the scrolling thing (which allows me to see the hidden parts of the screen)

if I omit the --panning part it does not scroll, thus my screen has hidden, unreachable parts.

I guess that scrolling is the best I can get.
I consider this solved.

But I still would like to know how I could make (if possible) an On-Off switch for this setting.
And if my numbers are correct: for a 1280*720 panning I will need a scaling of 1.25*1.2 ... right?

Author:  PCNetSpec [ Thu Oct 10, 2013 8:43 pm ]
Post subject:  Re: [SOLVED] Resolution Hack for Intel GMA netbooks

What happens if you run the options the other way round:
Code:
xrandr --output LVDS-0 --scale "1x1.28" --panning "1024x768"

get back with
Code:
xrandr --output LVDS-0 --scale "1x1" --panning "1024x600"


Are you on Peppermint 3 or Peppermint 4 ?

Author:  Hasimir [ Thu Oct 10, 2013 8:53 pm ]
Post subject:  Re: [SOLVED] Resolution Hack for Intel GMA netbooks

same panning effect

I'm on P4

Author:  PCNetSpec [ Thu Oct 10, 2013 9:08 pm ]
Post subject:  Re: [SOLVED] Resolution Hack for Intel GMA netbooks

how about:
Code:
xrandr --output LVDS-0 --scale "1x1.28" --panning "1024x768" --fbmm "1024x600"

and back with
Code:
xrandr --output LVDS-0 --scale "1x1" --panning "1024x600" --fbmm "1024x600"

?

Page 1 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/