Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 81920 | Differences between
and this patch

Collapse All | Expand All

(-)golden-xcursors-0.8.ebuild (-9 / +25 lines)
Lines 28-50 Link Here
28
}
28
}
29
29
30
pkg_postinst() {
30
pkg_postinst() {
31
	X11_IMPLEM_P="$(best_version virtual/x11)"
32
	X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
33
	X11_IMPLEM="${X11_IMPLEM##*\/}"
34
31
	einfo "To use this set of cursors, edit or create the file ~/.Xdefaults"
35
	einfo "To use this set of cursors, edit or create the file ~/.Xdefaults"
32
	einfo "and add the following line:"
36
	einfo "and add the following line:"
33
	einfo "Xcursor.theme: Gold"
37
	einfo "Xcursor.theme: Gold"
34
	einfo ""
38
	einfo ""
35
	einfo "Also, you can change the size by adding a line like:"
39
	einfo "You can change the size by adding a line like:"
36
	einfo "Xcursor.size: 48"
40
	einfo "Xcursor.size: 48"
37
	einfo ""
41
	einfo ""
38
	einfo ""
42
	einfo "Also, to globally use this set of mouse cursors edit the file:"
39
	einfo "To globally use this set of mouse cursors edit the file:"
43
	einfo "   /usr/local/share/cursors/${X11_IMPLEM}/default/index.theme"
40
	einfo "   /usr/share/cursors/${X11_IMPLEM}/default/index.theme"
41
	einfo "and change the line:"
44
	einfo "and change the line:"
42
	einfo "   Inherits=[current setting]"
45
	einfo "    Inherits=[current setting]"
43
	einfo "to"
46
	einfo "to"
44
	einfo "   Inherits=Gold"
47
	einfo "    Inherits=Gold"
45
	einfo "Note this will be overruled by a user's ~/.Xdefaults file"
48
	einfo ""
49
	einfo "Note this will be overruled by a user's ~/.Xdefaults file."
46
	einfo ""
50
	einfo ""
47
	ewarn "If you experience flickering, try setting the following line in"
51
	ewarn "If you experience flickering, try setting the following line in"
48
	ewarn "the Device section of your XF86Config:"
52
49
	ewarn "Option  \"HWCursor\"  \"false\""
53
	case ${X11_IMPLEM} in
54
	xfree)
55
		ewarn "the Device section of your XF86Config file:"
56
		;;
57
	xorg-x11)
58
		ewarn "the Device section of your xorg.conf file:"
59
		;;
60
	*)
61
		ewarn "the Device section of your X11 config file:"
62
		;;
63
	esac
64
65
	ewarn "    Option  \"HWCursor\"  \"false\""
50
}
66
}

Return to bug 81920