ubuntu18.04 initial landscaping and some configuration

ubuntu18.04 landscaping and some configuration

The purpose of this paper is to use ubuntu18.04 I recorded history, including landscaping and some of the basic configuration, as well as the solution of some problems, mainly addressed to their own look. I should be gradually updated with your use of ubuntu. The content itself is not really original, after all, IScribe everywhere We learn from big brother's blog get.


A set of themes, icons and login screen

If you install ubuntu18.04 when choosing a minimum installation, the default is not installed tweakstools (Chinese name "optimization"), we need to manually install it. The software allows us to easily configure the appearance of the system.

You can choose to use the command-line installation:

sudo apt install gnome-tweak-tool 

Also can search directly in the App Store to install GNOME Tweaks

The following is my own appearance configuration:

For the theme, I chose the Vimixicon is selected Papirus, shell theme chosen is Tango暗色, open up the animation feels strange, closed the look feel better.

1. Download and apply the theme

https://www.gnome-look.org/ There are vast amounts of themes to choose from .

Before I also watch other people use Vimix, I began to feel a little scared to Heaven really feel (not too much more than the default theme look good!). Download here https://www.gnome-look.org/p/1013698/, after decompression there are eight themes folder, I just installed Vimix a direct move it to the /usr/share/themesdirectory

mv /home/<username>/下载/vimix-color/vimix /usr/share/themes

Then you can see the tweaks in options.

2. Download and install icon

Papirus of installation and use, first add source software, and then download and install, and then they can tweaksuse to select

(Because of the presence of active, so the content of the icon is updated)

sudo add-apt-repository ppa:papirus/papirus
sudo apt install papirus-icon-theme

Icon in the system is stored in /usr/share/iconthe various folders, you can create a special folder to store your own downloaded from the Internet icon. If you want to change the icon software, you can configure /usr/share/applicationseach desktop files in the directory, which will be replaced by icon pointing to the path of your icon on it (root user operation).

3. beautify the login screen

I was probably a little obsessive-compulsive disorder ...... lock screen with wallpaper, but a login screen to enter a password when they become black, very uncomfortable. So to find information on the login screen and lock screen replaced by a map, the login process becomes more consistent.

ubuntu18.04 login background is related to the configuration of css:/etc/alternatives/gdm3.css

Modify this document

sudo gedit /etc/alternatives/gdm3.css

My default configuration is as follows (this is best to find a place to back up what):

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

The background image path into a directory of your choice picture, it becomes so:

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

After the restart to be able to succeed, but then I do sometimes change the boot screen will be stuck ...... do not know whether it was because of this reason.


Second, the installation software (QQ, micro-channel, Thunder ......) to the environment as deepin-wine

deepin really super conscience! I basically come from https://blog.csdn.net/qq_25987491/article/details/81364461 (The chiefs also learn other people _ (: з ゝ ∠) _) to install the software experience, and explore yourself slowly we will know the process.


1. Installation environment deepin-wine: the https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu page download the zip (or clone mode with git), extract to a local folder, the folder is opened in the terminal , enter sudo sh ./install.sha key installation.

2. Install deepin.com application container: download the desired container in http://mirrors.aliyun.com/deepin/pool/non-free/d/, click the deb install. The following is the recommended container:

At first I was wondering why the site went all strange, it looks like being hacked clear and simple as ...... but is also quite good.

3. Ubuntu 18.04 Gnome desktop display traditional tray icon: installation TopIconPlus of gnome-shell extension, command: sudo apt-get install gnome-shell-extension-top-icons-plus gnome-tweaksand then turn on this extension with gnome-tweaks. (This extension is really good!)

I use the bug:

QQ : voice calls others to fight over time will flash back, system settings open.

Micro-channel : regular black square appears, also can not turn off ......

But mainly used for simple transport communications and documents, using up experience is still very possible, and QQ remote control function can be used eh! Taking a demo bit mean.


Third, the lack of solutions fonts

Using WPS when they would often lack various fonts, Arial bold, Microsoft elegant black is not all, the solution from https://blog.csdn.net/Box_clf/article/details/85224413

Font source is certainly the most convenient windows, and in the C: \ Windows \ Fonts in direct copy like, in order to facilitate the search, the English name of Chinese fonts can be found here https://www.zhangxinxu.com/study/ 201703 / font-family-chinese-english.html

The step has been loaded into the system font

1. Switch to the specified directory:cd /usr/share/fonts/

2. Create a folder:mkdir chinese

3. The above-prepared copy the font file to create the chinesefolder

4. Modify permissions:chmod -R 755 /usr/share/fonts/chinese

5. modify the configuration file:vim /etc/fonts/fonts.conf

Add at the end of chinesethe folder:

6. Clear the cache:fc-cache

windows fonts in a huge number of individuals feel no need to install so much, just enough to put those commonly used in the.


Four, ubuntu after install ubuntu after installing windows can not enter the problem

主要的原因差不多是windows的启动引导覆盖了原本的ubuntu启动引导,所以安装双系统还是先安装windows是最优解。如果出现了后安装windows后ubuntu无法进入的问题,可以参照https://www.cnblogs.com/lymboy/p/7783756.html

里面需要“删掉的东东”我没有找太清……而且即使修复了需要进入ubuntu还是要进BIOS设置才可以,很麻烦事。所以不如原本就先安装windows再安装ubuntu,省事多了。


五、添加GBK编码

windows的GBK编码和ubuntu默认的UTF-8编码不一样,在很多时候是真的烦人,别人给你一些在windows上写的源代码文件,结果你发现里面的中文注释全变成了乱码,真的很影响使用。所以还是安装好GBK编码,以备不时之需比较好。

以root用户的身份vim /var/lib/locales/supported.d/zh-hans,我自己是这样,也有博客说是vim /var/lib/locales/supported.d/local,总之大差不差。原本里面只有上两行,添加进后三行。

zh_CN.UTF-8 UTF-8
zh_SG.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN.GB2312 GB2312
zh_CN.GB18030 GB18030

然后更新编码即可

dpkg-reconfigure --force locales

在eclipse中,依次找到:Windows->Preference->General->Workspace,在Text file encoding中选择GBK(没有的话可以强制输入GBK),那么GBK的中文就正常显示了。

但如果本来就有用UTF_8编码的工程的话,UTF_8的中文编码就会出现问题。(GBK和UTF_8关于中文的编码是不一样的),上面的eclipse的设置方法针对全局,如果只是想修改一两个GBK编码的文件,可以这样做:打开GBK显示乱码的文件,在Edit->Set Encoding,选择other,输入GBK(或GB18030),done!

Guess you like

Origin www.cnblogs.com/bqh6/p/11266934.html