mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-08-27 11:40:03 +00:00
Use gksudo, if available, in gparted.desktop
If gksu was installed on a KDE system (tested with kubuntu 12.04 LTS), then gksu would prompt for the password three times and always fail to load gparted. In a prior version of kubuntu 8.04 LTS, gksu would properly invoke gparted from the "K --> System --> GParted" menu entry. Since gksudo also works on KDE (and kubuntu 12.04 LTS), add gksudo to the root privilege invocation search list ahead of gksu. Note that gksu has been kept for backwards compatibility with systems that provide only gksu and not gksudo. Related to Bug #687813 - Use kdesudo on KDE, as gksu is not installed by default
This commit is contained in:
parent
ec4a2ac09b
commit
88a2939880
9
README
9
README
|
@ -184,10 +184,13 @@ These commands include:
|
|||
{filemanager} - used in attempt data rescue to display discovered
|
||||
file systems. (e.g., nautilus, pcmanfm)
|
||||
hal-lock - used to prevent automounting of file systems
|
||||
gksu - used to acquire root privileges in .desktop file,
|
||||
gksudo - used to acquire root privileges in .desktop file,
|
||||
but only if available when gparted source is configured.
|
||||
kdesudo - also used to acquire root privileges in .desktop
|
||||
file if gksu not available, but only if available
|
||||
gksu - alternatively used to acquire root privileges in .desktop
|
||||
file if gksu not available, but only if available when
|
||||
gparted source is configured.
|
||||
kdesudo - alternatively used to acquire root privileges in .desktop
|
||||
file if gksudo and gksu not available, but only if available
|
||||
when gparted source is configured.
|
||||
udevinfo - used in dmraid to query udev name
|
||||
udevadm - used in dmraid to query udev name
|
||||
|
|
|
@ -19,7 +19,7 @@ AM_PROG_LIBTOOL
|
|||
dnl======================
|
||||
dnl checks for other programs
|
||||
dnl======================
|
||||
AC_CHECK_PROGS([GKSUPROG], [gksu kdesudo], [])
|
||||
AC_CHECK_PROGS([GKSUPROG], [gksudo gksu kdesudo], [])
|
||||
|
||||
|
||||
dnl======================
|
||||
|
|
Loading…
Reference in a new issue