CentOS 7 是centos的最新版,高度可定製化的系統,用起來非常方便
以下是根據需要進行的私人定製
開機界面修改
1 解壓鏡像文件
unsquashfs squashfs.img
2 掛載解壓後生成的rootfs.img
mount -o loop,rw squashfs-root/LiveOS/rootfs.img ./tmp
3 修改文件
刪除logo圖片 :
刪除/usr/share/anaconda/pixmaps/ 下的side-logo.png,以及rnotes裏的所有圖
片
刪除開機過程中出現的CentOS字樣
/etc/os-release中的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-p_w_picpath: 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/[email protected]
三、屏蔽super鍵
super鍵的作用:顯示窗口的列表和導航,這個鍵是非常酷的,但是如果,出於私人定製的目的,需要隱藏系統的原有界面,就需要屏蔽這個快捷鍵,
具體做法是修改/usr/share/gnome-shell/js/ui/main.js
屏蔽含有overlay-key的那兩句,重啓gnome-shell或者直接重啓,ok!