Skip to content
Enlightenment gadget for convertible laptops
C Meson
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
src
theme
.gitignore
README.md
convertible.desktop.in
meson.build
meson_options.txt

README.md

This gadget is meant to improve screen rotation quality by leveraging on iio-sensor-proxy. iio-sensor-proxy is a D-Bus proxy for accelerometers and ambient light sensors.

This gadget, merely connect to DBUS and read the information put there by iio-sensor-proxy, provided that the gyroscope is supported.

Installation

To install it please run:

meson build --prefix /usr
cd build
ninja 
sudo ninja install

This will create a gadget in the /<lib_folder>/enlightenment/modules The gadget structure is like the following:

modules
|   
|
└───convertible
|   |
|   └───module.desktop
|   └───linux-gnu-x86_64-ver-0.23
|   |   |   # The gadget you compiled
|   |   └───e_gadget_convertible
|   └───e-gadget-covnertible.edj
└───... # Other gadgets

Usage

Once the gadget has been installed, you need to enable the module and add the gadget to your bar.

For completeness, the following picture shows where to enable the module. Enabling module

Then you should see a new gadget named convertible. Add it the your gadget bar. Added gadget

The main blue rotating icon is clickable. It is meant to lock/unlock the automatic rotation. When grey, rotation is locked and no matter how you move your convertible, it won't rotate the screen.

When blue, rotation is unlocked and the screen(s) will rotate according to the data coming trough D-Bus

You can see it in action in the following video: E convertible gadget in action

You can’t perform that action at this time.