X201T

Differences between revisions 1 and 2
Revision 1 as of 2012-05-17 10:28:34
Size: 702
Editor: cpe-90-157-214-173
Comment: In development
Revision 2 as of 2012-05-17 10:39:59
Size: 1554
Editor: cpe-90-157-214-173
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
## EXAMPLE:
## * Contact: MartinBergner
## * Make: Samsung
## * Brand: X20
## * Model: 1700V
## * Website: http://notebook.samsung.de/article.asp?artid=BB17B919-35B8-45BF-8234-2A3E444F13A6
Line 26: Line 20:

==== Tablet buttons ====

See this topic.
http://ubuntuforums.org/showthread.php?t=1656632

===== Flip screen =====

{{{

#!/bin/bash

# Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation.

rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"

# Using current screen orientation proceed to rotate screen and input tools.

case "$rotation" in
    normal)
# -rotate to the inverted
    xrandr -o inverted
    xsetwacom set "Serial Wacom Tablet" Rotate HALF
    xsetwacom set "Serial Wacom Tablet touch" Rotate HALF
    xsetwacom set "Serial Wacom Tablet eraser" Rotate HALF

    ;;
    inverted)
# -rotate to normal
    xrandr -o normal
    xsetwacom set "Serial Wacom Tablet" Rotate NONE
    xsetwacom set "Serial Wacom Tablet touch" Rotate NONE
    xsetwacom set "Serial Wacom Tablet eraser" Rotate NONE
    ;;
esac

}}}

Contact: brodul

Make: Lenovo

Brand: ThinkPad

Model: X201T (X201 Tablet)

Website: fixme

Current Issues

12.04.0 LTS

Everything is working fine, except the hibernation.

Tablet buttons

See this topic. http://ubuntuforums.org/showthread.php?t=1656632

Flip screen

# Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation. 

rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o  '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')" 

# Using current screen orientation proceed to rotate screen and input tools. 

case "$rotation" in 
    normal) 
#    -rotate to the inverted
    xrandr -o inverted 
    xsetwacom set "Serial Wacom Tablet"  Rotate  HALF
    xsetwacom set "Serial Wacom Tablet touch" Rotate HALF
    xsetwacom set "Serial Wacom Tablet eraser" Rotate HALF 

    ;; 
    inverted) 
#    -rotate to normal 
    xrandr -o normal 
    xsetwacom set "Serial Wacom Tablet" Rotate NONE 
    xsetwacom set "Serial Wacom Tablet touch" Rotate NONE 
    xsetwacom set "Serial Wacom Tablet eraser" Rotate NONE 
    ;; 
esac

Hardware details

http://www.thinkwiki.org/wiki/Category:X201_Tablet

Notes


CategoryLaptop

CategoryLaptop/Lenovo/X201T (last edited 2012-05-17 10:39:59 by cpe-90-157-214-173)