Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - thinkpad-scripts

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: thinkpad-scripts 4.8.1-1

Git Clone URL: https://aur-dev.archlinux.org/thinkpad-scripts.git (read-only)
Package Base: thinkpad-scripts
Description: Scripts for ThinkPad X220 & X230 Tablet rotation, docking, etc.
Upstream URL: https://thinkpad-scripts.readthedocs.org/en/latest/
Licenses: GPL
Conflicts: think-rotate
Submitter: jturner314
Maintainer: jturner314
Last Packager: jturner314
Votes: 4
Popularity: 0.001142
First Submitted: 2014-02-21 19:22
Last Updated: 2017-01-20 19:01

Latest Comments

TimorLee commented on 2014-10-07 23:36

I tried using your rotate script on my ThinkPad X230T, and I get an Error. The Screen flips, but Touch input is inverted. So if I move the pen to the left, the mouse pointer heads right. This error happens under Gnome 3 with every rotation script I have found so far. Here is the error message:

Property "/Xft/RGBA" does not exist on channel "xsettings". If a new property should be created, use the --create option.
Traceback (most recent call last):
File "/usr/bin/thinkpad-rotate", line 9, in <module>
load_entry_point('thinkpad-scripts==4.1', 'console_scripts', 'thinkpad-rotate')()
File "/usr/lib/python3.4/site-packages/tps/rotate.py", line 37, in main
rotate_to(new_direction, config)
File "/usr/lib/python3.4/site-packages/tps/rotate.py", line 52, in rotate_to
File "/usr/lib/python3.4/site-packages/tps/screen.py", line 76, in set_subpixel_order
'-s', direction.subpixel], logger)
File "/usr/lib/python3.4/site-packages/tps/__init__.py", line 123, in wrapper
return function(command, *args, **kwargs)
File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['xfconf-query', '-c', 'xsettings', '-p', '/Xft/RGBA', '-s', 'rgb']' returned non-zero exit status 1

This is probably a gnome issue, but I'm not sure. If you say it doesn't have to do with the script, I'll be happy to head to the forums...