CentOS7 Use of Custom

Source: Internet
Author: User

CentOS 7 is the latest version of CentOS, a highly customizable system that is very easy to use.

The following is a private customization as required


Boot interface Modification


1 extracting image files

UNSQUASHFS squashfs.img

2 mounting the rootfs.img generated after decompression

Mount-o LOOP,RW squashfs-root/liveos/rootfs.img./tmp

3 modifying Files

Delete logo Image:

Delete the Side-logo.png under /usr/share/anaconda/pixmaps/ , and all the graphs in rnotes

Chip

Remove the CentOS word that appears during boot

/etc/os-release in the CentOS


System internal modifications

First, remove the top and bottom panel


Hide Top Panel

1,/usr/share/gnome-shell/modes/classic.json Modify the panel's left and right are empty

"Panel": {"left": [],

"Center": [],

"Right": []

}

2,/usr/share/gnome-shell/theme/gnome-classic.css, modify

#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 are 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, modify

#panel {

Background-color:Transparent;

Font-weight:bold;

Height: 0px;

}

. Panel-logo-icon {

Padding-right:. 4em;

icon-size:1px;

}

Second, hide or delete the bottom panel

1. Delete Folder

/usr/share/gnome-shell/extensions/[email protected]



Third, shielding Super key

Super Key function: Display the window list and navigation, this key is very cool, but if, for the purpose of private customization, need to hide the original interface of the system, you need to block this shortcut key,

The specific approach is to modify the/usr/share/gnome-shell/js/ui/main.js


Block the two sentences containing Overlay-key, restart the Gnome-shell or reboot directly, ok!

CentOS7 Use of Custom

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.