Mailinglist Archive: opensuse-features (365 mails)

< Previous Next >
[openFATE 307769] Remove X-KDE-SubstituteUID and edit Exec on YaST2 .dekstop files
  • From: fate_noreply@xxxxxxx
  • Date: Tue, 2 Mar 2010 11:02:57 +0100 (CET)
  • Message-id: <feature-307769-2@xxxxxxxxxxxxxx>
Feature changed by: Andreas Jaeger (a_jaeger)
Feature #307769, revision 2
- Title: remove X-KDE-SubstituteUID and edit Exec on YaST2 .dekstop
+ Title: Remove X-KDE-SubstituteUID and edit Exec on YaST2 .dekstop
files

- openSUSE-11.3: Unconfirmed
+ openSUSE-11.3: Evaluation
Priority
Requester: Mandatory

Requested by: andrea florio (anubisg1)
Partner organization: openSUSE.org

Description:
All YaST .destop files in /usr/share/applications/YaST2 use the
"X-KDE-SubstituteUID" to make them running as root.
X-KDE-SubstituteUID is a KDE only "workaround" for that only KDE is
supposed to
be able to understand.
Really, also GNOME as very famous DE understand that.
All the others DE like XFCE, LXDE, Icewm and so on do not understand
that (and
they are not supposed to do that) so they run all yast2 modules as NON
root
user.
all that Desktop files should edit their exec line and maybe remove
X-KDE-SubstituteUID exactly as has been done with
/usr/share/applications/YaST.desktop into yast2-control-center package.
/usr/share/applications/YaST.desktop content:
[Desktop Entry]
X-SuSE-translate=true
Type=Application
Categories=Settings;System;SystemSetup;X-SuSE-Core-System;X-SuSE-
ControlCenter-System;
Name=YaST
Icon=yast
GenericName=Administrator Settings
Exec=/usr/bin/xdg-su -c /sbin/yast2
#OnlyShowIn=KDE;GNOME;
#X-KDE-SubstituteUID=true
X-KDE-RootOnly=true
X-KDE-System-Settings-Parent-Category=system
X-KDE-ServiceTypes=KCModule
Encoding=UTF-8
as you can see use /usr/bin/xdg-su -c in Exec line, made the .desktop
file DE
independent

Test Case:
https://bugzilla.novell.com/show_bug.cgi?id=540627

Use Case:
any user running a DE different that KDE/GNOME will run al yast2
modules as non root user with all the warnings/errors that came from
that

Business case (Partner benefit):
openSUSE.org: That will increase openSUSE usability for users running a
different DE like XFCE and LXDE, and will be a great step to have that
feature: https://features.opensuse.org/307729 perfectly working


--
openSUSE Feature:
https://features.opensuse.org/307769

< Previous Next >
This Thread
  • No further messages