Blog

  • 除草一下,打個招呼

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

  • X11 for macOS as a server of remote Ubuntu 14.04

    Recently the 13″ MBPr got upgrade to macOS Sierra 10.12. If I want to let it can act as remote X11 server of Ubuntu 14.04 (my main working VM in intranet), I have to install a X.Org X Window System that runs on macOS.

    XQuartz is for this purpose , see https://www.xquartz.org/.

    Then the file /etc/ssh/sshd_conf needs to be modified, and the ssh service needs up. After ssh to Ubuntu, there are some error/warning messages:

    Last login: Thu Oct  6 14:32:12 2016 from 10.0.0.1
    manpath: can't set the locale; make sure $LC_* and $LANG are correct
    linkirin@trusty:~$ gvim
    Fontconfig warning: ignoring UTF-8: not a valid region tag
    

    To fix these, add two more lines in the file:

    linkirin@trusty:~$ cat /etc/default/locale
    LANG="en_US.UTF-8"
    
    linkirin@trusty:~$ cat /etc/default/locale
    LANG="en_US.UTF-8"
    LANGUAGE="en_US.UTF-8"
    LC_ALL="en_US.UTF-8"
    

    Reference links:

  • Make CapsLock an additional Ctrl

    That makes my left hand has easier life…

    I choose this:

    sudo vi /etc/default/keyboard

    then change

    XKBOPTIONS="ctrl:nocaps"

    referrer links:

    • The Flat Trantor Society: Where should the control key be?
      http://the-flat-trantor-society.blogspot.tw/2013/12/where-should-control-key-be.html
    • keyboard – How do I turn Caps Lock into an extra Control key? – Ask Ubuntu
      http://askubuntu.com/questions/462021/how-do-i-turn-caps-lock-into-an-extra-control-key
  • No longer use this for IBM Technical Rock Star Program

    Since the blog channel is gone and my ranking is not in top 10 anymore…

  • Join the IBM Technical Rock Star Program

    So, you will see a lot posts shared under “trs” category. The personal posts are still under “LinkedIn” category, but not synced to my LinkedIn.