Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: Screen Rotation on X61T in Lucid

  1. #11
    Join Date
    Jan 2010
    Beans
    2

    Re: Screen Rotation on X61T in Lucid

    Hi my friend,
    here is what I did on my X61 tablet:





    First create a file to store the current rotation data

    Code:
    sudo gedit /usr/bin/rotationmode
    fill this file with:

    Code:
    0
    and make it editable, but not executable

    Code:
    sudo chmod 666 /usr/bin/rotationmode
    Now we will write the script to rotate the screen

    Code:
    sudo gedit /usr/bin/rotatebutton
    And fill it with:



    Code:
    mode=`cat /usr/bin/rotationmode`
    if test 0 = $mode
    then
    echo 1 > /usr/bin/rotationmode
    xrandr -o right
    fi
    if test 1 = $mode
    then
    echo 2 > /usr/bin/rotationmode
    xrandr -o inverted
    fi
    if test 2 = $mode
    then
    echo 3 > /usr/bin/rotationmode
    xrandr -o left
    fi
    if test 3 = $mode
    then
    echo 0 > /usr/bin/rotationmode
    xrandr -o normal
    fi
    Make it executable:
    Code:
    sudo chmod +x /usr/bin/rotatebutton
    Now typing rotatebutton in terminal should go through all of the rotations
    To map the command to the button go to System>Preferences>Keyboard Shortcuts, click the Add button at the bottom, name it whatever you want and use the command rotatebutton. Then bind the key by clicking in the shortcut column and pressing the tablet rotate key.

    PS: I prefer only to have normal and inverted rotation in my button,
    in which occasion you can modify the script to something like:

    Code:
    mode=`cat /usr/bin/rotationmode`
    if test 0 = $mode
    then
    echo 1 > /usr/bin/rotationmode
    xrandr -o inverted
    fi
    if test 1 = $mode
    then
    echo 0 > /usr/bin/rotationmode
    xrandr -o normal
    fi
    Hope you'll be fine with that...

  2. #12
    Join Date
    Nov 2008
    Location
    /dev/null
    Beans
    92

    Re: Screen Rotation on X61T in Lucid

    So you gave me the rotation script to rotate the screen, but does it rotate the orientation of the stylus along with it? Just making sure before I get started.

  3. #13
    Join Date
    Jan 2010
    Beans
    2

    Re: Screen Rotation on X61T in Lucid

    You should install wacomrotate first, following the link I sent you above.That is exactly what I did on my x61 tablet... I can't imagine you will fail, since i am doing my job just the way i should... I did check for spelling mistakes, but my mini tutorial comes with no official warranty ..

  4. #14
    Join Date
    Jun 2008
    Beans
    1

    Re: Screen Rotation on X61T in Lucid

    Worked perfectly. Thanks.

  5. #15
    Join Date
    Nov 2008
    Location
    /dev/null
    Beans
    92

    Thumbs up Re: Screen Rotation on X61T in Lucid

    Solved it! I appreciate your help. You'd think they'd publish this on the wiki or something... Oh well. At least it's on the internet now.

  6. #16
    Join Date
    May 2010
    Beans
    20
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Screen Rotation on X61T in Lucid

    Hi, most of the solutions to your problems appears on this wiki https://help.ubuntu.com/community/X61T. I found it useful for 9.10. Perhaps other X61T users could update it for 10.04. I love my X61T and I've used that guide to get the most out of it.

  7. #17
    Join Date
    Dec 2010
    Beans
    4

    Re: Screen Rotation on X61T in Lucid

    hola... gracias por la solucion.
    yo tengo esta notebook, con ubuntu 11.10 instalado
    hice tal y como explican y funciona bien en la orientacion "normal" e "invertida", todo bien incluso utilizando el stylus.

    PROBLEMA:
    Pero en las posiciones "rigth" y "left" rota la imagen pero el stylus funciona invertido, cuando voy arriba el cursor va abajo y asi con todas las direcciones.
    lo mismo pasa con los botones Left, Right, Up, and Down Tablet Buttons

    Cual sera el problema?... que puedo hacer?...

    Gracias!!!!

  8. #18
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Screen Rotation on X61T in Lucid

    Hi ndiosque,

    Both Natty (11.04) and Oneiric (11.10) have a bug in their version of xf86-input-wacom. Portrait (right and left) orientations are reversed. So cw and ccw in scripts have their meaning reversed. Either swap cw and ccw in your script or update xf86-input-wacom.

    The BambooPT HOW TO part II. tells you how to update xf86-input-wacom.

  9. #19
    Join Date
    Dec 2010
    Beans
    4

    Re: Screen Rotation on X61T in Lucid

    Hola Favux,

    Muchas gracias por la respuesta. voy a intentar hacer lo que me dices. aunq ahora ya actualice a 12.04 , voy a probar de nuevo los script (por q dejaron de andar en la actualizacion) y tu sugerencia a ver si funciona. despues escribo por aqui q pasa .

    Saludos y Gracias de nuevo...

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •