Commit Graph

8 Commits

Author SHA1 Message Date
Mike Fleetwood a2cc5014c6 Move root privilege escalation into gparted wrapper script (#776437)
Move calling of the privilege escalation program which allows a normal
user to run GParted as root from the desktop file into the gparted
wrapper script.  This is in preparation for further changes needed to
grant root access to the X11 display under Wayland.

Don't introduce yet another script so that there aren't two different
names to run GParted by for normal users and root.  Using the same
gparted name but placing two different scripts at /usr/bin/gparted and
/usr/sbin/gparted is not possible because on Arch Linux /usr/sbin is a
symbolic link to /usr/bin.

    Frequently asked questions, Does Arch follow the FHS?
    https://wiki.archlinux.org/index.php/Frequently_asked_questions#Does_Arch_follow_the_FHS.3F

    "Arch Linux follows the file system hierarchy for operating systems
    using the systemd service manager.  See file-hierarchy(7) for an
    explanation of each directory along with their designations.  In
    particular, /bin, /sbin, and /usr/sbin are symbolic links to
    /usr/bin, and /lib (and /lib64 if applicable) are symbolic links to
    /usr/lib".

Bug 776437 - GParted fails to run as root under Wayland
2017-09-01 10:14:20 -06:00
Richard Hughes 366670faf6 Add keywords to the desktop file 2014-12-18 17:57:36 +00:00
Curtis Gedak f1df2e18bc Correct desktop files for name and generic name entries (#600048)
This change was performed to align with a GNOME goal:
http://live.gnome.org/GnomeGoals/CorrectDesktopFiles
2009-11-02 13:57:25 -07:00
Curtis Gedak 8691ef3925 Added additional Filesystem category.
svn path=/trunk/; revision=1041
2009-01-24 18:18:58 +00:00
Curtis Gedak 9881f1c78d Enable device passing with gnome-desktop-item-launch
svn path=/trunk/; revision=973
2008-11-20 17:24:41 +00:00
Curtis Gedak 946810f9ca Added check for gksu for gparted menu invocation
svn path=/trunk/; revision=870
2008-07-23 17:56:57 +00:00
Curtis Gedak 8f40d64347 Removed gksu from exec line as not supported in all major GNU/Linux distributions
svn path=/trunk/; revision=835
2008-04-26 20:35:58 +00:00
Curtis Gedak 605e1f4cdc Fixed bug #324220 with the following changes:
- Removed gparted-disable-automount.fdi handling.
- Renamed gparted binary to gpartedbin to permit a calling script to be named gparted.
- Added new calling script gparted.in to permit using hal-lock to acuiqre device locks to prevent automounting while executing gpartedbin.
- Renamed gparted.desktop.in to gparted.desktop.in.in to permit parsing installdir.

svn path=/trunk/; revision=826
2008-04-21 15:22:00 +00:00