[Bug 1583364] [NEW] XDM does not work with IceWM
tweej
1583364 at bugs.launchpad.net
Wed May 18 22:30:11 UTC 2016
Public bug reported:
IceWM requires that XDG_DATA_DIRS be set so that libgdk-pixbuf2.0 can
find the MIME cache. This is required to load images/pixmaps used for
icons by IceWM (window decorations, minimize/maximize/close buttons).
Setting XDG_DATA_DIRS appears to be the job of x11-common
(/etc/X11/Xsession.d/60x11-common-xdg_path). x11-common does not set the
XDG_DATA_DIRS environment variable to its default
(DEFAULT_XDG_DATA_DIRS='/usr/local/share/:/usr/share/') if the
DESKTOP_SESSION environment variable is not set by the display manager.
XDM does not set the DESTKOP_SESSION environment variable, so IceWM
windows and the IceWM taskbar do not display correctly since IceWM is
unable to load the required pixmaps/images.
The function which fails is gdk_pixbuf_new_from_file() (called in
IceWM's yimage_gdk.cc), and provides an error message like "Couldn't
recognize the image file format for file
'/usr/share/icewm/themes/icedesert/closeI.xpm'". IceWM "helpfully"
converts this error message to something like "IceWM: Warning: Out of
memory for image /usr/share/icewm/themes/icedesert/closeI.xpm", which is
a separate bug.
Other display managers (GDM, lightdm) do set DESKTOP_SESSION, so IceWM
works as expected with these display managers. Since the combination of
XDM and IceWM does not work, it looks like XDM should be setting the
DESKTOP_SESSION environment variable, at least when configured for use
with IceWM.
** Affects: xdm (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1583364
Title:
XDM does not work with IceWM
Status in xdm package in Ubuntu:
New
Bug description:
IceWM requires that XDG_DATA_DIRS be set so that libgdk-pixbuf2.0 can
find the MIME cache. This is required to load images/pixmaps used for
icons by IceWM (window decorations, minimize/maximize/close buttons).
Setting XDG_DATA_DIRS appears to be the job of x11-common
(/etc/X11/Xsession.d/60x11-common-xdg_path). x11-common does not set
the XDG_DATA_DIRS environment variable to its default
(DEFAULT_XDG_DATA_DIRS='/usr/local/share/:/usr/share/') if the
DESKTOP_SESSION environment variable is not set by the display
manager. XDM does not set the DESTKOP_SESSION environment variable, so
IceWM windows and the IceWM taskbar do not display correctly since
IceWM is unable to load the required pixmaps/images.
The function which fails is gdk_pixbuf_new_from_file() (called in
IceWM's yimage_gdk.cc), and provides an error message like "Couldn't
recognize the image file format for file
'/usr/share/icewm/themes/icedesert/closeI.xpm'". IceWM "helpfully"
converts this error message to something like "IceWM: Warning: Out of
memory for image /usr/share/icewm/themes/icedesert/closeI.xpm", which
is a separate bug.
Other display managers (GDM, lightdm) do set DESKTOP_SESSION, so IceWM
works as expected with these display managers. Since the combination
of XDM and IceWM does not work, it looks like XDM should be setting
the DESKTOP_SESSION environment variable, at least when configured for
use with IceWM.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdm/+bug/1583364/+subscriptions
More information about the foundations-bugs
mailing list