Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 03-16-2015, 10:48 PM   #1
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 230

Rep: Reputation: Disabled
automatic screen rotation?

I have a new Lenovo Yoga2. Under Windows, if I turn the screen 90 degrees, the display follows automatically. Is there a daemon in Linux that will do that?

For experimental purposes, I currently have Debian Jessie (testing) loaded on a bootable thumbdrive. There's a story there, but not for this thread,
Old 03-18-2015, 05:18 PM   #2
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 997

Rep: Reputation: 130Reputation: 130
Direct answer: no, there is no daemon.

BUT: yes, there is a solution: I have a Yoga S240 and long time back I stumbled into a thread (not in this forum) which had a script that queried the position sensor of the tablet and then fired the commands to rotate the screen (xRandr & Co.).

BUT BUT: do you really need that? Sounds fancy but nothing more. On my S240 I just remapped one of the HW-keys to run a script which turns the display & stick coordinates upside-down (180 degrees) for when I draw freehand using the stick and the notebook in tablet mode.
Old 03-18-2015, 11:11 PM   #3
Registered: Aug 2013
Distribution: Debian, Ubuntu
Posts: 230

Original Poster
Rep: Reputation: Disabled
Thank you. You have answered my question.
Your fixes are beyond my skill level.
I had a professor who, when encountering a very difficult subject said, "This causes brain damage." For me, the following falls into that category:

Speaking theoretically: A query to the position sensor means that CPU time is spent on something that very seldom happens. The hard disk park presumably is driven by an interrupt from the accelerometer instead of query driven. It would be nice if a change in position also generates an interrupt.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LCD Screen rotation within the Kernel hwoarang Linux - Kernel 4 06-14-2014 11:46 AM
Automatic cube rotation? longblock454 Linux - Software 1 10-18-2010 11:00 AM
Screen rotation without iamzill Linux - Newbie 1 12-27-2009 08:26 AM
Anyone know of an automatic Wallpaper rotation program? bigalexe General 3 08-14-2008 10:44 AM
screen rotation in kde bug? doublefailure Linux - General 2 12-25-2004 07:20 PM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration