Loading... - CentOS 7安装桌面主题后顶部显示出来会感觉格格不入 > 以下是根据需要进行的私人定制 * 开机界面修改 1. 1、解压镜像文件 `unsquashfs squashfs.img` 2. 2、挂载解压后生成的rootfs.img `mount -o loop,rw squashfs-root/LiveOS/rootfs.img ./tmp` 3. 3、修改文件 - 删除logo图片 : 删除 `/usr/share/anaconda/pixmaps/`下的 `side-logo.png`,以及 `rnotes`里的所有图片 * 删除开机过程中出现的CentOS字样 `/etc/os-release中的CentOS` - 系统内部修改 - 一、去除顶部和底部panel * 隐藏顶部panel `/usr/share/gnome-shell/modes/classic.json` - 修改panel的左中右都为空 ```c "panel":{ "left": [], "center": [], "right": [] } ``` `/usr/share/gnome-shell/theme/gnome-classic.css`中,修改 ```C #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`中,修改 ```C #panel { background-color:transparent; font-weight: bold; height: 0px; } .panel-logo-icon { padding-right: .4em; icon-size: 1px; } ``` - 二、隐藏或删除底部panel 1. 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!*** Last modification:August 3, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 如果觉得我的文章对你有用,请随意赞赏