0%

debian

1. 装机配置

装机时 /home,/var 需要配的大一些, 其次还有 /opt

2. 配置

2.1. dolphin 中双击打开文件夹

系统设置 / 硬件部分 / 输入设备 / 鼠标部分
双击打开文件和文件夹

3. 常用软件

sogou input
postman
atom
astah-community uml工具
mysql-workbeanch
seahorse 钥匙环,mysql-workbeanch记住密码需要这个
sysv-rc-conf 管理开机服务
redshift 护眼
miredo IPv6 虚拟网卡
sdkman 开发环境安装工具
docker
preload 优化应用启动速度
browsh 命令行浏览器
flameshot 截图工具
Spectacle 截图工具, 没flameshot好用
xclip 剪贴板辅助工具
partitionmanager 磁盘工具 for KDE, gparted for GNOME

4. 常用目录

  • /etc/apt/sources.list.d 应用资源
  • /usr/share/applications 应用快捷键

5. 常用快捷键

Alt + Shift + F12 关闭混淆器, 可关闭透明效果

5.1. 自定义命令快捷键

  • 翻译
    Meta + Shift + D /home/raven/Documents/script/run-config/chrome/dict.sh

  • 矩形截屏
    Meta + Shift + Print flameshot gui

  • 防打扰截屏
    Ctrl + Print /home/raven/Documents/script/run-config/workspace/snip_suspend_picture.sh > /tmp/snip.log

6. Problem

6.1. 输入法有时候不能切换了

重启fcitx

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 先 kill 掉 fcitx,sogou-qimpanel

pidof fcitx | xargs kill
pidof sogou-qimpanel | xargs kill

nohup fcitx >/tmp/fcitx.log 2>&1 &
nohup sogou-qimpanel >/tmp/sogou-qimpanel.log 2>&1 &


# 正常会有一下一些进程
# /usr/bin/fcitx
# /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 15 --config-file /usr/share/fcitx/dbus/daemon.conf
# /usr/bin/fcitx-dbus-watcher unix:abstract=/tmp/dbus-GSY0LOV3Fx,guid=fe970e1739b765410121b40a5b34b23a 925
#
# /usr/bin/ssh-agent /usr/bin/sogou-session /usr/bin/im-launch /usr/bin/startkde
# sogou-qimpanel-watchdog
# sogou-qimpanel

6.2. 声音突然变最大

1
2
3
4
# 也可以修改~/.pulse/daemon.conf
echo "flat-volumes = no" > /etc/pulse/daemon.conf
pulseaudio -k
pulseaudio --start

不知道上面的命令有没有用, 后来应该是关闭了控制台声音才好的

1
2
3
4
5
6
7
8
9
10
11
12
# 临时起效
rmmod pcspkr

# 重新打开
modprobe pcspkr

# 只对当前用户有效
setterm -blength 0
xset -b

# 永久有效
# 在 `.bashrc` 下添加

7. 查看启动日志

新建 /etc/default/bootlogd 打开启动日志

/etc/default/bootlogd
1
BOOTLOGD_ENABLE=Yes

以后启动之后日志在 /var/log/boot