[Others] DEEPIN V25 fcitx5安装皮肤/usr/share/fcitx5/themes/只读问题
Tofloor
poster avatar
SOARLIN
deepin
2025-06-22 22:32
Author

从Github使用命令方式安装ficitx的皮肤过程中提示theme目录为只读,无法安装, 请大神帮忙给出解决办法。Linux纯小白,工具或是命令请详细列出,谢谢!

以下为皮肤的相关信息:

仿macos12的fcitx5输入法框架皮肤

安装

git clone https://github.com/witt-bit/fcitx5-theme-macos12.git

深色

cp -r fcitx5-theme-macos12/macos12-dark /usr/share/fcitx5/themes/

亮色

cp -r fcitx5-theme-macos12/macos12-light /usr/share/fcitx5/themes/

Reply Favorite View the author
All Replies
荔枝使
deepin
2025-06-22 22:38
#1

需要先关闭磐石系统的写保护,命令如下

sudo deepin-immutable-writable enable -d /usr

Reply View the author
SOARLIN
deepin
2025-06-22 23:14
#2

非常感谢,

这是恢复的办法,省流:

Q7:如何重新开启磐石系统的“只读保护”?

若您想要重新开启磐石系统的“只读保护”,请参考以下命令,命令将在重启后生效。

  • deepin 25 Alpha 及后续版本
sudo deepin-immutable-writable disable
​
  • deepin 25 Preview
 deepin-immutable-ctl disable-system-protect disable

用AI搜索恢复的命令,

sudo deepin-immutable-writable disable -d /usr

碰到了终端中提示:

Execute failed: unknown shorthand flag: 'd' in -d

如果要恢复之前的状态,请参照上面的内容恢复。

Reply View the author
qq4945286
deepin
2025-06-22 23:59
#3

要入到这个路径下面才有效

~/.local/share/fcitx5/themes

如果没有themes目录就自己新建一个,直接下载下来复制进去就可以了。

我放到这个目录不起效

Reply View the author
neko
deepin
Ecological co-builder
Resources Team Moderator
2025-06-23 01:10
#4

参考楼上安装到用户目录

Reply View the author
MeGusta
deepin
18 hours ago
#5

同上,如无特殊需求,不要去动“系统盘”。

Reply View the author
deepin-流云
Moderator
Community OP
16 hours ago
#6
qq4945286

要入到这个路径下面才有效

~/.local/share/fcitx5/themes

如果没有themes目录就自己新建一个,直接下载下来复制进去就可以了。

我放到这个目录不起效

Fcitx5的主题放这个路径即可,不用放到usr目录下。

Reply View the author