常用设置
设置:点击应用图标最小化
gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true
设置:Unity位置
gsettings set com.canonical.Unity.Launcher launcher-position Bottom/Left(底部/左侧)
设置:Home目录在桌面展示
vi .config/user-dirs.dirsXDG_DESKTOP_DIR="$HOME/桌面" 改为: XDG_DESKTOP_DIR="$HOME/" (同理其它也可以)
代码编辑器
Vim
sudo apt-get install vim配置:下载vim插件下载后进行解压安装
cd vim_configure./copy_con.sh快捷使用方法:《vi使用介绍》 Visual-Studio-Code
下载deb安装(https://code.visualstudio.com)sudo dpkg -i code_1.38.1-1568209190_amd64.debsudo add-apt-repository ppa:ubuntu-desktop/ubuntu-makesudo apt-get updatesudo apt-get install ubuntu-makesudo umake ide visual-studio-code (这条命令网上很多错写成web)卸载:sudo umake ide visual-studio-code --remove卸载:sudo apt-get remove ubuntu-make若安装完成,图标却没有出现,说明安装错误。
报错为:
(process
:6655): dconf
-WARNING
**: failed to commit changes to dconf
: Cannot。。。
需要重置unity桌面
打开终端(使用快捷键 Ctrl
+ Alt
+ F1)进入终端
dconf reset
-f
/org
/compiz
/ (重置Compiz)
setsid unity (重启Unity)
unity
--reset
-icons (如果想重新使用unity默认的启动器图标,可以运行该命令)
sudo shutdown
-r now 来重新启动Ubuntu
代码比较工具
Meld Diff
sudo apt-get install meld
代码管理工具
Git
sudo apt-get install git详细参看:Git使用及安装
ubuntu常用软件
输入法:搜狗
sudo apt-get install fcitx libssh2-1 //依赖包 (出现问题:sudo apt-get install -f )官网下载安装包sudo dpkg -i sougoupinyin_xxx.deb系统设置>语言支持>键盘输入方式系统>选择 fcitx 项>重启 优麒麟软件中心
Ubuntu Kylin官网下载地址sudo dpkg -i ubuntu-kylin-software-center_xxx.deb(出现问题:sudo apt-get install -f 再安装) 优客助手
Ubuntu Kylin官网下载地址sudo dpkg -i youker-assistant_xxx.deb(出现问题:sudo apt-get install -f 再安装) QQ
QQ Ubuntu Kylin官网下载地址sudo dpkg -i wine-qqintl_0.1.3-2_i386.deb(出现问题:sudo apt-get install -f 再安装)可能需要先安装:优麒麟软件中心和优客助手 网络/CPU监听工具
sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitorsudo apt-get updatesudo apt-get install indicator-sysmonitor启动: indicator-sysmonitor &然后在状态栏图标右击—Preferences设置General —Run on startup 勾选,开机启动Advanced—Customize output:设置显示项(默认只显示CPU和内存) 安装Notpad++
sudo add-apt-repository ppa:notepadqq-team/notepadqqsudo apt-get updatesudo apt-get install notepadqq
ubuntu彻底卸载软件
以卸载火狐浏览器为例
dpkg - -get-selections | grep firefox输出:firefox、firefox-locale-en、firefox-locale-zh-hans卸载:sudo apt-get purge firefox firefox-locale-en firefox-locale-zh-hans 卸载 Notpad++
sudo apt-get remove notepadqqsudo add-apt-repository - -remove ppa:notepadqq-team/notepadqq
特殊操作
Windows和Ubuntu双系统时间不同
sudo timedatectl set-local-rtc 1 #ubuntu由timedatectl来管理时间timedatectl status #查看时间状态 删除Amazon的链接
sudo apt-get remove unity-webapps-common