ALT Linux Bugzilla
– Attachment 5341 Details for
Bug 27015
xdg-su don't work in LXDE
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
xdg-su-xsu.patch
xdg-su-xsu.patch (text/plain), 769 bytes, created by
Zerg
on 2012-03-01 14:08:39 MSK
(
hide
)
Description:
xdg-su-xsu.patch
Filename:
MIME Type:
Creator:
Zerg
Created:
2012-03-01 14:08:39 MSK
Size:
769 bytes
patch
obsolete
>--- /usr/bin/xdg-su~ 2012-02-17 09:33:01.000000000 +0400 >+++ /usr/bin/xdg-su 2012-03-01 13:57:19.815970969 +0400 >@@ -357,6 +357,21 @@ su_gnome() > > su_generic() > { >+ XSU=`which gksu 2>/dev/null` >+ if [ $? -eq 0 ] ; then >+ if [ -z "$user" ] ; then >+ $XSU "$cmd" >+ else >+ $XSU -u "$user" "$cmd" >+ fi >+ >+ if [ $? -eq 0 ]; then >+ exit_success >+ else >+ exit_failure_operation_failed >+ fi >+ fi >+ > if [ -z "$user" ] ; then > xterm -geom 60x5 -T "xdg-su: $cmd" -e su -c "$cmd" > else >@@ -412,7 +427,7 @@ fi > detectDE > > if [ x"$DE" = x"" ]; then >- XSU=`which xsu 2>/dev/null` >+ XSU=`which gksu 2>/dev/null` > if [ $? -eq 0 ] ; then > DE=generic > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27015
:
5340
|
5341
|
5360
|
5361
|
5365