summaryrefslogtreecommitdiffstats
path: root/move/tree/mdk_behind_totem
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-06-15 10:29:18 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-06-15 10:29:18 +0000
commit2ace1ea3a747da72321c6b40feb8a48dfe334989 (patch)
treefe28561ee68c0b2c68e884cf978755766249795b /move/tree/mdk_behind_totem
parent447d889a17de502a2f5488dab81d5243cf3c3f9d (diff)
downloaddrakx-2ace1ea3a747da72321c6b40feb8a48dfe334989.tar
drakx-2ace1ea3a747da72321c6b40feb8a48dfe334989.tar.gz
drakx-2ace1ea3a747da72321c6b40feb8a48dfe334989.tar.bz2
drakx-2ace1ea3a747da72321c6b40feb8a48dfe334989.tar.xz
drakx-2ace1ea3a747da72321c6b40feb8a48dfe334989.zip
kill kde desktop and kicker when mdk_totem is launched, then restore them
(kded pb still there?)
Diffstat (limited to 'move/tree/mdk_behind_totem')
-rwxr-xr-xmove/tree/mdk_behind_totem11
1 files changed, 9 insertions, 2 deletions
diff --git a/move/tree/mdk_behind_totem b/move/tree/mdk_behind_totem
index 62618ea93..3cd68f788 100755
--- a/move/tree/mdk_behind_totem
+++ b/move/tree/mdk_behind_totem
@@ -19,6 +19,11 @@ while [ -n "$1" ]; do
shift
shift
;;
+ --user)
+ USER="$2"
+ shift
+ shift
+ ;;
*)
ok=''
shift
@@ -68,8 +73,10 @@ mount_cd() {
mdk_move_loop to_cdrom always always_i18n totem nvidia
- # tell kicker that it should refetch menu's icons
- dcop kicker ksycoca notifyDatabaseChanged '(' ')'
+ # restore killed kde apps
+ su -c kded $USER
+ su -c kicker $USER
+ su -c kdesktop $USER
}
while [ -e "/proc/$totem_pid" ]; do