diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-09-15 13:59:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-09-15 13:59:44 +0000 |
commit | 8e143f533ad20ac85ce440fbb209c326c248a26e (patch) | |
tree | 3d77cb1126849b1185cc2dfbdcfffcbc7632ca59 /perl-install/any.pm | |
parent | 8e710542767cb41984467db36145811b2032749a (diff) | |
download | drakx-backup-do-not-use-8e143f533ad20ac85ce440fbb209c326c248a26e.tar drakx-backup-do-not-use-8e143f533ad20ac85ce440fbb209c326c248a26e.tar.gz drakx-backup-do-not-use-8e143f533ad20ac85ce440fbb209c326c248a26e.tar.bz2 drakx-backup-do-not-use-8e143f533ad20ac85ce440fbb209c326c248a26e.tar.xz drakx-backup-do-not-use-8e143f533ad20ac85ce440fbb209c326c248a26e.zip |
set ICEAUTHORITY for "gnome-session-save --kill"
(it would be better to set it in usermode, but it works :)
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index f5dc1602a..9f0d16f10 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -940,6 +940,7 @@ sub ask_window_manager_to_logout { 'wmaker' => "killall -USR1 wmaker", ); my $cmd = $h{$wm} or return; + $ENV{ICEAUTHORITY} ||= "$ENV{HOME}/.ICEauthority"; #- used by gnome-session $cmd = "su $ENV{USER} -c '$cmd'" if $wm eq 'kwin' && $> == 0; system($cmd); 1; |