| | | |
Uploading ....
Display setup script:
- #!/bin/sh
- # Xsetup - run as root before the login dialog appears
- ## Set all not wanted outputs to off
- wantedoutput="DVI-0"
- cmd="xrandr --output $wantedoutput --primary --auto"
- for output in $(xrandr | grep " connected" | cut -d' ' -f 1);
- do
- if [[ ! "$output" == "$wantedoutput" ]];
- then
- #cmd="$cmd --output $output --auto --same-as $mainoutput" ## Set all outputs to mirror
- cmd="$cmd --output $output --off"
- fi
- done
- eval $cmd
|
|
|
| | | |
|