Peppermint | Linux OS Community Forum
 
It is currently Sun Sep 15, 2019 4:09 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [SOLVED] Resolution Hack for Intel GMA netbooks
PostPosted: Sun Sep 29, 2013 7:16 pm 
Offline

Joined: Thu Nov 24, 2011 4:50 pm
Posts: 135
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)


Last edited by Hasimir on Thu Oct 10, 2013 8:33 pm, edited 1 time in total.

Top
 Profile  
 
 

 Post subject: Re: Resolution Hack for Intel GMA netbooks
PostPosted: Sun Sep 29, 2013 8:43 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
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 ;)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 7:58 pm 
Offline

Joined: Thu Nov 24, 2011 4:50 pm
Posts: 135
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


Top
 Profile  
 
 Post subject: Re: Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 8:07 pm 
Offline

Joined: Thu Nov 24, 2011 4:50 pm
Posts: 135
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 ?


Top
 Profile  
 
 Post subject: Re: Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 8:17 pm 
Offline

Joined: Thu Nov 24, 2011 4:50 pm
Posts: 135
also ... what would the numbers look like to squeeze a resolution of 1280*720 ?

EDIT:

I guess... scale 1.25x1.2 ?


Top
 Profile  
 
 Post subject: Re: Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 8:24 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
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 ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 8:33 pm 
Offline

Joined: Thu Nov 24, 2011 4:50 pm
Posts: 135
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?


Top
 Profile  
 
 Post subject: Re: [SOLVED] Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 8:43 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
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 ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: [SOLVED] Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 8:53 pm 
Offline

Joined: Thu Nov 24, 2011 4:50 pm
Posts: 135
same panning effect

I'm on P4


Top
 Profile  
 
 Post subject: Re: [SOLVED] Resolution Hack for Intel GMA netbooks
PostPosted: Thu Oct 10, 2013 9:08 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
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"

?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL