Mailinglist Archive: yast-devel (101 mails)

< Previous Next >
[yast-devel] Update of (almost) all .desktop files
  • From: Katarina Machalkova <kmachalkova@xxxxxxx>
  • Date: Thu, 14 Jan 2010 12:02:40 +0100
  • Message-id: <201001141202.44645.kmachalkova@xxxxxxx>
YaST hackers,

this is JFYI, I've just svn-committed changes to most of those YaST modules
that contain .desktop files. A .desktop file eligible for the update calls
/sbin/yast2 (Exec=/sbin/yast2 $foo) and requires root privileges (X-SUSE-YaST-
RootOnly = true).

Now /sbin/yast2 calls in root-only modules are wrapped in xdg-su and X-KDE-
SubstituteUID lines [1] are therefore no longer needed, thus they have been
removed.

This is a step towards desktop interoperability (a new buzzword, eh? :) ) and
it makes YaST modules launchable from desktop menus or icons in any desktop
environment, including "minor" players in this field such as XFCE or LXDE
(this was possible even before, but without DE-independent way of prompting
for root passwd provided by xdg-su, all but 7 YaST modules were of little use
with non-root user privileges)

As the change is about to affect openSUSE 11.3, I'm not going to do a mass
submitreq with all modified packages. It's up to you to decide whether to
submit this change to OBS along with other pending changes some time in the
future, or whether to push now (in case you don't see any other
bugfixes/features for that package coming)

References:
https://bugzilla.novell.com/show_bug.cgi?id=540627
https://bugzilla.novell.com/show_bug.cgi?id=525876
http://lists.opensuse.org/yast-devel/2009-10/msg00038.html
http://lists.opensuse.org/yast-devel/2009-10/msg00052.html

fB.

[1] X-KDE-SubstituteUID tells KDEsktop to ask for root passwd before launching
this application. X-KDE prefix suggestsis that this is KDE-specific key and
other DEs may ignore it. Most of them really do, including upstream GNOME
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
< Previous Next >
This Thread
  • No further messages