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