我试图在启动时禁用蓝牙,而不将内核模块列入黑名单。
我在 中评论了以下两行/etc/init/bluetooth.conf:
start on started dbus
stop on stopping dbus
Run Code Online (Sandbox Code Playgroud)
然后我补充说:
stop on runlevel [0123456]
Run Code Online (Sandbox Code Playgroud)
在文件中/etc/init.d/bluetooth,在 之前exit 0,我添加了以下行:
rfkill block bluetooth
Run Code Online (Sandbox Code Playgroud)
这些尝试都没有成功。
我在网上看到在/etc/rc.local文件中添加最后一个命令。但不是这个文件,我得rc0.d给rc6.d和rcS.d文件夹,完整的符号链接脚本。
我在 Ubuntu-Mate 17.04 下运行,使用 4.10.0 内核。
在 tmux 中选择一个窗口,默认行为是C-b <number>. 我想通过使用 alt+ 来避免使用前缀以进行更快的选择。
我为下一个和上一个窗口做了它,它有效:
bind -n M-n select-window -n
bind -n M-p select-window -p
Run Code Online (Sandbox Code Playgroud)
对于通过 id 的选择,我做了同样的事情,但它不起作用:
bind -n M-0 select-window -t 0
bind -n M-1 select-window -t 1
bind -n M-2 select-window -t 2
bind -n M-3 select-window -t 3
bind -n M-4 select-window -t 4
bind -n M-5 select-window -t 5
bind -n M-6 select-window -t 6
bind -n M-7 select-window -t 7
bind -n M-8 select-window -t 8
bind -n M-9 …Run Code Online (Sandbox Code Playgroud)