Site Tools


Sidebar

hardwarerelated:thinkpad:thinkpad_x230

Notes for ThinkPad x230 w/ linux

My notes for running linux on the ThinkPad x230. Mine is model G2ET94WW.

using the trackball/nipple to scroll websites, current way

  • fedora: yum -y install xorg-x11-apps xinput
  • add this to ~/.xsession:
xinput list | \
egrep 'TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|PS/2 Generic Mouse' | \
sed 's/.*id=\([0-9]\{1,\}\).*/\1/' | \
while read id ; do
  xinput set-prop $id "Evdev Wheel Emulation" 1
  xinput set-prop $id "Evdev Wheel Emulation Button" 2
  xinput set-prop $id "Evdev Wheel Emulation Timeout" 200
  xinput set-prop $id "Evdev Wheel Emulation Axes" 6 7 4 5 # horiz. and vert. scrolling
  #xinput set-prop $id "Evdev Wheel Emulation Axes" 0 0 4 5 # just vert. scolling
done

automatic detection/modesetting for external monitor

I use a external 24“ monitor attached to the ultrabase dockingstation. X detects the DisplayPort-output as HDMI-2, from there i use a cable to the DVI-interface of the monitor. This script is run upon userlogin from xdm.

cat >>~/.xsession <<EOT
# disable internal monitor on rhel if external monitor available
if [[ -n $(xrandr | grep '^HDMI2 connected' ) ]]; then
                echo "HDMI2 connected was detected.">/tmp/xsessionlog
                xrandr --output LVDS1 --off
                xrandr --output HDMI1 --auto
                xrandr --output HDMI2 --mode 1920x1080
fi
EOT

tuning LED brightness

yum -y install xbacklight
xbacklight -inc 10%
xbacklight -dec 10%

i915 chip power saving

Module options help power saving. Using option “i915_enable_rc6=7” leads here to suspend to RAM no longer working.

echo 'options i915 i915_enable_rc6=6 i915_enable_fbc=1 lvds_downclock=1' > \
  /etc/modprobe.d/i915.conf
hardwarerelated/thinkpad/thinkpad_x230.txt · Last modified: 2022/11/13 12:06 by 127.0.0.1