manjaro 使用攻略
yay
pkg 构建目录
`~/.cache/yay/pkg/`
安装过程有时会出现问题,手工介入,解决速度会快不少。先前装drawio的时候经常下载一般旧挂了,浏览器下载完后 copy到目录 重新yay 可以继续往后执行。
安装过程修改 PKGBUILD
需要联公司VPN,本来琢磨 openconnect 应该能解决问题,没想到某服自己单独玩了一套。安装EeasyConnect时,官方提供的最新的包版本号没有变,但是 md5 发生了变化,不知道他们在搞什么鬼。
着急用,需要修改PKGBUILD 尝试了两个没有效果的解决方案
yay --editmenu --save
yay -G <pkgname>
,直接进入构建目录后,手动修改构建脚本快,改完后编译、安装一分钟不到解决问题
1 |
|
清缓存
1 |
|
跑了有一年多了前段时间看硬盘不足二十个G了,清清缓存节约了 80G
1 |
|
backup
系统引导修复
1 |
|
VirtualBox
VirtualBox – Cannot register the hard disk 解决办法 [1]
File -> Virtual Media Manager -> Removed existing images (note, I removed them only from the registry).
压缩 vdi 磁盘大小
vmdk 格式不支持,vdi 压缩前,需要先进入虚拟机中 把没有使用的磁盘位置填充 0
windows 工具:[2]
https://docs.microsoft.com/en-us/sysinternals/downloads/sdelete
1 |
|
Linux 工具:
1 |
|
Manjaro 宿主机中执行如下压缩指令
1 |
|
vmware
Wayland
fcitx5
1 |
|
Firefox thunderbird
1 |
|
chromium
--ozone-platform-hint=auto
vivaldi-stable --ozone-platform-hint=auto
chrome://flags 裏面就可以開啓wayland
QT
QT_QPA_PLATFORM="wayland;xcb"
Emacs
./configure --enable-largefile --with-all --with-json --with-imagemagick --with-threads --with-pgtk --with-native-compilation --with-native-image-api
Ref
- https://stackoverflow.com/questions/44114854/virtualbox-cannot-register-the-hard-disk-already-exists ↩︎
- https://www.appinn.com/sdelete-for-windows/ ↩︎
- https://bbs.archlinuxcn.org/viewtopic.php?id=11294 ↩︎
- https://fcitx-im.org/wiki/Setup_Fcitx_5 ↩︎
- https://wiki.archlinux.org/title/wayland#Qt ↩︎
- https://batsov.com/articles/2021/12/19/building-emacs-from-source-with-pgtk/ ↩︎
manjaro 使用攻略
http://blog.soul11201.com/2022/03/18/manjaro/