Linux Tips

dns设置

在networkmanager没有启动时,如没有网络链接,doker不能使用,手动编辑/etc/resolv.conf 文件可解决,需先删除此软链接

abc@kali:~$ cat /etc/resolv.conf 
# ln -s /var/run/NetworkManager/resolv.conf  /etc/resolv.conf
# Generated by NetworkManager
nameserver 218.104.111.114
nameserver 218.104.111.122

virtualbox guest iso安装

有时会遇到无法安装iso的文题,解决如下

apt install kernel-devel
ln -s /usr/src/lernels/4.*.* /usr/src/linux

ibus配置

ibus-daemon启动后,仍无法输入中文,need install

ibus-gtk
ibus-gtk3
ibus-qt

export envs

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

i3wm 下调节gtk应用apperance

apt install lxappearance

then run lxappearance

posted on 2017-06-15 10:32  gglin  阅读(275)  评论(0编辑  收藏  举报

导航