Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Automatic screen rotate for N810

    Reply
    Page 12 of 26 | Prev | 2   10     11   12   13     14   22 | Next | Last
    anidel | # 111 | 2008-05-21, 08:22 | Report

    I have cloned the system on the memory card. To flash the kernel pointed at in the first thread, should I take some particular care ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    emjayes | # 112 | 2008-05-21, 09:10 | Report

    The kernel is always in the flash memory, only the root fileysystem is in memory card.
    So the installation is the same regardless of the location of root filesystem.

    See: http://www.internettablettalk.com/fo...7&postcount=85

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to emjayes For This Useful Post:
    anidel

     
    svs57 | # 113 | 2008-05-21, 11:45 | Report

    Is it possible to setup that power button doesn't rotate screen.
    Now it rotate and call menu.

    PowerKeyShortAction=menu
    PowerKeyLongAction=poweroff
    PowerKeyDoubleAction=softpoweroff

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Texrat | # 114 | 2008-05-21, 12:18 | Report

    Originally Posted by josiahg777 View Post
    What the hell?? *Scratches head at blatant random spam*
    /me reports post to site admin instead.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ldrn | # 115 | 2008-05-21, 22:20 | Report

    Originally Posted by svs57 View Post
    Is it possible to setup that power button doesn't rotate screen.
    Now it rotate and call menu.

    PowerKeyShortAction=menu
    PowerKeyLongAction=poweroff
    PowerKeyDoubleAction=softpoweroff
    Originally Posted by Snoshrk View Post
    Ok, My goal is: only use the App Switch long press to rotate (N800)

    I have changed all of the options above to "...=menu"

    How do I make this change permanent?
    Reboot doesn't seem to change anything...

    I feel that I am missing something really obvious...


    Thanks

    I like to use the power button to rotate and not long press on home, myself, but I think the way to change things will be similar.

    Open a terminal and become root, then type:
    vi /usr/lib/sliderotate/sliderotate.py

    Find the line that says "bus.add_signal_receiver(power,"
    -- and so on, and comment it out with a "#" sign in front. (Press a to enter edit mode, then escape, shift+z shift+z to save.)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Snoshrk | # 116 | 2008-05-21, 23:51 | Report

    Thanks for the suggestions

    However I have tried the edit sliderotate.py and rebooted needed or not

    Did not work, Power button still rotates screen.

    Thanks

    Edit | Forward | Quote | Quick Reply | Thanks

     
    geoffstewart | # 117 | 2008-05-22, 02:06 | Report

    for my changes to sliderotate.py to take effect, all I did was run as root: /etc/init.d/sliderotate restart

    I changed the sliderotate.py slightly differently than previously posted. I made the function power() just set the rotation to normal. Near the bottom of the file is this function:

    -------
    def power(id,obj):
    if not locked:
    new_orientation = "normal"
    rotate(new_orientation)
    -------
    the new_orientation used to be set to "power", but with it set to normal, now only the longpress on the Home button rotates the screen.

    Hope this helps.

    Geoff

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Snoshrk | # 118 | 2008-05-22, 02:30 | Report

    Geoff,

    That did the trick!

    Thanks
    Matt

    Edit | Forward | Quote | Quick Reply | Thanks

     
    emjayes | # 119 | 2008-05-23, 18:18 | Report

    Sorry for my absence, but I have been quite busy lately and have not been able to respond.

    I will make the buttons and actions configurable as soon as I can spare some time.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    emjayes | # 120 | 2008-05-23, 18:19 | Report

    pre-emptively for Yorker: http://www.internettablettalk.com/fo...176#post185176

    the install-xrandr-kernel script takes care of the downloading. You should have a working setup if all went well.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 12 of 26 | Prev | 2   10     11   12   13     14   22 | Next | Last
vBulletin® Version 3.8.8
Normal Logout