Ubuntu 20.04 - Gnome 调整 - 已安装的 shell 主题未显示在下拉列表中

Ubuntu 20.04 - Gnome 调整 - 已安装的 shell 主题未显示在下拉列表中

我正在按照 Linux Scoop 的教程安装 Orchis 主题,并且能够安装和选择应用程序、光标和图标的主题,但我无法在 Shell 的下拉菜单中选择“Orchis”。

我按照 Linux Scoop 的步骤操作,并将主题复制到 Home/.themes 和 usr/share/themes。我尝试重启电脑,但仍然没有显示。我做错了什么?

这是我遵循的教程:https://youtu.be/qC0mnGprbeM?t=480

答案1

当你install.sh从解压的下载的 zip 文件中运行脚本时Orchis-theme-master.zip

sassc如果未安装该软件包,您会注意到这一点。“第 74 行:sassc:未找到命令”

~/Downloads/Orchis-theme-master$ ./install.sh
sassc needs to be installed to generate the css.
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 166: has_command: command not found
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 168: has_command: command not found
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 170: has_command: command not found
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 172: has_command: command not found
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 174: has_command: command not found
Installing '/home/pratap/.themes/Orchis'...
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 74: sassc: command not found
Installing '/home/pratap/.themes/Orchis-compact'...
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 74: sassc: command not found
Installing '/home/pratap/.themes/Orchis-light'...
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 74: sassc: command not found
Installing '/home/pratap/.themes/Orchis-light-compact'...
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 74: sassc: command not found
Installing '/home/pratap/.themes/Orchis-dark'...
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 74: sassc: command not found
Installing '/home/pratap/.themes/Orchis-dark-compact'...
/home/pratap/Downloads/Orchis-theme-master/core.sh: line 74: sassc: command not found

Done.

当包 sassc 不可用时,脚本无法生成 gnome-shell.css 文件。

您应该先使用以下命令安装包

sudo apt install sassc

然后再次运行脚本。

~/Downloads/Orchis-theme-master$ sudo apt install sassc
[sudo] password for pratap: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libsass1
The following NEW packages will be installed:
  libsass1 sassc
0 upgraded, 2 newly installed, 0 to remove and 27 not upgraded.
Need to get 695 kB of archives.
After this operation, 2,801 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://in.archive.ubuntu.com/ubuntu focal/universe amd64 libsass1 amd64 3.6.3-1ubuntu1 [684 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu focal/universe amd64 sassc amd64 3.6.1-2 [10.4 kB]
Fetched 695 kB in 10s (66.7 kB/s)
Selecting previously unselected package libsass1:amd64.
(Reading database ... 164042 files and directories currently installed.)
Preparing to unpack .../libsass1_3.6.3-1ubuntu1_amd64.deb ...
Unpacking libsass1:amd64 (3.6.3-1ubuntu1) ...
Selecting previously unselected package sassc.
Preparing to unpack .../sassc_3.6.1-2_amd64.deb ...
Unpacking sassc (3.6.1-2) ...
Setting up libsass1:amd64 (3.6.3-1ubuntu1) ...
Setting up sassc (3.6.1-2) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
pratap@antarctica:~/Downloads/Orchis-theme-master$ ./install.sh
Installing '/home/pratap/.themes/Orchis'...
Installing '/home/pratap/.themes/Orchis-compact'...
Installing '/home/pratap/.themes/Orchis-light'...
Installing '/home/pratap/.themes/Orchis-light-compact'...
Installing '/home/pratap/.themes/Orchis-dark'...
Installing '/home/pratap/.themes/Orchis-dark-compact'...

Done.

在此处输入图片描述

相关内容