def fixX11(): notify("Applying X11 settings") _launch(['xinput', 'set-float-prop', 'Primax Lenovo Laser Mouse', 'Device Accel Constant Deceleration', '2']) _launch(['xinput', 'set-float-prop', 'Dell BT Mouse', 'Device Accel Constant Deceleration', '2']) _launch("setxkbmap -option terminate:ctrl_alt_bksp".split()) _launch("setxkbmap -option keypad:pointerkeys".split()) wacom.apply_profile('Wacom Intuos3 9x12 pad', 'gimp')
def fixX11(): import threading notify("Applying X11 settings") _launch("setxkbmap -option terminate:ctrl_alt_bksp".split()) _launch("setxkbmap -option keypad:pointerkeys".split()) wacom.apply_profile('Wacom Intuos3 9x12 pad', 'gimp') subprocess.call('dispwin -I /home/dss/colorhug/results/samsung/samsung.icc'.split()) t = threading.Timer(xmodmap_delay, do_xmodmap) t.daemon = True t.start()
def fixX11(): notify("Applying X11 settings") _launch("setxkbmap -option terminate:ctrl_alt_bksp".split()) _launch("setxkbmap -option keypad:pointerkeys".split()) wacom.apply_profile('Wacom Intuos3 9x12 pad', 'gimp')