Ubuntu安装及配置

安装ubuntu 18.04后要做的事:源的设置,python、搜狗输入法的安装等
–>WPS字体拷贝到:sudo mv *.ttf *.TTF /usr/share/fonts/wps-office
安装Ubuntu后要做的事:WPS Office、搜狗输入法的apt安装方式
–>经实证,sudo apt-get install wps-office 无效

在Ubuntu 16.04中安装Chrome
其中的源已失效,改为:
sudo sh -c ‘echo “deb http://dl.google.com/linux/chrome/deb/ stable main” >> /etc/apt/sources.list.d/google-chrome.list’

安装FoxitReader
安装在系统目录下,而非当前用户的home下,需进入root
 sudo su //系统提示符由 username@pcname 变为 root@pcname
 ./FoxitReader.run

安装与配置Visual Studio Code
 sudo dpkg -i code_1.45.1-1589445302_amd64.deb

QQ安装
1、shell
chmod 777 linuxqq_2.0.0-b2-1084_x86_64.sh
sudo ./linuxqq_2.0.0-b2-1084_x86_64.sh
2、deb
sudo dpkg -i linuxqq_2.0.0-b1-1024_arm64.deb

WINE
 IrfanView (WINE) + wine-platform-runtime
 Notepad++

什么是PPA,如何添加PPA源?
PPA(Personal Package Archives),也就是个人软件包集。很多软件包由于各种原因,不能进入官方的软件仓库。为了方便用户,Ubuntu提供了PPA,允许用户建立自己的软件仓库,自由地上传软件。添加源地址、密钥等内容,只需要一条简单的命令即可:
 sudo add-apt-repository ppa:user/ppa-name

[桌面Linux应用系列]2. 换源:deb、ppa、dpkg、snap

隐藏顶栏与侧栏

任务栏调到底部
方法1:使用 gsettings 命令
参考:https://www.cnblogs.com/jhj117/p/10893506.html
Since Ubuntu 18.04, Ubuntu now uses GNOME and GDM3 as the base of the Desktop Environment, and not Unity.
方法2:使用 dash to dock 扩展
参考:https://blog.csdn.net/qq_42674100/article/details/89763787

桌面管理的“三剑客”:Launcher, HUD, Dash
Ubuntu 18.04 Gnome桌面优化
Ubuntu 18.04的dash哪里去了?
16.04桌面环境是Unity,所以有dash;18.04桌面环境是Gnome,所以没有dash,只有开始菜单。可以在开始菜单里搜索应用程序,搜索文件用文件管理器。
The Albert launcher is a dedicated quick-launcher.

源列表的备份及恢复
备份:sudo cp /etc/apt/sources.lst /etc/apt/sources.list_backup
恢复:sudo cp /etc/apt/sources.list_backup /etc/apt/sources.list

Ubuntu系统备份和恢复工具:Clonezilla,FSArchiver,Ghost For Linux(简称G4L)
Clonezilla吸收了Norton Ghost和Partition Image的优点,不仅支持对整个系统进行克隆,而且也可以克隆单个的分区。与G4L相比,Clonezilla支持的文件格式比G4L多,此外Clonezilla只备份数据,而G4L却是将整个分区都备份(即包含空数据)。

使用Ukuu升级Linux Kernel

【Errors/Bugs】
关闭系统错误提示
sudo rm /var/crash/* //删除错误报告
gedit /etc/default/apport
 enabled=1 to 0
参考:https://blog.csdn.net/hywerr/article/details/72582082

[未验证]Ubuntu 18.04休眠后无法唤醒的解决办法
挂起—唤醒后黑屏
https://zhuanlan.zhihu.com/p/40447140
https://www.cnblogs.com/clemente/p/10564938.html
以上措施未验证。目前措施:关闭自动挂起(电源+电池),优化—电源—盖子关闭时挂起OFF

启动 休眠功能 后系统还是无法正常唤醒:
$ sudo systemctl hibernate

Suspend-resume problems on Ubuntu 18.04:解决方案五花八门,没有一个官方的说法。
In my case, disabling “automatic suspend” for both when plugged in and on battery solved the problem. I noticed after installing updates, setting changed again by itself, keep that in mind.

4种强制关闭无响应应用程序的方法
[未验证]Ubuntu 18.04与Windows时间相差8小时 方法1 方法2

VirtualBox共享文件夹没有访问权限
问题原因:共享文件夹的所有者是root,所属组是vboxsf,而一般而言我们登录的用户和所属组都是user(你的用户名),所以确实没有权限。
解决方法:将自己登录的用户,添加到vboxsf组中。具体做法是,执行如下指令:
 sudo usermod -aG vboxsf $(whoami)
这条指令的含义是:
 usermod -aG group user
将用户 user 加入到组 group 中,选项[-aG]是追加到组的意思。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值