Commit 705bce05 authored by Dr. Michael Petter's avatar Dr. Michael Petter

cleaned up scripts

parent 856a9dfa
Pipeline #1716 failed with stage
in 16 seconds
#!/bin/bash
xrandr --output LVDS1 --mode 1366x768
xrandr --output LVDS1 --mode 1366x768 --pos 0x0 --output VGA1 --mode 1024x768 --pos 0x0
#!/bin/bash
vncserver -kill :1
vncserver -geometry 960x720
vncserver -geometry 1680x1050
command -v kdialog || {
command -v zenity || { echo 'VNC started'; exit 1 ; }
zenity --info --text="VNC started"
......
#!/bin/bash
vncserver -kill :1
vncserver -geometry 1280x720
vncserver -geometry 1400x1050
command -v kdialog || {
command -v zenity || { echo 'VNC started'; exit 1 ; }
zenity --info --text="VNC started"
......
#!/bin/bash
xrandr --output eDP-1 --mode 1024x768
xrandr --output eDP-1 --mode 1920x1080 --pos 0x0
xrandr --output HDMI-2 --mode 1280x720 --pos 0x0
xrandr --output HDMI-2 --scale-from 1920x1080 --pos 0x0
xrandr --output HDMI-2 --mode 1280x720 --pos 0x0 --scale-from 1920x1080
#!/bin/bash
input=`xinput | grep Finger | cut -f2 | cut -f2 -d=`
xinput disable $input
input=`xinput | grep Digitizer | cut -f2 | cut -f2 -d=`
xinput disable $input
command -v kdialog || {
command -v zenity || { echo 'Touch disabled'; exit 1 ; }
zenity --info --text="Touch disabled"
exit 1
}
kdialog -msgbox 'Touch disabled'
\ No newline at end of file
#!/bin/bash
input=`xinput | grep Digitizer | cut -f2 | cut -f2 -d=`
xinput disable $input
#!/bin/bash
input=`xinput | grep Digitizer | cut -f2 | cut -f2 -d=`
xinput enable $input
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment