added the rest of the scripts
This commit is contained in:
parent
e286b1bfd1
commit
447381c63f
17
synaptics.sh
Executable file
17
synaptics.sh
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#LeftEdge = 77
|
||||||
|
#RightEdge = 1871
|
||||||
|
#TopEdge = 72
|
||||||
|
#BottomEdge = 1262
|
||||||
|
#RightButtonAreaLeft = 974
|
||||||
|
#RightButtonAreaRight = 0
|
||||||
|
#RightButtonAreaTop = 1093
|
||||||
|
#RightButtonAreaBottom = 0
|
||||||
|
|
||||||
|
synclient RightButtonAreaLeft=1274
|
||||||
|
|
||||||
|
synclient MiddleButtonAreaRight=1273
|
||||||
|
synclient MiddleButtonAreaLeft=600
|
||||||
|
synclient MiddleButtonAreaTop=1093
|
||||||
|
|
||||||
1
touchpad-gnome.sh
Executable file
1
touchpad-gnome.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
xset mouse 3 0
|
||||||
1
vnc.sh
Executable file
1
vnc.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
x11vnc -display :0 -rfbauth ~/.vnc/passwd -users andreas
|
||||||
33
x11vnc-install.sh
Executable file
33
x11vnc-install.sh
Executable file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo apt-get -y install x11vnc
|
||||||
|
|
||||||
|
sudo mkdir /etc/x11vnc
|
||||||
|
|
||||||
|
sudo x11vnc --storepasswd /etc/x11vnc/vncpwd
|
||||||
|
|
||||||
|
sudo bash -c "echo [Unit] >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo Description=Start x11vnc at startup. >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo After=multi-user.target >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo [Service] >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo Type=simple >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo ExecStart=/usr/bin/x11vnc -auth guess -forever -noxdamage -repeat -rfbauth /etc/x11vnc/vncpwd -rfbport 5900 -shared >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo [Install] >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo bash -c "echo WantedBy=multi-user.target >> /lib/systemd/system/x11vnc.service"
|
||||||
|
|
||||||
|
sudo systemctl daemon-reload
|
||||||
|
|
||||||
|
sudo systemctl enable x11vnc.service
|
||||||
|
|
||||||
|
sudo systemctl start x11vnc.service
|
||||||
Loading…
x
Reference in New Issue
Block a user