summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-02-26 20:52:54 +0000
committerJonas Smedegaard <dr@jones.dk>2006-02-26 20:52:54 +0000
commitd6ce834bb7a9b744ebc5394e1d0e3394a7fcecd6 (patch)
tree41f8d3cf8f38a1bb65bf6e4da22d03c5a293bea0 /apt
parent1d584a2dc38ef656832422a4e712af32e52365cc (diff)
Prefer urxvt. Add configfile for later more flexible implementation...
Diffstat (limited to 'apt')
-rwxr-xr-xapt/apt.conf.d/99-local-set-preferred-x-terminal-emulator2
-rwxr-xr-xapt/apt.conf.d/99-local-set-preferred-x-www-browser4
-rw-r--r--apt/apt.conf.d/preferred-alternatives.conf3
3 files changed, 6 insertions, 3 deletions
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
index 531137b..d047745 100755
--- a/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator
+++ b/apt/apt.conf.d/99-local-set-preferred-x-terminal-emulator
@@ -2,5 +2,5 @@
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";};
+Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/urxvt ]; then /usr/sbin/update-alternatives --set x-terminal-emulator /usr/bin/urxvt; else exit 0; fi";};
};
diff --git a/apt/apt.conf.d/99-local-set-preferred-x-www-browser b/apt/apt.conf.d/99-local-set-preferred-x-www-browser
index 8cc71c0..afebe60 100755
--- a/apt/apt.conf.d/99-local-set-preferred-x-www-browser
+++ b/apt/apt.conf.d/99-local-set-preferred-x-www-browser
@@ -1,6 +1,6 @@
-// We prefer mozilla-firefox over other alternatives (goddammit!)
+// We prefer firefox over other alternatives (goddammit!)
DPkg
{
-Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/mozilla-firefox ]; then /usr/sbin/update-alternatives --set x-www-browser /usr/bin/mozilla-firefox; else exit 0; fi";};
+Post-Invoke {"if [ -x /usr/sbin/update-alternatives ] && [ -x /usr/bin/firefox ]; then /usr/sbin/update-alternatives --set x-www-browser /usr/bin/firefox; else exit 0; fi";};
};
diff --git a/apt/apt.conf.d/preferred-alternatives.conf b/apt/apt.conf.d/preferred-alternatives.conf
new file mode 100644
index 0000000..c0ddd52
--- /dev/null
+++ b/apt/apt.conf.d/preferred-alternatives.conf
@@ -0,0 +1,3 @@
+x-session-manager /usr/bin/gnome-session
+x-terminal-emulator /usr/bin/urxvt /usr/bin/rxvt-xterm
+x-www-browser /usr/bin/firefox /usr/bin/mozilla-firefox