[lubuntu-users] Monitor Resolution Much Reduced on Lubuntu 16.04

Aere Greenway Aere at Dvorak-Keyboards.com
Tue Sep 27 16:12:35 UTC 2016


On 09/27/2016 02:43 AM, Stefan W. Kleyer wrote:
> I had a similar problem with my system. I solved it by forcing xrandr 
> to use a higher resolution. I'm not sure, if this is a good way, but 
> it works quite good for me.
>
> 1. Open a Terminal and type in "cvt screen_resolution":
> $ cvt 1680 1050 60
> You will get something like this (your's could be slightly other output):
>> # 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz 
>> Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 
>> 1059 1089 -hsync +vsync
>
> 2. Create new xrandr mode with information from above:
> $ xrandr --newmode "stuff after >Modeline< above"
> So in my case:
> $ xrandr --newmode "1680x1050_60.00"  146.25  1680 1784 1960 2240 1050 
> 1053 1059 1089 -hsync +vsync
>
> 3. Check the name of the output device. You get it from
> $ xrandr --query
> E.g.:
>> Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384 
>> LVDS-1 connected    1366x768      59.99 +    1360x768      59.80    
>> 59.96
>> ...
>> VGA-1 disconnected HDMI-1 connected primary 1920x1080+0+0 477mm x 
>> 268mm    1920x1080     60.00*+ ...
>
> 4. Adding this mode to the output device you are using. In my case it 
> was VGA-1.
> $ xrandr --addmode VGA-1 "1680x1050_60.00"
>
> 5. Setting new mode:
> $ xrandr --output VGA-1 --mode "1680x1050_60.00"
>
> If you do this one time, you can put 2.+4.+5. in a shell script and 
> execute it by startup or something. I wrote my script to be a switch 
> between laptop screen and external monitor, because it didn't worked 
> another way. Until now it is fixed on my machine.

Stefan:

Thank you for your reply that allows me to work-around the problem.

I got it to work, created a shell-script for it, and created a desktop 
launcher to execute that shell-script.

It would be better if there were a way to execute it in the auto-start 
processing, but I'm not sure of how to do that with a custom 
shell-script (or desktop launcher).  If someone knows how to do that, I 
would appreciate the information.

In looking around on the machine (but I can't find it now on my main 
machine), there was a desktop configuration file, and it had an "XRandR" 
section, that included a "mode=" and a "command=" line. Neither line had 
anything past the "=".  I am wondering if I can put something there that 
will make it happen.  Any ideas?

Thanks again.  At least this lets us use the resolution the monitor is 
capable of.

-- 
Sincerely,
Aere

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20160927/85aa7b39/attachment.html>


More information about the Lubuntu-users mailing list