From 812505bd0e31db97b7198610cee756fe2ad72035 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 15 May 2012 16:32:57 -0500 Subject: fluxbox: remove linhes specific hotkeys from global key file. Also rename user defined fluxbox.keys for upgrades. refs #830 --- abs/core/fluxbox/PKGBUILD | 5 +++-- abs/core/fluxbox/fluxbox.install | 11 +++++++++++ abs/core/fluxbox/keys | 17 ++++++++--------- 3 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 abs/core/fluxbox/fluxbox.install diff --git a/abs/core/fluxbox/PKGBUILD b/abs/core/fluxbox/PKGBUILD index 01f8f14..4757d26 100644 --- a/abs/core/fluxbox/PKGBUILD +++ b/abs/core/fluxbox/PKGBUILD @@ -3,7 +3,7 @@ pkgname=fluxbox pkgver=1.3.1 -pkgrel=5 +pkgrel=6 pkgdesc="A lightweight and highly-configurable window manager" arch=('i686' 'x86_64') url="http://www.fluxbox.org" @@ -14,6 +14,7 @@ optdepends=('xorg-xmessage: for using the fbsetbg and fluxbox-generate_menu util options=('!makeflags') source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 \ fluxbox.desktop keys fluxbox_fullscreen_focus.patch) +install=fluxbox.install build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -35,5 +36,5 @@ package() { } md5sums=('0eaa940a69c0a876a520bb85d67b8bec' 'eeae9c88a2526ac0bd8afcd9ce97f9ed' - '501a4d423db5493fa2f2e5eb30d72e6f' + 'c6d548dbefd76bad117db23bdf927bcd' '7d2fff845c9f951e925b9adcd1053242') diff --git a/abs/core/fluxbox/fluxbox.install b/abs/core/fluxbox/fluxbox.install new file mode 100644 index 0000000..643dffb --- /dev/null +++ b/abs/core/fluxbox/fluxbox.install @@ -0,0 +1,11 @@ +post_upgrade() { + if [ -e /home/mythtv/.fluxbox/keys ] + then + mv -f /home/mythtv/.fluxbox/keys /home/mythtv/.fluxbox/keys.backup-linhes + echo "#########################################" + echo "Created backup copy of .fluxbox/keys" + echo "fluxbox keys is no longer used for linhes specific shortcuts" + echo "if there were custom user keys, they will need to be restored" + echo "#########################################" + fi +} diff --git a/abs/core/fluxbox/keys b/abs/core/fluxbox/keys index 79abb52..0871a48 100644 --- a/abs/core/fluxbox/keys +++ b/abs/core/fluxbox/keys @@ -28,14 +28,13 @@ Mod1 F9 :Workspace 9 Mod1 F10 :Workspace 10 Mod1 F11 :Workspace 11 Mod1 F12 :Workspace 12 -Mod1 x :ExecCommand tvterm.sh -Mod1 s :ExecCommand mythtv-setup -#Mod1 m :ExecCommand mythfrontend --logfile /var/log/mythtv/mythfrontend.log -Mod1 m :ExecCommand /usr/LH/bin/mythfrontend-start -Mod1 1 :ExecCommand sudo sv start mythbackend -Mod1 2 :ExecCommand sudo sv stop mythbackend -Mod1 3 :ExecCommand sudo sv restart mythbackend -Mod1 h :ExecCommand MythVantage -H -Mod1 Control u :ExecCommand /usr/LH/bin/unclutter-toggle.sh +#Mod1 x :ExecCommand tvterm.sh +#Mod1 s :ExecCommand mythtv-setup +#Mod1 m :ExecCommand /usr/LH/bin/mythfrontend-start +#Mod1 1 :ExecCommand sudo sv start mythbackend +#Mod1 2 :ExecCommand sudo sv stop mythbackend +#Mod1 3 :ExecCommand sudo sv restart mythbackend +#Mod1 h :ExecCommand MythVantage -H +#Mod1 Control u :ExecCommand /usr/LH/bin/unclutter-toggle.sh Mod1 Escape :GotoWindow {1} Mod4 w :Restart wmaker -- cgit v0.12