Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81851 - xorg-x11: clarify local cursor settings einfo
Summary: xorg-x11: clarify local cursor settings einfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 06:12 UTC by Michiel de Bruijne
Modified: 2005-02-13 14:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel de Bruijne 2005-02-13 06:12:35 UTC
After an xorg-x11 upgrade the cursor-setting is overwritten without any notification. Adding /usr/share/cursors/xorg-x11/default to CONFIG_PROTECT in /etc/env.d/10xorg will take care of this.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-13 13:32:04 UTC
That's because the ebuild specifically tells you that you should be using /usr/local/share/cursors/xorg-x11/ for your local system defaults.

        einfo "Please note that the xcursors are in /usr/share/cursors/${PN}"
        einfo "Any custom cursor sets should be placed in that directory"
        echo
        einfo "If you wish to set system-wide default cursors, please set"
        einfo "them in /usr/local/share/cursors/${PN} so that future"
        einfo "emerges will not overwrite those settings"
Comment 2 Michiel de Bruijne 2005-02-13 14:21:46 UTC
This is a typical situation when the feature from bug #11359 would be nice ;-)

Nevertheless if you expect from the users to use /usr/local/share/cursors/${PN} then the cursor-ebuilds need to change. To give you an example from x11-themes/blueglass-xcursors;

einfo "To globally use this set of mouse cursors edit the file:"
einfo "   /usr/share/cursors/${X11_IMPLEM}/default/index.theme"
einfo "and change the line:"
einfo "    Inherits=[current setting]"
einfo "to"
einfo "    Inherits=Blue"

The cursor-ebuilds suggests putting it in /usr/share/cursors/${X11_IMPLEM}/default/index.theme.

Also if you want users to set the system-wide default cursors in /usr/local/share/cursors/${PN} I think you need to be a little more verbose in the xorg-x11 einfo. Maybe something like this (assuming that this is the correct way to do it);

einfo "If you wish to set system-wide default cursors, please create the following"
einfo "directory: /usr/local/share/cursors/${PN}/default"
einfo "in this directory create a file index.theme with the following content"
einfo "Inherits=<name of cursor-theme>"
einfo " so that future emerges will not overwrite the cursor settings"

Unfortunatelly unless bug #11359 is resolved a few people will see this message, because most of the times xorg-x11 is pulled in as a dependency.

Can you confirm/decline that the procedure described above is the right way to set system-wide default cursors? Thanks a lot for your support!
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-13 14:32:37 UTC
K, added some info like what you requested.

The cursor ebuilds are giving incorrect info if they aren't referring to the /usr/local parallel of /usr/share/cursors. Please file bugs on them.
Comment 4 Michiel de Bruijne 2005-02-13 14:52:11 UTC
bug #81920