Save audio settings on logout
This commit is contained in:
parent
8006e362e3
commit
22280c24af
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
apt -y install xorg xfce4 xfce4-*-plugin xfce4-power-manager network-manager-gnome xfce4-terminal xfce4-screenshooter mousepad netsurf-gtk xautolock xsecurelock qt5-style-plugins
|
apt -y install xorg xfce4 xfce4-*-plugin xfce4-power-manager network-manager-gnome xfce4-terminal xfce4-screenshooter mousepad netsurf-gtk xautolock xsecurelock qt5-style-plugins alsa-utils
|
||||||
apt -y remove xscreensaver
|
apt -y remove xscreensaver
|
||||||
apt -y autoremove
|
apt -y autoremove
|
||||||
apt -y autoclean
|
apt -y autoclean
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=0.9.4
|
||||||
|
Type=Application
|
||||||
|
Name=Audio settings - save (logout)
|
||||||
|
Comment=
|
||||||
|
Exec=sh -c "/usr/sbin/alsactl --file ~/.config/asound.state store"
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
RunHook=1
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=0.9.4
|
||||||
|
Type=Application
|
||||||
|
Name=Audio settings - save (restart)
|
||||||
|
Comment=
|
||||||
|
Exec=sh -c "/usr/sbin/alsactl --file ~/.config/asound.state store"
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
RunHook=3
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Version=0.9.4
|
||||||
|
Type=Application
|
||||||
|
Name=Audio settings - save (shutdown)
|
||||||
|
Comment=
|
||||||
|
Exec=sh -c "/usr/sbin/alsactl --file ~/.config/asound.state store"
|
||||||
|
OnlyShowIn=XFCE;
|
||||||
|
RunHook=2
|
||||||
|
StartupNotify=false
|
||||||
|
Terminal=false
|
||||||
|
Hidden=false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user