[Ubuntu] Ubuntu change theme

1. Install the necessary tools

In order for the downloaded theme to be applied to Ubuntu , we must install several tools on Ubuntu:

sudo apt-get update
sudo apt-get install gnome-tweak-tool
sudo apt-get install gnome-shell-extensions

If the execution of the third command above fails, the reader is asked to solve it by Baidu.

After the execution of the above command is completed, our Ubuntu has installed the Tweak-tool tool, which can be opened from the Ubuntu management tool " software ". After opening it is as follows:

As you can see from the figure, there is a triangle symbol at the Shell, which means it is unavailable. How to solve this problem?

First of all to ensure that those third command sudo apt-get install gnome-shell-extensionsis executed successfully, and then click Tweak-tool tool of the left column in the Extensions option, the User themesoption is turned on, as follows:
Insert picture description here
so in the future, we'll return to Shellwhen looking at, triangle disappears:
Insert picture description here

2. Download themes

Go to the following link to download your favorite Ubuntu theme:

Ubuntu theme download page

Open the webpage and find the theme you like, click to enter its page, and select the Files tab:
Insert picture description here
Each file under Files represents a different branch of the theme , such as the bright series, the dark series, etc.... It is not necessary to download each one, download it Just one.

Just select one such as Gnome-OSC-HS-2themes.tar.xz (the first file) and download it.

Decompress with xz and tar commands:

xz -d Gnome-OSC-HS--2-themes.tar.xz
tar xvf Gnome-OSC-HS--2-themes.tar

There are two folders in the folder obtained after decompression:
Insert picture description here
move these two folders to /usr/share/themes.

Three, change the theme

After the above steps are completed, we open the previously installed tool Tweak-tool, under the option "Applications" ("Applications" in English), you can select the theme you just installed:
Insert picture description here
applications, icons, and Shell are all available replace.

Guess you like

Origin blog.csdn.net/qq_39642978/article/details/114002562