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)

Underscore 2008-05-01 21:00

Re: Automatic screen rotate for N810
 
Is there any way I can change rotate to a double press event of the power key? I don't like having it rotate every time I just need to enter offline mode or lock the device. I guess I could set "long press" to open the menu, I don't really use long press to turn the device off anyway.

matthewcb4 2008-05-01 22:01

Re: Automatic screen rotate for N810
 
Ok Im sure it will happen again sometime today and when it does I will post it.

Thanks again

matthewcb4 2008-05-02 01:55

Re: Automatic screen rotate for N810
 
/home/user # xrandr -oleft
usage: xrandr [options]
where options are:
-display <display> or -d <display>
-help
-o <normal,inverted,left,right,0,1,2,3>
or --orientation <normal,inverted,left,right,0,1,2,3>
-q or --query
-s <size>/<width>x<height> or --size <size>/<width>x<height>
-r <rate> or --rate <rate> or --refresh <rate>
-v or --version
-x (reflect in x)
-y (reflect in y)
--screen <screen>
--verbose
--dryrun
--prop or --properties
--fb <width>x<height>
--fbmm <width>x<height>
--dpi <dpi>/<output>
--output <output>
--auto
--mode <mode>
--preferred
--pos <x>x<y>
--rate <rate> or --refresh <rate>
--reflect normal,x,y,xy
--rotate normal,inverted,left,right
--left-of <output>
--right-of <output>
--above <output>
--below <output>
--same-as <output>
--set <property> <value>
--off
--crtc <crtc>
--newmode <name> <clock MHz>
<hdisp> <hsync-start> <hsync-end> <htotal>
<vdisp> <vsync-start> <vsync-end> <vtotal>
[+HSync] [-HSync] [+VSync] [-VSync]
--rmmode <name>
--addmode <output> <name>
--delmode <output> <name>
/home/user #

it just did it again where it wont rotate anymore without restarting.

that is what its saying when I go: sudo gainroot and xterm.

please help, and thanks.

Benson 2008-05-02 02:02

Re: Automatic screen rotate for N810
 
Generally, if someone tells you to type something, and you get a usage message like that, it means you or they made a typo. In this case, it should be:
Code:

xrandr -o left
Note the space after -o...

matthewcb4 2008-05-02 05:04

Re: Automatic screen rotate for N810
 
/home/user # xrandr -o left
/home/user #

that is all that happens when i use a space?
am i doing something wrong?

thanks for replying, it means a lot!

emjayes 2008-05-02 10:30

Re: Automatic screen rotate for N810
 
So the command just exits without actually rotating, right?

what does it say if you just run xrandr?

anything like this?
Code:

Nokia-N810-:~# xrandr
Screen 0: minimum 800 x 480, current 800 x 480, maximum 800 x 480
default connected 800x480+0+0 (normal left inverted right) 0mm x 0mm
  800x480        0.0*
Nokia-N810-:~#


TA-t3 2008-05-02 11:19

Re: Automatic screen rotate for N810
 
Been following the thread.. if Nokia doesn't incorporate (and integrate/improve) on this work then shame on Nokia! The lack of built-in screen rotation was one of the very first common complaints when the NITs appeared. I'm so looking forward to being able to read some of my PDF documents in portrait mode.

matthewcb4 2008-05-02 13:57

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by emjayes (Post 177093)
So the command just exits without actually rotating, right?

what does it say if you just run xrandr?

anything like this?
Code:

Nokia-N810-:~# xrandr
Screen 0: minimum 800 x 480, current 800 x 480, maximum 800 x 480
default connected 800x480+0+0 (normal left inverted right) 0mm x 0mm
  800x480        0.0*
Nokia-N810-:~#



I have restarted it again and so that i could use the rotation this morning but im sure that it will happen again sometime today and I will see what it does.

I triend checking that with it running the way it is right now and it says exactly that. I will get back to you once it happens again.

Thesandlord 2008-05-03 02:56

Re: Automatic screen rotate for N810
 
@emjays: hey thanks, I seemed to have an old version of python2.5-gnome

After I rebooted the tablet, something really weird happened. All the button overlays and highlighting of menu items were broken. The UI was completely trashed, for example the scroll bars were gone, buttons showed only very faint text, check boxes were gone, etc... Because I already patched the kernel before, I just used the one click install and it worked. I also edited the power key options as described earlier in this thread. Everything worked until the reboot. Finally I had to reflash the N810 (Luckily I was planing to anyway), and reinstall everything. This time, I used the script to update the kernel, and everything seems to be fine, including the power menu not showing up without any modifications. The truth is I don't know if its this program that did this, or what... Is it a potential bug? (note: the text on the "select connection" dialog is huge, and Im sure its only after I installed this, everything else is fine though...)

ghassane 2008-05-03 22:31

Re: Automatic screen rotate for N810
 
Quote:

Originally Posted by ericcmi (Post 176510)
I have a n800.
I just checked and it seems I have sliderotate 0.0.13 and can't find 0.0.14 anywhere.
Do you have a link to a deb?
Thanks alot.

http://mikie.dy.fi/maemo/dists/chino.../binary-armel/


All times are GMT. The time now is 23:21.

vBulletin® Version 3.8.8