! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Automatic Screen Rotation - iio-sensor-proxy
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description George Vasiliou 2016-07-05 10:00:23 CEST
Hello,
This post is more a question than a bug.

I would like to know if XFCE (i'm using version 4.12) supports automatic screen rotation on convertible laptops, either by using iio-sensor-proxy api or by any other method.

I'm using Debian Jessie + XFCE4.12 with iio-sensor-proxy installed but screen is not auto rotating when i turn my screen on laptop (Toshiba Radius 11 L10W). 

On the same laptop, auto screen rotation to works fine under UbuntuGnome (16.04 + Gnome 3.18) and iio-sensor-proxy.

In the new Debian + XFCE installation i have verified that iio-sensor-proxy works fine. 
Acceleromter sensors are correctly detected, and sensor's data are correctly read, so it seems that luck of auto rotation is not an iio-sensor-proxy bug.


PS: Someone could use a script based on iio-sensor-proxy to achieve auto screen rotation (such a script is provided here and works fine for me: http://linuxappfinder.com/blog/auto_screen_rotation_in_ubuntu), but i was wondering if this feature is available in XFCE natively, as it is in Gnome 3.18.

Any ideas....?

Thank you in advance, 

George V.
Comment 1 George Vasiliou 2016-07-07 10:30:46 CEST
Obviously no ideas.... :-)
Comment 2 Matias De lellis 2016-07-07 16:58:36 CEST
Hi George,

Here a first implementation to test .. ;)

https://github.com/matiasdelellis/xfce4-settings/tree/WIP/iio-sensor-proxy

It is functional and only lacks a configuration option.. Of course who does not have accelerometer this not affect anything.. 

Some official maintainer here? If are interested continuing the development...
Comment 3 Matias De lellis 2016-07-07 18:07:02 CEST
Created attachment 6728 
Initial patch to auto rotate the screen using iio-sensor-proxy
Comment 4 Simon Steinbeiss editbugs 2020-01-31 15:06:00 CET
The patch/feature looks interesting, but I don't have any hardware to test it with... So until I get something that has the sensors to actually test this I won't be able to properly review and merge/extend this patch.
Comment 5 Git Bot editbugs 2020-05-28 23:05:48 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/82.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #12682

Reported by:
George Vasiliou
Reported on: 2016-07-05
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
6 users

Version

Version:
4.12.0

Attachments

Additional information