Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Screen switch for ubuntu 10.10 on portege m200

  1. #11
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Screen switch for ubuntu 10.10 on portege m200

    Please post both the output of xinput list and xsetwacom list in a terminal.

    And your stylus has an eraser, but you do not have touch, correct?

  2. #12
    Join Date
    Jul 2008
    Beans
    63

    Re: Screen switch for ubuntu 10.10 on portege m200

    here is the list:

    nooniensoong97@nooniensoong97-PORTEGE-M200:~$ xinput list
    ⎡ Virtual core pointer id=2 [master pointer (3)]
    ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
    ⎜ ↳ PS/2 Mouse id=10 [slave pointer (2)]
    ⎜ ↳ AlpsPS/2 ALPS GlidePoint id=11 [slave pointer (2)]
    ⎜ ↳ Serial Wacom Tablet eraser id=12 [slave pointer (2)]
    ⎜ ↳ Serial Wacom Tablet stylus id=13 [slave pointer (2)]
    ⎜ ↳ Microsoft Microsoft Notebook Receiver v2.0 id=15 [slave pointer (2)]
    ⎣ Virtual core keyboard id=3 [master keyboard (2)]
    ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
    ↳ Power Button id=6 [slave keyboard (3)]
    ↳ Video Bus id=7 [slave keyboard (3)]
    ↳ Power Button id=8 [slave keyboard (3)]
    ↳ AT Translated Set 2 keyboard id=9 [slave keyboard (3)]
    ↳ Toshiba input device id=14 [slave keyboard (3)]

    Yea the Toshiba that I have doesn't have the touch screen only the magnetic pen.
    Conceive, Believe, and Achieve

  3. #13
    Join Date
    Jul 2008
    Beans
    63

    Re: Screen switch for ubuntu 10.10 on portege m200

    Since inverted is a rotation of half what is the rotation for left and right?
    Conceive, Believe, and Achieve

  4. #14
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Screen switch for ubuntu 10.10 on portege m200

    So was there output from xsetwacom list? From your xinput list output the xsetwacom commands are correct with "Serial Wacom Tablet stylus" and "Serial Wacom Tablet eraser".

    left = ccw
    right = cw

    What video chipset do you have?:
    Code:
    lspci | grep VGA

  5. #15
    Join Date
    Jul 2008
    Beans
    63

    Re: Screen switch for ubuntu 10.10 on portege m200

    nooniensoong97@nooniensoong97-PORTEGE-M200:~$ lspci | grep VGA
    01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200 32M/64M] (rev a1)
    Conceive, Believe, and Achieve

  6. #16
    Join Date
    Jul 2008
    Beans
    63

    Re: Screen switch for ubuntu 10.10 on portege m200

    nooniensoong97@nooniensoong97-PORTEGE-M200:~$ xsetwacom list
    Serial Wacom Tablet eraser ERASER
    Serial Wacom Tablet stylus STYLUS
    Conceive, Believe, and Achieve

  7. #17
    Join Date
    Jul 2008
    Beans
    63

    Re: Screen switch for ubuntu 10.10 on portege m200

    Everything is working now. I have launchers setup for left, right, inverted, and none rotation. I might expand on it later with an app., but for now the launchers will do fine.
    Conceive, Believe, and Achieve

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

    Re: Screen switch for ubuntu 10.10 on portege m200

    Great! Nice work.


    Your xsetwacom list is good so you are on the wacom drivers. For more ideas the Rotation HOW TO might be helpful.

  9. #19
    Join Date
    Jul 2008
    Beans
    63

    Re: Screen switch for ubuntu 10.10 on portege m200

    Here is the final scripting for screen and device rotations for the Toshiba Portege M200:

    #!/bin/sh

    # Find the line in "xrandr -q --verbose" output that contains current screen orientation and "strip" out current orientation.

    rotation="$(xrandr -q --verbose | grep 'connected' | egrep -o '\) (normal|left|inverted|right) \(' | egrep -o '(normal|left|inverted|right)')"

    # Using current screen orientation proceed to rotate screen and input tools.

    case "$rotation" in
    normal)
    # -rotate to left
    xrandr -o left
    xinput set "Microsoft Microsoft Notebook Receiver v2.0" rotate CCW
    xinput set "AlpsPS/2 ALPS GlidePoint" rotate CCW
    xsetwacom set "Serial Wacom Tablet stylus" rotate CCW
    xsetwacom set "Serial Wacom Tablet eraser" rotate CCW
    ;;
    left)
    # -rotate to left
    xrandr -o left
    xinput set "Microsoft Microsoft Notebook Receiver v2.0" rotate CCW
    xinput set "AlpsPS/2 ALPS GlidePoint" rotate CCW
    xsetwacom set "Serial Wacom Tablet stylus" rotate CCW
    xsetwacom set "Serial Wacom Tablet eraser" rotate CCW
    ;;
    inverted)
    # -rotate to left
    xrandr -o left
    xinput set "Microsoft Microsoft Notebook Receiver v2.0" rotate CCW
    xinput set "AlpsPS/2 ALPS GlidePoint" rotate CCW
    xsetwacom set "Serial Wacom Tablet stylus" rotate CCW
    xsetwacom set "Serial Wacom Tablet eraser" rotate CCW
    ;;
    right)
    # -rotate to left
    xrandr -o left
    xinput set "Microsoft Microsoft Notebook Receiver v2.0" rotate CCW
    xinput set "AlpsPS/2 ALPS GlidePoint" rotate CCW
    xsetwacom set "Serial Wacom Tablet stylus" rotate CCW
    xsetwacom set "Serial Wacom Tablet eraser" rotate CCW
    ;;
    esac
    Conceive, Believe, and Achieve

  10. #20
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Screen switch for ubuntu 10.10 on portege m200

    Hi NoonienSoong97,

    Not quite sure I understand what you are doing. For whichever of the four screen orientations the screen is in you always want it to go to left handed Portrait orientation?

Page 2 of 3 FirstFirst 123 LastLast

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
  •