顯示具有 XFCE 標籤的文章。 顯示所有文章
顯示具有 XFCE 標籤的文章。 顯示所有文章

2015年7月3日 星期五

Debian 8 Jessie的終端機程式選擇

工作機小黑 X61 前幾天升級到 Jessie,最不習慣的是gnome-terminal 升級後,無法更改 tab 標籤了。工作上我需要用到很多terminal,之前寫了個小script一次開啟多個terminal,自動ssh到需要管理的Linux server,自動更改terminal標籤,方便工作。現在不行了,怎辦?

測試了好幾個終端機模擬: guake / lxterminal / terminator / xfce4-terminal ,最後發現只有 xfce4-terminal 還可以從cli自動修改tab標籤名稱。

修改後的script如下:
#!/bin/bash

xfce4-terminal   --title="server1" -e "ssh server1  --tab  -e "ssh server2" --title="server2"  --tab  -e "ssh server3" --title="server3"  

2012年8月19日 星期日

IBM X31 Debian Wheezy Trackpoint 小紅點的中鍵滾輪正確解法

在殺肉組合零件之後,第二部IBM X31也正式服役了。安裝了 Debian Wheezy XFCE + LXDE 桌面。碰到最困擾的問題在於XFCE / LXDE 桌面環境下,小紅點的中鍵滾輪模擬無法正確動作,找了一陣子,正確解法如下:

To enable scrolling with the TrackPoint while holding down the middle mouse button, create a new file /etc/X11/xorg.conf.d/20-thinkpad.conf with the following content:
 Section "InputClass"
     Identifier "Trackpoint Wheel Emulation"
     MatchProduct       "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
     MatchDevicePath    "/dev/input/event*"
     Option             "EmulateWheel"          "true"
     Option             "EmulateWheelButton"    "2"
     Option             "Emulate3Buttons"       "false"
     Option             "XAxisMapping"          "6 7"
     Option             "YAxisMapping"          "4 5"
 EndSection