First Commit
This commit is contained in:
1
Server/kill_lxde
Executable file
1
Server/kill_lxde
Executable file
@@ -0,0 +1 @@
|
||||
sudo killall lxsession
|
1
Server/kill_lxde.sh
Executable file
1
Server/kill_lxde.sh
Executable file
@@ -0,0 +1 @@
|
||||
sudo killall lxsession
|
24
Server/mousemove
Executable file
24
Server/mousemove
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
mousemovefile=/tmp/mousemove
|
||||
|
||||
if [ -f $mousemovefile ];
|
||||
then
|
||||
rm $mousemovefile
|
||||
notify-send "Mouse moves no more" -i /usr/share/icons/gnome/48x48/devices/display.png
|
||||
else
|
||||
notify-send "MouseMoves" -i /usr/share/icons/gnome/48x48/devices/display.png
|
||||
touch $mousemovefile
|
||||
sleep .1
|
||||
while [ -f $mousemovefile ]
|
||||
do
|
||||
xdotool mousemove --sync 0 500
|
||||
# xdotool click 1
|
||||
sleep 3
|
||||
xdotool mousemove_relative --sync 1000 500
|
||||
# xdotool click 1
|
||||
sleep 1
|
||||
done
|
||||
|
||||
elseif
|
||||
sudo killall mousemove
|
||||
fi
|
7
Server/new-ss
Executable file
7
Server/new-ss
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true; do
|
||||
|
||||
xscreensaver-command -activate
|
||||
|
||||
done
|
17
Server/screen_off
Executable file
17
Server/screen_off
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
screenOffLockFile=/tmp/screen-off-lock
|
||||
|
||||
if [ -f $screenOffLockFile ];
|
||||
then
|
||||
rm $screenOffLockFile
|
||||
# notify-send "Screen on." -i /usr/share/icons/gnome/48x48/devices/display.png
|
||||
else
|
||||
touch $screenOffLockFile
|
||||
sleep .5
|
||||
while [ -f $screenOffLockFile ]
|
||||
do
|
||||
xset dpms force off
|
||||
sleep 2
|
||||
done
|
||||
xset dpms force on
|
||||
fi
|
10
Server/screensaveronoff
Executable file
10
Server/screensaveronoff
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
while true;do
|
||||
|
||||
if [ 1=1 ]; then
|
||||
|
||||
xscreensaver-command -activate
|
||||
|
||||
fi
|
||||
done
|
36
Server/screensvv
Executable file
36
Server/screensvv
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
#screensvrlockfile=/tmp/screensvronlock
|
||||
#
|
||||
#if [ -f $screensvronlock ];
|
||||
#then
|
||||
# rm $screensvronlock
|
||||
#else
|
||||
# touch $screensvronlock
|
||||
# sleep .10
|
||||
# while [ -f $screensvronlock ]
|
||||
# do
|
||||
# xscreensaver-command -activate
|
||||
# sleep 3
|
||||
# done
|
||||
#fi
|
||||
|
||||
|
||||
|
||||
|
||||
screensvronlock=/tmp/screensvronlock
|
||||
|
||||
if [ -f $screensvronlock ];
|
||||
then
|
||||
rm $screensvronlock
|
||||
# notify-send "Screen on." -i /usr/share/icons/gnome/48x48/devices/display.png
|
||||
else
|
||||
touch $screensvronlock
|
||||
sleep .6
|
||||
while [ -f $screensvronlock ]
|
||||
do
|
||||
xscreensaver-command -activate
|
||||
sleep 3
|
||||
done
|
||||
fi
|
||||
|
||||
|
10
Server/screensvv.desktop
Executable file
10
Server/screensvv.desktop
Executable file
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=screensvv
|
||||
Comment=
|
||||
Exec=/home/glitchd/screensvv
|
||||
Icon=
|
||||
Path=
|
||||
Terminal=false
|
||||
StartupNotify=false
|
Reference in New Issue
Block a user