Skip to content

Python daemon to enhance user experience on HP Spectre x360 under Ubuntu 16.10

Notifications You must be signed in to change notification settings

okaresz/SpectreX360Hacks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

SpectreX360 hacks

A python3 (not yet daemon) script to enhance user experience on HP Spectre x360 (skylake) under Ubuntu 16.10.

Features

  • "stance" detection
    • detect if if lid is rotated to tablet mode ("tablet stance")
    • detect if an external display is connected ("docked stance")
    • otherwise assume "laptop stance"
  • react to stance change:
    • disable trackpad in tablet mode
    • change text scaling and "menu" scaling of Unity
    • start/stop onboard (on-screen-keyboard)
    • start/stop ScreenToolsSysIndicator

Dependencies

The script uses:

NOTES

Python D-Bus

https://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html#receiving-signals https://github.com/LEW21/pydbus/blob/master/README.rst

nice summary about understanding dbus-monitor output and DBus messages: http://askubuntu.com/a/38796

TODO

About

Python daemon to enhance user experience on HP Spectre x360 under Ubuntu 16.10

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages