roadkillbunny
June 11th, 2010, 10:30 PM
Hello,
Some time ago, I've written a deamon for my tablet PC (ThinkPad X61) that, when the screen is in tablet mode, monitors the orientation of the tablet via the hard-drive accelerometer and rotates the display correspondingly.
You can find more information about the project here:
http://www.krizka.net/projects/autorotate/
The deamon registers a DBUS interface, so I can control it. For example, sometimes I might want to disable the automatic rotation (when I move the laptop around a lot) or manually set the rotation of the screen. Currently I do the control using a command line scrip that I've mapped to one of the hardware buttons on the screen.
After using it for a few months, I think it would be a good idea to create a GUI to control the daemon. My current idea is to create an indicator menu that only becomes visible when the screen is in tablet mode. Then clicking the menu would show the following list of menu options:
Screen Rotation
[ ] 0 degrees
[ ] 90 degrees
[ ] 180 degrees
[ ] 270 degress
[ ] Automatic
Here are my questions to the Ubuntu forum members:
1) What do you think of such a project? Do you have any suggestions how it could be improved?
2) Is anyone working on a similar project? I would consider writing an indicator applet for general display properties as similar. I just don't want to duplicate any work. I found the following blueprint on Launchpad about a proposed indicator applet for display properties, with support for third party applications:
https://blueprints.launchpad.net/indicator-applet/+spec/indicator-display
However it does not seem to have received much attention yet...
Some time ago, I've written a deamon for my tablet PC (ThinkPad X61) that, when the screen is in tablet mode, monitors the orientation of the tablet via the hard-drive accelerometer and rotates the display correspondingly.
You can find more information about the project here:
http://www.krizka.net/projects/autorotate/
The deamon registers a DBUS interface, so I can control it. For example, sometimes I might want to disable the automatic rotation (when I move the laptop around a lot) or manually set the rotation of the screen. Currently I do the control using a command line scrip that I've mapped to one of the hardware buttons on the screen.
After using it for a few months, I think it would be a good idea to create a GUI to control the daemon. My current idea is to create an indicator menu that only becomes visible when the screen is in tablet mode. Then clicking the menu would show the following list of menu options:
Screen Rotation
[ ] 0 degrees
[ ] 90 degrees
[ ] 180 degrees
[ ] 270 degress
[ ] Automatic
Here are my questions to the Ubuntu forum members:
1) What do you think of such a project? Do you have any suggestions how it could be improved?
2) Is anyone working on a similar project? I would consider writing an indicator applet for general display properties as similar. I just don't want to duplicate any work. I found the following blueprint on Launchpad about a proposed indicator applet for display properties, with support for third party applications:
https://blueprints.launchpad.net/indicator-applet/+spec/indicator-display
However it does not seem to have received much attention yet...