[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Workaround {Re: One problem identified - was [Re: ARandR problems: Bug or opderator?]}



On 06/20/2017 07:14 AM, Richard Owlett wrote:
On 06/18/2017 05:45 AM, Richard Owlett wrote:
On 06/17/2017 03:02 PM, Curt wrote:
On 2017-06-17, Richard Owlett <rowlett@cloud85.net> wrote:
I'm using Debian Testing on a Lenovo T510 Thinkpad whose screen is too
small and is in the "short and wide" category.
I prefer my 17" diagonal external with a nominal 4:3 aspect ratio.

I am using ARandR Screen Layout Editor 0.1.9.
It reports:
   laptop as        1366 x 768  and normal orientation
   vga monitor as   1280 x 1024 and normal orientation
[snip]

I've identified one problem source.
At least sometimes after a power off shut down it comes up with the
laptop display selected as primary.
How can I force it to always come up with the VGA monitor as primary?

I created /home/richard/.screenlayout/VGA-as-master.sh with preferred
settings back when I was experimenting. I had understood ARandR would
use it automatically. It evidently doesn't.

If that script is manually run after logging in as a particular user both displays display as desired.

My remaining problem is not knowing how to run the script automatically when a particular user logs in. [ARandR is designed as a 'per-user function']
How?


The content of the script file is:
#!/bin/sh
xrandr --output VGA-1 --primary --mode 1280x1024 --pos 0x0 --rotate normal --output LVDS-1 --mode 1366x768 --pos 0x0 --rotate normal --output HDMI-3 --off --output HDMI-2 --off --output HDMI-1 --off --output DP-3 --off --output DP-2 --off --output DP-1 --off

A bug report has been filed
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865535>



Reply to: