maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Automatic screen rotate for N810 (https://talk.maemo.org/showthread.php?t=19447)

emjayes 2008-08-13 18:40

Re: Automatic screen rotate for N810
 
Noted. Thanks

emjayes 2008-08-14 10:58

Re: Automatic screen rotate for N810
 
Update: version 0.0.25diablo
-removed dependency for rootsh (thanks for the idea Urho)
-automatic (re)installation for required packages by sliderotatesettings.
(SSU breaks rotation, reinstallation re-enables it)
-removed the need to start xterm and gain root access to install the required packages.
-automatic launch of sliderotatesettings if you try to rotate before installing the required kernel and xserver-xomap.
(also a minor annoyance for anyone updating from previous version, you will have to either (re)install the packages using the button or issue
Code:

gconftool -t bool -s /apps/rotate/xrandrsupport true
to make sliderotate stop launching sliderotatesettings when trying to rotate.

http://mikie.dy.fi/maemo/sliderotate-diablo.install

wipeout140 2008-08-15 14:14

Re: Automatic screen rotate for N810
 
I finally got round to trying out "sliderotate" it was version 0.0.25diablo everything is great, Thanks for putting in the time for application, this way is better then going through wiki way and am really liking automatic rotate on the nokia n810

Thanks Again. BTW is it ok to disable extras dev, ATM i disabled extras dev after install

jhford 2008-08-17 23:48

Re: Automatic screen rotate for N810
 
My N810 4.2008.30-2 no longer rotates when I press the power button. Any idea why? Will any other button trigger the rotation?
Thanks

emjayes 2008-08-18 09:46

Re: Automatic screen rotate for N810
 
If you just upgraded via SSU, you will have to go to Extras ->Sliderotatesettings and press the (re)install xrandr-kernel -button to re-enable the rotation.

possessedskier 2008-08-18 15:37

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 213621)
Update: version 0.0.25diablo

emjayes: I had to reflash a couple of weeks ago and just ran your new installation. Worked perfect. It's definitely a no-brainer now. Anybody should be able to do it. Great job!

jhford 2008-08-18 15:56

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 214835)
If you just upgraded via SSU, you will have to go to Extras ->Sliderotatesettings and press the (re)install xrandr-kernel -button to re-enable the rotation.

I just did that, and think I found a bug. If I uncheck the zoom option and save, it won't rotate, but it will when I recheck it and save.

qwerty12 2008-08-18 16:03

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 213621)
Update: version 0.0.25diablo
-removed dependency for rootsh (thanks for the idea Urho)

Just a note, writing to sudoers directly is dirty :)

How about instead making a file called
/etc/sudoers.d/sliderotate.sudoers :
user ALL = NOPASSWD: /usr/local/bin/install-xrandr-kernel

And calling update-sudoers || true from the postinst?

emjayes 2008-08-19 06:43

Re: Automatic screen rotate for N810
 
New version: 0.0.26diablo

Bugfix: Unchecking "Make Zoom..." stopped rotation working is now fixed.
Root access fixed as per qwerty12's note.

emjayes 2008-08-19 11:10

Re: Automatic screen rotate for N810
 
New version: 0.0.27diablo
Bugfix: Using sounds should not drain battery as much as before.


All times are GMT. The time now is 16:39.

vBulletin® Version 3.8.8