I use GNOME, for the use of Windows I, this interface is indeed a bit ugly, but, will also be used, recently found a software (Cairo-dock) can beautify the desktop, and then installed, but after the installation found a problem: The original taskbar blocks the interface of the software, so you can find ways to hide the taskbar
1. Hide the taskbar
Delete/usr/share/gnome-shell/extensions/[email protected]extensions.gcampax.github.com directory
Before deleting the backup, need administrator rights, I directly back up to the directory, the bottom of the operation is done in/usr/share/gnome-shell/extensions/
CP [Email protected] [Email protected]
Delete
RM -RF [email protected]
These two steps can also be solved directly
MV CP [Email protected]
2. Hide the top bar
Three files need to be modified, namely/USR/SHARE/GNOME-SHELL/MODES/CLASSIC.JSON,/USR/SHARE/GNOME-SHELL/THEME/GNOME-CLASSIC.CSS and/usr/ Share/gnome-shell/theme/gnome-shell.css
/usr/share/gnome-shell/modes/classic.json
Back up first, go to the/usr/share/gnome-shell/modes/directory
CP Classic.json classic.json.backup
Modify the content, vi in the command mode can use "/keyword" to find
VI Classic.json
Modify the following
"panel":{ "left": [],
"center": [],
"right": []
}
/usr/share/gnome-shell/theme/gnome-classic.css
Again, back up first.
Modify the following
#panel {
background-color: #e9e9e9;
background-gradient-direction: vertical;
background-gradient-end: #d0d0d0;
border-top-color: #666; /* we don‘t supportnon-uniform border-colors and
use the top bordercolor for any border, so we
need to set iteven if all we want is a bottom
border */
border-bottom: 1px solid #666;
app-icon-bottom-clip: 0px;
color: transparent;
/* hrm, still no multipoint gradients
background-image: linear-gradient(left,rgba(255, 255, 255, 0),rgba(255, 255, 255, 1) 50%,rgba(255, 255, 255, 0)) !important;*/
}
/usr/share/gnome-shell/theme/gnome-shell.css Change two places
Last emphasis, back up
//The first place
#panel {
background-color:transparent;
font-weight: bold;
height: 0px;
}
//Second place
.panel-logo-icon {
padding-right: .4em;
icon-size: 1px;
}
Original code
/usr/share/gnome-shell/modes/classic.json
{
"parentMode": "user",
"stylesheetName": "gnome-classic.css",
"enabledExtensions": ["[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"],
"panel": { "left": ["activities", "appMenu"],
"center": [],
"right": ["a11y", "keyboard", "dateMenu", "aggregateMenu"]
}
}
/usr/share/gnome-shell/theme/gnome-classic.css
#panel {
background-color: #e9e9e9;
background-gradient-direction: vertical;
background-gradient-end: #d0d0d0;
border-top-color: #666; /* we don‘t support non-uniform border-colors and
use the top border color for any border, so we
need to set it even if all we want is a bottom
border */
border-bottom: 1px solid #666;
app-icon-bottom-clip: 0px;
/* hrm, still no multipoint gradients
background-image: linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0)) !important;*/
}
/usr/share/gnome-shell/theme/gnome-shell.css
//I changed it later. I forgot to back it up. It can be displayed normally, almost the same as before.
#panel {
background-color: #fff;
font-weight: bold;
height: 1.8em;
}
.panel-logo-icon {
padding-right: .4em;
icon-size: .4em;
}
CentOS 7 hidden taskbar and top bar