xdm does not respect x-cursor-theme from update-alternatives

Bug #443002 reported by Rich Wareham
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xdm

The default Xresources file shipped with xdm hard-codes the use of the Xcursor 'whiteglass' theme rather than respecting the default set via update-alternatives --config x-cursor-theme.

This wouldn't be so bad except that, when using a lightweight window manager or non GNOME/KDE apps, the whiteglass cursors can persist on the root window and can cause inconsistency between e.g. GNOME apps and plain X apps such as xterm.

The attached patch simply removes the hard-coded theme from xdm's Xdefaults file and causes X to fall back to the default x-cursor-theme alternative.

The patch is purely configuration but since Ubuntu provides a mechanism to configure a system-wide Xcursor theme, we should probably respect it.

Related branches

Revision history for this message
Rich Wareham (richwareham) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for providing a patch for this issue. I would encourage you to also send this upstream.

One question I have is will there always be a default x-cursor-theme? If not, then what will be the default in that case?

Changed in xdm (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdm - 1:1.1.8-6ubuntu1

---------------
xdm (1:1.1.8-6ubuntu1) karmic; urgency=low

  * Add 100_no_whiteglass.patch: Don't hardcode the default Xcursor theme
    to whiteglass. Use the Ubuntu default x-cursor-theme instead.
    (LP: #443002)

 -- Bryce Harrington <email address hidden> Tue, 06 Oct 2009 19:42:52 -0700

Changed in xdm (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Rich Wareham (richwareham) wrote :

AFAIUI if there is no x-cursor-theme specified, X will fall back to the good ol' cursor font (black arrow) since XDM does request an arrow cursor. I don't think one will get the dreaded 'X' cursor.

Revision history for this message
Simon (simon-floery) wrote :

It seems that above patch has not been applied. Latest xdm package (1:1.1.8-6ubuntu1) still hard codes cursor theme.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.