当前位置: 移动技术网 > 科技>操作系统>windows > ubuntu16.04常见使用技巧

ubuntu16.04常见使用技巧

2020年07月29日  | 移动技术网科技  | 我要评论
1.终端打开pdf文件命令evince2.终端查看图片命令display3.设置侧边栏的位置#左侧gsettings set com.canonical.Unity.Launcher launcher-position Left#底部gsettings set com.canonical.Unity.Launcher launcher-position Bottom4.设置终端启动位置1)先调整想要显示的终端位置,然后使用xwinfo命令点击终端任一位置即可捕捉终端的位置信息2)

1.终端打开pdf文件命令

evince

2.终端查看图片命令

display

3.设置侧边栏的位置

#左侧
gsettings set com.canonical.Unity.Launcher launcher-position Left
#底部
gsettings set com.canonical.Unity.Launcher launcher-position Bottom

4.设置终端启动位置
1)先调整想要显示的终端位置,然后使用xwinfo命令点击终端任一位置即可捕捉终端的位置信息
2)在系统–》键盘–》快捷键–》自定义快捷键里面添加如下命令,最后启动终端快捷键自行设置即可:

gnome-terminal --geometry 100x30+357+177

5.杀死卡死的应用程序

killall 应用程序名字

6.github提速配置

1)sudo vim /etc/hosts,加入以下几行

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.更换pip源

  • mkdir ~/.pip
  • vim ~/.pip/pip.conf

添加如下内容:

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com/pypi

保存退出即可

本文地址:https://blog.csdn.net/qq_33575901/article/details/107598271

如您对本文有疑问或者有任何想说的,请 点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网