manjaro
manjaro-kde-17.1.2-stable-x86_64
电脑上原始系统ubuntu16.04+win10
进入ubuntu16,修改grub [TODO],硬盘启动镜像
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Manjaro grub_iso" --class dvd {
set isofile="/home/xgh/ubuntu-18.04-desktop-amd64.iso"
set dri="free"
search --no-floppy -f --set=root $isofile
probe -u $root --set=abc
set pqr="/dev/disk/by-uuid/$abc"
loopback loop $isofile
linux (loop)/boot/vmlinuz-x86_64 img_dev=$pqr img_loop=$isofile driver=$dri
initrd (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}
输入法无法激活
参考https://wiki.archlinux.org/index.php/Fcitx_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
打开octopi,安装fcitx-im组
安装kcm-fcitx
但是一直无法激活,
修改(新增)~/.xprofile后成功。
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
注销后重新登录生效
背光亮度无法保存
https://wiki.archlinux.org/index.php/backlight
官方手册中提到
Some laptops have multiple video cards (e.g. Optimus) and the
backlight restoration fails. Try masking an instance of the service,
e.g. systemd-backlight@backlight:acpi_video1 for acpi_video1.
因此将多余的显卡屏蔽掉
ls /sys/class/backlight/
systemctl mask systemd-backlight@backlight\:acpi_video0
systemctl mask systemd-backlight@backlight\:acpi_video1
1.优化软件源
Improve download and database access speed
https://wiki.manjaro.org/index.php?title=Pacman_Tips
sudo pacman-mirrors -f 0 && sudo pacman -Syy
sudo pacman-optimize && sync
or
#先排列源
sudo pacman-mirrors -g
#同步并优化(类似磁盘整理,固态硬盘无需操作)
sudo pacman-optimize && sync
#升级系统
sudo pacman -Syyu