Blog

  • Disable Automatic Connection of iPhone on RHEL 7.3

    My desktop switched to RHEL 7.2 last year and I use it for charging my iPhones. I can disable USB automount at all, but I want to disable iPhone for not asking any “trust” questions on both sides.

    Use following for adding a new udev rule:

    Update: The charging will not work when my iPhone SE and iPhone 6s are not authorized. There is another approach:

    linkirin@m91p: ~$ sudo mv /lib/udev/rules.d/85-usbmuxd.rules /lib/udev/rules.d/85-usbmuxd.rules.orig

    Update: This should be ok with Ubuntu 14.04 desktop.

  • Moved to DigitalOcean

    Hostgator 用了多年,今年二月決定搬到 DigitalOcean 去,因為他一直不支援 Let’s Encrypt 啊~搬過去以後費用又更少。雖然說需要自己手動維護,這兩個月下來看來也沒什麼穩定性的問題,就先繼續用著吧…

  • Nautilus crashed after upgrade to RHEL 7.3

    Few weeks ago, the desktop is upgraded to RHEL 7.3, then nautilus crashed when open it. Lucky, it is back to normal after clean its configuration.

    linkirin@m91p:~$ sudo grep -e "nautilus[[0-9]+]: segfault .* in nautilus" /var/log/messages | tail -n 1
    Dec 21 10:35:44 m91p kernel: nautilus[9525]: segfault at 18 ip 0000000000484592 sp 00007ffc9fc0e480 error 4 in nautilus[400000+147000]
    linkirin@m91p:~$ rm -rf ~/.config/nautilus/
    
  • VS Code not working on Ubuntu when connected using X2Go

    As title, hit this issue yesterday. There is a workaround by following steps:

    linkirin@trusty:~$ sudo -i
    root@trusty:~# cd /usr/lib/x86_64-linux-gnu/
    root@trusty:/usr/lib/x86_64-linux-gnu# cp libxcb.so.1.1.0 libxcb.so.1.1.0code
    root@trusty:/usr/lib/x86_64-linux-gnu# sed -i 's/BIG-REQUESTS/_IG-REQUESTS/' libxcb.so.1.1.0code
    root@trusty:/usr/lib/x86_64-linux-gnu# ll libxcb.so*
    lrwxrwxrwx 1 root root     15 Jan 15  2014 libxcb.so.1 -> libxcb.so.1.1.0
    -rw-r--r-- 1 root root 125392 Jan 15  2014 libxcb.so.1.1.0
    -rw-r--r-- 1 root root 125392 Oct 28 15:27 libxcb.so.1.1.0code
    root@trusty:/usr/lib/x86_64-linux-gnu# rm libxcb.so.1 && ln -s libxcb.so.1.1.0code libxcb.so.1
    root@trusty:/usr/lib/x86_64-linux-gnu# ll libxcb.so*
    lrwxrwxrwx 1 root root     19 Oct 28 15:29 libxcb.so.1 -> libxcb.so.1.1.0code
    -rw-r--r-- 1 root root 125392 Jan 15  2014 libxcb.so.1.1.0
    -rw-r--r-- 1 root root 125392 Oct 28 15:27 libxcb.so.1.1.0code
    

    Reference:
    VS Code not working on Ubuntu when connected using XRDP. · Issue #3451 · Microsoft/vscode · GitHub – https://github.com/Microsoft/vscode/issues/3451

  • 除草一下,打個招呼

    上一篇文章已經是 2015 年底,而 2016 年都進入第四季了啊~Anyway, WordPress 如常自動更新到 4.6.1 好一陣子了。雖然這個部落格很少在更新,Twitter, Facebook, LinkedIn, 和英文的部落格還是常常在碎碎唸啊~