Linux普通用户KDE无法加载,【Linux】Debian KDE 安装遇到的坑

引子:

手里头有台久电脑,上网本,配置较低。寻思着,安装 Windows 性能表现不太好 ,考虑安装一个 Linux 玩玩,顺便学习学习 Linux。以前没怎么碰这块,所以在安装使用的过程中遇到了一些坑。这里记录下来,以便以后查找。

使用 dd 命令 制作 U 盘启动盘

Linux 环境下:

使用 fdisk -l 查看磁盘设备

使用 sudo dd if=***.iso of=/dev/sdb 命令制作。

MacOS 环境下:

使用 diskutil list 查看磁盘设备

使用 sudo dd if=***.iso of=/dev/disk2 命令制作。

注:1、sdb 和 disk2 为 U 盘。2、iso 不要选择 网络安装镜像。不然安装过程会相当漫长(漫长到让人绝望)。3、该 U 盘启动盘 制作方法同样适用于其他 Linux 发行版

安装过程:

一定不要联网。

网络选择时,选择 以太网口,不要插网线,配置失败后,选择不联网就行。

注:如果联网,不管你在之后如何选择,都会下载最新的镜像(新不新不提,反正托慢装速度)。

配置软件安装源:

打开软件安装源配置文件:

sudo nano /etc/apt/sources.list

注释掉 cdrom 光盘镜像,

添加下列镜像源:

deb http://ftp.debian.org/debian/ stable main contrib non-free

deb http://ftp.debian.org/debian/ testing main contrib non-free

deb http://ftp.debian.org/debian/ unstable main contrib non-free

deb http://ftp.cn.debian.org/debian/ testing main contrib non-free

deb http://ftp.cn.debian.org/debian/ unstable main contrib non-free

deb http://ftp2.cn.debian.org/debian/ unstable main contrib non-free

deb http://ftp.hk.debian.org/debian/ testing main contrib non-free

deb http://ftp.hk.debian.org/debian/ unstable main contrib non-free

注:根据喜好选择镜像,把镜像前面的 # 去掉即可 。

更新软件包列表:

sudo apt update

apt 其他常用命令:

sudo apt upgrade //升级更新

sudo apt install //安装指定包

sudo apt remove //卸载指定包

sudo apt autoremove //卸载不需要的依赖包

sufo apt purge //卸载包,同时删除相关配置。支持通配符

sudo apt clean //删除所有已下载的软件包

sudo apt autoclean //删除过期的包(即已不能下载或者是无用的包)

安装中文输入法:

sudo apt install fcitx-sunpinyin

安装输入法 UI:

sudo apt install fcitx-ui-classic && apt-get install fcitx-ui-light

注:这里有个坑,有的版本设置里找不到输入法设置,我在后面的一次安装中就遇到了。需要在安装一下 fcitx 输入法系统。命令为

sudo apt install fcitx

其他输入法:

sudo apt install ibus-sunpinyin

sudo apt install ibus-pinyin

sudo apt install ibus-table-wubi

屏幕亮度调节配置:

由于机子使用的是 Intel 的显卡,导致无法调节屏幕亮度问题。

sudo nano /etc/default/grub

将 GRUB_CMDLINE_LINUX="" 改为GRUB_CMDLINE_LINUX="acpi_backlight=vendor"

复杂配置:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

GRUB_CMDLINE_LINUX=""

修改为

acpi_osi=Linux acpi_backlight=vendor

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash acpi_osi=Linux”

GRUB_CMDLINE_LINUX="acpi_backlight=vendor“

更新 grub.cfg

sudo update-grub

注:grub.cfg 位于 /boot/grub/grub.cfg

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值