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.
Obviously no ideas.... :-)
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...
Created attachment 6728 Initial patch to auto rotate the screen using iio-sensor-proxy
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.
-- 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