Bug#508345: appends /usr/share/gdm to XDG_DATA_DIR without good reason
Will Thompson
will at willthompson.co.uk
Wed Dec 10 12:23:19 UTC 2008
Package: gdm
Version: 2.20.7-4
Severity: normal
>From daemon/slave.c:
/*
* Install GDM desktop files to a non-default desktop file
* location (/usr/share/gdm/applications) and GDM appends
* this directory to the end of the XDG_DATA_DIR environment
* variable. This way, GDM menu choices never appear if
* using a different display manager.
*/
{
char *new_system_data_dirs;
new_system_data_dirs = g_build_path (":",
old_system_data_dirs, DATADIR "/gdm/", NULL);
g_setenv ("XDG_DATA_DIRS", new_system_data_dirs, TRUE);
g_free (new_system_data_dirs);
}
This is intended to give you "launch a new login with gdmflexiserver" menu
items in your desktop environment iff you log in through GDM. But the Debian
package of gdm doesn't install any .desktop files to
/usr/share/gdm/applications; they're all in /usr/share/applications. So every
application which searches XDG_DATA_DIRS searches gdm's directory for no
benefit to anyone.
I guess that either the package should install the .desktop files under
/usr/share/gdm/applications, or this should be patched out?
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.27-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gdm depends on:
ii adduser 3.110 add and remove users and groups
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii gksu 2.0.0-6 graphical frontend to su
ii gnome-session [x-sessi 2.22.3-2 The GNOME 2 Session Manager
ii gnome-terminal [x-term 2.22.3-3 The GNOME 2 terminal emulator appl
ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libattr1 1:2.4.43-1 Extended attribute shared library
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libcairo2 1.8.4-1 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.1-4 simple interprocess messaging syst
ii libdbus-glib-1-2 0.78-1 simple interprocess messaging syst
ii libdmx1 1:1.0.2-3 X11 Distributed Multihead extensio
ii libfontconfig1 2.6.0-3 generic font configuration library
ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib
ii libglade2-0 1:2.6.3-1 library to load .glade files at ru
ii libglib2.0-0 2.18.3-1 The GLib library of C routines
ii libgnomecanvas2-0 2.20.1.1-1 A powerful object-oriented display
ii libgtk2.0-0 2.14.5-1 The GTK+ graphical user interface
ii libpam-modules 1.0.1-4+b1 Pluggable Authentication Modules f
ii libpam-runtime 1.0.1-4 Runtime support for the PAM librar
ii libpam0g 1.0.1-4+b1 Pluggable Authentication Modules l
ii libpango1.0-0 1.22.3-1 Layout and rendering of internatio
ii librsvg2-2 2.22.2-3 SAX-based renderer library for SVG
ii librsvg2-common 2.22.2-3 SAX-based renderer library for SVG
ii libselinux1 2.0.65-5 SELinux shared libraries
ii libwrap0 7.6.q-16 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.1.5-2 X11 client-side library
ii libxau6 1:1.0.3-3 X11 authorisation library
ii libxdmcp6 1:1.0.2-3 X11 Display Manager Control Protoc
ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar
ii libxi6 2:1.1.4-1 X11 Input extension library
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
ii libxml2 2.6.32.dfsg-5 GNOME XML library
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii metacity [x-window-man 1:2.22.0-2 A lightweight GTK2 based Window Ma
ii rxvt-unicode [x-termin 9.06-1 RXVT-like terminal emulator with U
ii twm [x-window-manager] 1:1.0.4-2 Tab window manager
ii xterm [x-terminal-emul 237-1 X terminal emulator
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages gdm recommends:
ii gdm-themes 0.6.1 Themes for the GNOME Display Manag
ii whiptail 0.52.2-11.3 Displays user-friendly dialog boxe
ii xserver-xephyr 2:1.5.3-1 nested X server
ii xserver-xorg 1:7.4~4 the X.Org X server
ii zenity 2.22.1-2 Display graphical dialog boxes fro
Versions of packages gdm suggests:
ii libpam-gnome-keyring 2.22.3-2 PAM module to unlock the GNOME key
ii locales 2.7-16 GNU C Library: National Language (
ii pm-utils 1.1.2.4-1 utilities and scripts for power ma
-- debconf information:
gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm
More information about the pkg-gnome-maintainers
mailing list