|
转贴: f{V:Jh|=
X11 comes with unattractive mouse cursors, but it’s trivial to replace them with other themes. In this article I’ll explain how to install mouse cursors system-wide or for a single user, and give you links to my favorite cursor themes. )B<p7N+
)_`>.If7
Nicely crafted mouse cursors are very important for usability, in my opinion. I need my mouse cursors to be unobtrusive, yet really easy to see. They need to be easy to find without peering at the screen or waving the mouse wildly, and easy to use precisely on every kind of background. Smooth, beautiful cursors are a definite plus. 'LR1iZb6
_xfO%{\|
Themes are supported in XFree86 4.3 or newer. All versions of xorg, the successor to XFree86, support themes. I hope you’re using xorg by this time. xlx3VOp63
Available mouse cursor themes ds+C\ /?{
0<"}`>/
Many themes are available — a great site to look for them is KDE look. In my opinion, and this is only my opinion, most cursor themes are something only a mother could love. I don’t even like the “high-quality” cursors packaged specifically for Gentoo. "=G
~a2
aTjQ-
Then again, maybe I’m not like most folks. I like very minimal and functional things with as little clutter as possible. When I look at screenshots of other people’s desktops cluttered with a million windows and root-tail displays, transparent terminals and a huge gkrellm window along the side displaying system load, all I can think of is attention deficit disorder. I like XFCE with nothing but a taskbar showing, or Fluxbox, or even Ratpoison. Heck, I’m happy with just a terminal and a screen session. But, that’s just me. RV,l bG$c[
~v *sryb,
I digress — back to beautiful cursors. I think the neutral cursor theme is very nice, but I like the Red Hat 9 cursors even better. The I-beam is thinner, the default arrow has a single-pixel black tip when in front of a white background for precision, and the busy cursor is less distracting. On the plus side, both themes are very straightforward and plain, yet highly attractive and usable.
.;~Y1,EL
{9c5Y<?
If you like the looks of these but prefer colorful cursors, the jaguarx cursor theme is very similar, but has color added. And if you want to mix and match cursors from different themes, well, they’re just files — make your own! It’s really easy. 7wgi+%#oZ
|eDZ
ZIV
These themes are licensed under the GPL, so I’m free to redistribute them, a liberty I’m happy to take. I’ve provided links below for your convenience: aN5Pm[
!1m<wfC
1. Neutral cursor theme kqgv&oDu
2. Another (older?) version of the neutral cursor theme @|7V0lv
3. Red Hat 9 cursor theme bhZ'.^i
4. Jaguarx cursor theme >Zs3^|/bST
3+yl~bKZ!
Installation options iSE7ruCa
6bJoU$(
There are three basic ways to install the themes: 'W5J4]
6 0":[=U
1. System-wide Ay)D,;5x
2. System-wide in the local directory ZbN9qjK
3. For one user only k
t:7xjiw
~S1T8 >xdA
System-wide installations place the cursors in subdirectories of /usr/share/cursors/xorg-x11. System-wide in the local directory means placing them in /usr/local/share/cursors/xorg-x11. The difference is /usr/share/ installations will get cleaned out by installation and package management systems, so unless you install them through your distribution’s package management system, you may lose them when upgrading X11. /usr/local/share installations won’t get wiped out when upgrading your system. Ym1^hQ1
ua:A:_Y
Single-user installations require no access to system directories, so a non-root user can alter his or her own theme easily, and even take it from computer to computer. In this case, the themes are placed in subdirectories in ~/.icons/. J}R$`(
UF>yoqr!
User-specific settings override local settings, which override system-wide settings. '6|gH<!M
Installing the theme J}YlS`
lks v8l5?
To install a theme, download the theme and unpack it. You should have a directory structure like the following: 7V;Y=%
^0e!s;u
* theme_name G)8b&'t+
o index.theme *UGw4b Y
o cursors kKR[9e!?
+ cursor files… &I{{ViY
y|
sP-Yx| s
Move the entire theme_name directory to the installation destination: /usr/share/cursors/xorg-x11/, /usr/local/share/cursors/xorg-x11/, or ~/.icons/. S3kt`K D
FYs"X)
In Gentoo, you can install packages from Portage as usual: emerge blueglass-xcursors. rz yMid
Choosing a default theme 4G'6Cv*N
trkaQ&|
There’s a concept of a default theme. The default theme is located in the default/ subdirectory of wherever you’ve installed your theme. This is how the system decides which theme to use — it uses the “default” theme. It reads the index.theme file and looks at it. \,.|QR}/M
c0<uOZ4
If you installed your theme system-wide or system-wide local, you need to edit the /usr/share/cursors/xorg-x11/default/index.theme or the /usr/local/share/cursors/xorg-x11/default/index.theme file. Specify the default theme should inherit from the theme you want to use. For example, here is the default X11 theme if you haven’t specified anything else: 'xi7><RA
bLzV[42Z
[Icon Theme] "MMKmsaQWU
Inherits=core h!(|H?|~
g*%Ao]k
That file tells X11 to use the core cursor theme — the one built right into X11 itself. If you want to use the neutral theme instead, edit the file thusly: ahkE6O"DOx
@g2fK_F
[Icon Theme] 6G{gjC
Inherits=neutral hM3A(Mup
"D8]hn)
If you installed the theme in your ~/.icons/ directory, you can do several different things: QF1x8 x0t
F>3r`twX{
* Rename the theme directory from theme_directory to default. a)i\RY-S
* Leave your themes in their original directories, and make a default directory and create in it a single file called index.theme with the contents as shown just above. J%F,ae2h
* Leave your themes in their original directories, and make a symlink named default to the theme directory. For instance, ln -sfnT ~/.icons/redhat9cursors/ ~/.icons/default. yB2mQq
2btyFC
I like the last option, because it never leaves me in doubt about which theme I’m really using. dOg5B%
|
一共有 7 条评论
发表评论