13 lines
440 B
Bash
13 lines
440 B
Bash
|
add-apt-repository ppa:j/pandora
|
||
|
apt update
|
||
|
apt install python3-ox python3-dev python3-requests ffmpeg mpv libmpv-dev
|
||
|
|
||
|
cat > /etc/acpi/events/powerbtn << EOF
|
||
|
event=button[ /]power
|
||
|
action=/sbin/poweroff
|
||
|
EOF
|
||
|
|
||
|
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend 'false'
|
||
|
gsettings set org.gnome.settings-daemon.plugins.power idle-dim 'false'
|
||
|
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
|