My notes for running linux on the ThinkPad x230. Mine is model G2ET94WW.
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
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
yum -y install xbacklight xbacklight -inc 10% xbacklight -dec 10%
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