Wic*_*cky 6 mouse themes cursor
我尝试安装一个新的鼠标光标并将解压缩/tarred 文件放在名为~/.icons
.
我使用 gnome-tweak-tool 选择了主题,但它不会正确更改。默认光标不会改变,其余的都会改变。我已经尝试过这种通过gksu gedit /usr/share/icons/default/index.theme
. 我已经尝试过使用 gnome-tweak-tool、ubuntu 调整、gconf-editor 甚至sudo update-alternatives --config x-cursor-theme
,但是当我尝试这种方法时,我的鼠标光标甚至没有出现在列表中。如何将我的新鼠标光标添加到此列表中?
我相信您必须将主题移动到/usr/share/icons
目录才能使其工作。
此外,您必须找到要安装的主题的index.theme
(或任何.theme
文件)并将其添加到update-alternatives
使用--install
选项中。
让我们以主题ComixCursors-LH-White-Small为例(来自包comixcursors-lefthanded 的左手光标主题)。它的
index.theme
文件看起来像
[Icon Theme]
Name = Comix Cursor LH White Small Bold
Comment = The left-handed Comix Cursors - White Small Bold
Example = default
Run Code Online (Sandbox Code Playgroud)
但它应该有Inherits
一行等于/usr/share/icons
保存主题的目录,否则它将不起作用。所以添加
Inherits = ComixCursors-LH-White-Small
Run Code Online (Sandbox Code Playgroud)
现在说说update-alternatives
你的新主题
sudo update-alternatives --install /usr/share/icons/default/index.theme x-cursor-theme /usr/share/icons/ComixCursors-LH-White-Small/index.theme 91
Run Code Online (Sandbox Code Playgroud)
您应该将倒数第二个参数更改为index.theme
主题的 。如果你正确地做到了这一点
sudo update-alternatives --config x-cursor-theme
Run Code Online (Sandbox Code Playgroud)
应该显示您的新主题,并且在注销和登录后,您的新主题应该被应用。