Bug#505114: gksu should suggest x-terminal-emulator; gksu menu should depend on it.
Frank Lin PIAT
fpiat at klabs.be
Sun Nov 9 16:08:34 UTC 2008
Package: gksu
Version: 2.0.0-5
Severity: normal
If someone isntall a minimalistic X environment (for example, by installing
a "base system", then "apt-get install gdm"), then no x-terminal-emulator
is installed.
Even though it is sensible to have x-terminal-emulator with gksu, it isn't
completly required either (for instance, gdm requires gksu to run its
configuration interface).
Therefore:
* gksu should Recommend or Suggest x-terminal-emulator
* gksu.desktop should use "TryExec: x-terminal-emulator" to hide the
icon if no xterm is available (see patch attached).
Thanks,
Franklin
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gksu depends on:
ii gnome-keyring 2.22.3-2 GNOME keyring services (daemon and
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-15 GNU C Library: Shared libraries
ii libcairo2 1.6.4-6.1 The Cairo 2D vector graphics libra
ii libgconf2-4 2.22.0-1 GNOME configuration database syste
ii libgksu2-0 2.0.7-1 library providing su and sudo func
ii libglib2.0-0 2.16.6-1 The GLib library of C routines
ii libgnome-keyring0 2.22.3-2 GNOME keyring services library
ii libgtk2.0-0 2.12.11-4 The GTK+ graphical user interface
ii liborbit2 1:2.14.13-0.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.20.5-3 Layout and rendering of internatio
ii libstartup-notification0 0.9-1 library for program launch feedbac
ii sudo 1.6.9p17-1 Provide limited super user privile
gksu recommends no packages.
gksu suggests no packages.
-- no debconf information
-------------- next part --------------
--- gksu-orig.desktop 2008-11-09 16:59:01.000000000 +0100
+++ gksu.desktop 2008-11-09 16:55:38.000000000 +0100
@@ -27,6 +27,7 @@
Comment[pt_BR]=Abre um terminal como usu?rio root, usando o gksu para pedir a senha
Comment[sv]=?ppnar en terminal som root-anv?ndaren och anv?nder gksu f?r att fr?ga efter l?senordet
Encoding=UTF-8
+TryExec=x-terminal-emulator
Exec=gksu /usr/bin/x-terminal-emulator
Icon=gksu-root-terminal
StartupNotify=true
More information about the pkg-gnome-maintainers
mailing list