1. Terminal open pdf file command:
shows
2. Terminal view picture command
display
3. Set the position of the sidebar:
左侧:gsettings set com.canonical.Unity.Launcher launcher-position Left
底部:gsettings set com.canonical.Unity.Launcher launcher-position Bottom
4. Set the terminal start position:
1) First adjust the position of the terminal you want to display, and then use the xwinfo command to click any position of the terminal to capture the position information of the terminal
2) Add the following commands to the system-"Keyboard-" Shortcut Keys-"Custom Shortcut Keys, and finally start the terminal shortcut keys to set yourself:
gnome-terminal --geometry 100x30+357+177
5. Kill the stuck app:
killall application name
6.github speed configuration
1) sudo vim / etc / hosts, add the following lines
13.229.188.59 http://github.com
13.229.188.59 https://github.com
151.101.25.194 http://github.global.ssl.fastly.net
151.101.25.194 https://github.global.ssl.fastly.net
151.101.100.133 http://assets-cdn.github.com
151.101.100.133 https://assets-cdn.github.com
2)sudo apt install nscd
3)/etc/init.d/nscd restart
7. Replace pip source
mkdir ~/.pip
the ~ / .pip / pip.conf
Add the following:
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com/pypi
Save and exit