FS#54560 - [gksu] non-functional gksu.desktop
Attached to Project:
Arch Linux
Opened by Bernhard Landauer (oberon) - Friday, 23 June 2017, 13:23 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 28 June 2017, 21:50 GMT
Opened by Bernhard Landauer (oberon) - Friday, 23 June 2017, 13:23 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 28 June 2017, 21:50 GMT
|
Details
The original gksu.desktop file includes
Exec=gksu /usr/bin/x-terminal-emulator I understand that we don't have that. Currently the PKGBUILD has the command replaced with gksu -l gnome-terminal Unfortunately this appears to be not working: $ gksu -l gnome-terminal Unable to init server: Could not connect: Connection refused Failed to parse arguments: Cannot open display: or without login option: $ gksu gnome-terminal Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error spawning command line “dbus-launch --autolaunch=f6b9df331ace45a291ce0979d0b0a66c --binary-syntax --close-stderr”: Child process exited with code 1 So the launcher 'Root Terminal' doesn nothing. Instead what would be working: gksu dbus-launch gnome-terminal Although even better I think it would be to not assume gnome-terminal is necessarily always installed. How about gksu dbus-launch $TERM ? |
This task depends upon
Gksu is als severely broken with wayland, so maybe we should kill the whole package and not just the desktop launcher.