Ubuntu 18.04 LTS 美化

  一、安装美化工具

sudo apt-get update
sudo apt-get install gnome-tweak-tool
sudo apt-get install gnome-shell-extensions

安装完成。 

1、自定义设置 Theme 或者 Icons

GNOME 主题官网: https://www.gnome-look.org/,下载喜欢的 theme 包或者 icon 包

  • GTK3 Themes 复制到到  /usr/share/themes
  • icons包复制到到  /usr/share/icons
  • 通过gnome-tweak-tool工具设置 theme 和 icons

如果要设置自定义主题,先备份系统主题 css 文件:

sudo cp /usr/share/gnome-shell/theme/ubuntu.css /usr/share/gnome-shell/theme/ubuntu.css.backup 

 2、关于Plymouth Themes,开机动画

下载的包复制到到 /usr/share/plymouth/themes 目录下

然后去修改下/etc/alternatives/default.plymouth(先备份源文件)成如下

注:GDM(GNOME Display Manager,GDM)主题,即登录界面的主题,软连接

/etc/alternatives/gdm3/css -> /usr/share/gnome-shell/theme/ubuntu.css
/etc/alternatives/default.plymouth -> /usr/share/plymouth/themes/ubuntu-logo/ubuntu-logo.plymouth

 

 二、修改ubuntu启动背景图

1. 将选定的背景图片 login-bg.jpg 移动到 /usr/share/backgrounds/ 目录下

sudo mv currentdir/mypicture.jpg  /usr/share/backgrounds/

2. 修改这个文件sudo gedit /etc/alternatives/gdm3.css,将

#lockDialogGroup {
  background: #2c001e url(resource:///org/gnome/shell/theme/noise-texture.png);
  background-repeat: repeat; 
}

改为

#lockDialogGroup {
  background: #2c001e url(file:///usr/share/backgrounds/login-bg.jpg);         
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center; 
}

3. 保存并重启。

 

三、设置启动界面

 
 

四、Ubuntu窗口标题透明

修改
vim /usr/share/themes/Ambiance/gtk-3.0/gtk-main.css

找到这行:

@define-color dark_bg_color #3c3b37;

修改为:

@define-color dark_bg_color rgba(60,59,55,0.4);

注:0.4是透明度。(css语法)

 



 

posted @ 2018-12-07 15:12  fieldtianye  阅读(742)  评论(0编辑  收藏  举报