CentOS7 使用的定制
时间:2014-12-30 12:30 来源:linux.it.net.cn 作者:IT
CentOS 7 是centos的最新版,高度可定制化的系统,用起来非常方便
以下是根据需要进行的私人定制
一、去除顶部和底部panel
隐藏顶部panel
1、/usr/share/gnome-shell/modes/classic.json修改panel的左中右都为空
"panel":{ "left": [],
"center": [],
"right": []
}
2、/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 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;*/
}
3、/usr/share/gnome-shell/theme/gnome-shell.css中,修改
#panel {
background-color:transparent;
font-weight: bold;
height: 0px;
}
.panel-logo-icon {
padding-right: .4em;
icon-size: 1px;
}
二、隐藏或删除底部panel
1、删除文件夹
/usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
三、屏蔽super键
super键的作用:显示窗口的列表和导航,这个键是非常酷的,但是如果,出于私人定制的目的,需要隐藏系统的原有界面,就需要屏蔽这个快捷键,
具体做法是修改/usr/share/gnome-shell/js/ui/main.js
屏蔽含有overlay-key的那两句,重启gnome-shell或者直接重启,ok!
(责任编辑:IT)
CentOS 7 是centos的最新版,高度可定制化的系统,用起来非常方便 以下是根据需要进行的私人定制 一、去除顶部和底部panel
隐藏顶部panel 1、/usr/share/gnome-shell/modes/classic.json修改panel的左中右都为空 "panel":{ "left": [], "center": [], "right": [] } 2、/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 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;*/ }
3、/usr/share/gnome-shell/theme/gnome-shell.css中,修改
#panel { background-color:transparent; font-weight: bold; height: 0px; }
.panel-logo-icon { padding-right: .4em; icon-size: 1px; }
二、隐藏或删除底部panel 1、删除文件夹 /usr/share/gnome-shell/extensions/window-list@gnome-shell-extensions.gcampax.github.com
三、屏蔽super键 super键的作用:显示窗口的列表和导航,这个键是非常酷的,但是如果,出于私人定制的目的,需要隐藏系统的原有界面,就需要屏蔽这个快捷键, 具体做法是修改/usr/share/gnome-shell/js/ui/main.js
屏蔽含有overlay-key的那两句,重启gnome-shell或者直接重启,ok! (责任编辑:IT) |