Preface reminder
Regarding several directories, the directory of GTK and Shell is: /usr/share/themes, and the directory of icons is /usr/share/icons.
Putting it under /usr/share/ is a global modification, which means that if you log in with another account, you can also use these theme files. The disadvantage is that the operation is more complicated and requires sudo permissions.
If you just want to modify the theme of the current account, you can choose to create two new directories under /home/YourAccount/ (such as /home/feipeng8848/): .themes and .icons. Note that there is a dot "." in front of the directory name, and then put the shell and GTK theme files in .themes and the icon files in .icons.
Install TweakTool
To install the theme, first install the corresponding tool: TweakTool
sudo apt-get update
sudo apt-get install gnome-tweak-tool
Title bar button
Go to the application to open Tweaks, the Chinese name is optimized
Select the window on the left , and place the title bar button on the left .
Cancel desktop icon
Also in optimization , select the desktop on the left and choose whether to display the desktop icons on the right.
Shell repair
Remove the exclamation mark that cannot be modified on the Shell.
Execute the following command
sudo apt-get install gnome-shell-extensions
After the installation is complete, log out and log in again.
Open the optimization selection expansion option,
Go to the " Appearances " option and you will find that there is no exclamation mark in Shell. If there are more, log out and log in again.
So far we have completed the tool installation and configuration, and the following formally install the theme
Install themes
1.https://www.opendesktop.org/s/Gnome/p/1013714/
2.https://www.opendesktop.org/s/Gnome/p/1241688
Pick one of the two above to open. I choose the first one below.
Find the Files tab and go to download the file. Click the file name to download.
Choose one at random and download it.
Use xz and tar commands to decompress and move the decompressed folder to the /usr/share/themes
next.
Then open the previously installed tool Tweaks (called "optimization" in Chinese), and "Applications" in English is "Applications".
Under this option, you can select the theme you just installed. These screenshots are after I installed the theme.
Edit icon
Go to the link below to download
https://www.opendesktop.org/s/Gnome/p/1102582/
and put the files in the /usr/share/icons
directory after decompression
Modify Shell
Go to this link: https://www.opendesktop.org/s/Gnome/p/1013741/
Download the first one. Unzip and move to/usr/share/themes
Go to optimize the application.
Use Dock
Open Ubuntu Software, search dash to dock directly, and install it.
Open Tweaks -> Extensions, open it, and click the gear icon
My settings are as follows
Modify the login interface
1. First find a picture you like, the general size is 1920*1080, the format is either jpg or png
2. Assuming that the picture I am using is mypicture.jpg, move it to the /usr/share/backgrounds/ directory
sudo mv currentdir/mypicture.jpg /usr/share/backgrounds/
- The Gnome desktop currently used by Ubuntu is different from the previous Unity configuration file, so the 16.04 tutorials found on the Internet are not available. The configuration related to the 18.04 login background uses CSS: /etc/alternatives/gdm3.css
4. Modify this file sudo gedit /etc/alternatives/gdm3.css
It is best to make a backup before making changes to avoid making mistakes and recovering. Edit and configure this file:
Find the default part
#lockDialogGroup {
background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
background-repeat: repeat;
}
To
#lockDialogGroup {
background: #2c001e url(file:///usr/share/backgrounds/mypicture.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
copy
5. This file is css, so if you are proficient in css, you should be able to make good-looking results. I didn't add the last two lines of css when I changed it before, and the background was divided into four chaotically.
6. Save and restart the computer.