diff options
-rwxr-xr-x | apt/apt.conf.d/99-local-set-preferred-x-session-manager | 6 | ||||
-rwxr-xr-x | apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/apt/apt.conf.d/99-local-set-preferred-x-session-manager b/apt/apt.conf.d/99-local-set-preferred-x-session-manager new file mode 100755 index 0000000..1af9f2b --- /dev/null +++ b/apt/apt.conf.d/99-local-set-preferred-x-session-manager @@ -0,0 +1,6 @@ +// Force keep my preferred alternatives (goddammit!) + +DPkg +{ +Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/gnome-session ]; then /usr/sbin/update-alternatives --set x-session-manager /usr/bin/gnome-session; else exit 0; fi";}; +}; diff --git a/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator b/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator new file mode 100755 index 0000000..411160c --- /dev/null +++ b/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator @@ -0,0 +1,6 @@ +// Force keep my preferred alternatives (goddammit!) + +DPkg +{ +Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/rxvt-xterm ]; then /usr/sbin/update-alternatives --set x-terminal-emulator /usr/bin/rxvt-xterm; else exit 0; fi";}; +}; |