Categories
Office

辦公桌 2017

Office 2017

好長一段時間沒有更新,前幾天與推友談到螢幕,想起來好久沒有拍辦公桌分享(應該是有,但沒有記在這裡就…嗯…)(補連結《換位置》),而關於這個話題上一篇已經是十年前《辦公桌 2007》了啊~(茶)

主機算算也有五歲,兩顆爛爛的 ThinkVision X24 大概才一年多就報修過一次,最好的設備應該屬自己從日本扛回來的 Filco Majestouch Convertible 2 吧~一直不習慣 MBP 13″ 鍵盤打感,就不把它帶到辦公室用。

Categories
LinkedIn Office Working

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.

Categories
Blog

Moved to DigitalOcean

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

Categories
LinkedIn Office Working

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/
Categories
LinkedIn Office Working

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