flatpak ---- Third Party Software Store
切换中国源
eg:
1sudo flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
安装
在 flathub 官网 搜索软件 id
- https://flathub.org/home
eg:
- emacs –> org.gnu.emacs
为什么用官网
flatpak search命令无效
安装
命令
1 2 3 4 5 6flatpak install org.gnu.emacs # 使用 id flatpak install flathub org.vim.Vim # 使用 ref 文件 flatpak install ~/Downloads/org.vim.Vim.flatpakref --user用户安装
archlinux
换源
参考
修复 keyring 错误
命令
1 2 3 4pacman-key --init pacman-key --populate pacman-key --refresh-keys pacman -Sy archlinux-keyriit
一键换源
| |
AUR package 安装
Fish Shell ---- Friendly Interactive Shell
completion 自动补全
快捷键
Ctrl + F
- 接受所有建议
Alt + F
- 接受部分建议
- 一个单词
变量处理
set 命令实现
eg:
| |
Google Search Skills
参考
双引号 "more than one keyword"
文件格式
格式
关键词:format
- 注:冒号后不允许空格
eg:
语法:
- keyword:pdf
- keyword:torrent
实例:
- site:hello.com
站内搜索 keyword site: website.com
关键词过滤
- 必须含有
- 不包含
搜索框快捷键 /
Manjaro Notes
教程
官方
换源
| |
AUR
使用 工具 pamac
search
- pamac search -a
安装
- pamac build <package>
chemacs debug
命令
1emacs -q --eval '(setq user-emacs-directory "/home/sawyer/.emacs.d.default")' -l ~/.emacs.d.default/init.el --debug-init
sshd
sshd -t 报错
# sshd -t # output error: sshd: no hostkeys available -- exiting.
解决方法
- sudo ssh-keygen -A