[Portland-bugs] [Bug 54941] Improve MATE Desktop integration with xdg-su

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 16 12:07:14 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=54941

--- Comment #4 from Nelson Marques <nmo.marques at gmail.com> 2012-09-16 19:07:14 UTC ---
(In reply to comment #3)
> meh, I guess it doesn't hurt anything either :-/
> 
> committed,
> http://cgit.freedesktop.org/xdg/xdg-utils/commit/?id=8f92ae1b0c1253727873394cacfb42ab5ef26e02

Rex,

Actually this part of the patch does all the magic:

diff --git a/scripts/xdg-su.in b/scripts/xdg-su.in
index 6bd229a..6c5a124 100644
--- a/scripts/xdg-su.in
+++ b/scripts/xdg-su.in
@@ -155,7 +155,7 @@ case "$DE" in
     su_kde
     ;;
-    gnome*|lxde)
+    gnome*|lxde|mate)
     su_gnome
     ;;






>From my experience, if this isn't changed, then YaST will fail to find any
valid handler and thus won't work (the password popup never comes);

nmarques at mantis:~> /sbin/YaST2
xdg-su: no graphical method available for invoking '/sbin/yast2 sw_single' as
'root'

By adding the patch above... then everything works; there's further impact; for
example with keyring and NetworkManager accessing passwords.

With this change I don't find more erratic behavior.

Regarding your commit and my previous hack, I've tested it further in the last
days and actilly only the part transcribed above works, so it's probably more
cleaner.

Thanks for this.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Portland-bugs mailing list