Talk:Installing Ubuntu 6.10 on a ThinkPad X41 Tablet

From ThinkWiki
Revision as of 02:43, 24 October 2006 by Cdl28 (Talk | contribs)
Jump to: navigation, search

NetBoot Installation Move

I moved the NetBoot portion of the documentation, as it's part of isntallation instructions. The pre-installation notes were intended for README-like things, not so much actual procedure.

Screen Rotation

I followed your guide to create the screen rotation scripts/events, and after acpi force-reload and restart it works just fine. But when I reboot the machine, I have to reload and restart acpi again, otherwise it won't work.


--aerials 21:51, 27 September 2006 (CEST)

Re: Screen Rotation

Yeah, I've been having this problem as well, and I'm working on a (quick and easy) solution. The problem is a result of acpid starting in rc before there's a display configured... If you look in /var/log/acpid you'll see a whole bunch of "cannot find display". That's why after you get a display running and restart acpid, everything works.

- Chris

rotate script

for me in order to get it working i have to modify
x41tsdown.sh

#!/bin/sh
XUSER=`who | grep ' :0' | cut -d ' ' -f 1`
 if test -n "$XUSER"; then
    su - $XUSER -c "DISPLAY=:0 xrandr -o right"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "stylus" Rotate CW"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "cursor" Rotate CW"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "eraser" Rotate CW"
    su - $XUSER -c "DISPLAY=:0 xvkbd&"
    sleep 2
 fi

x41tsup.sh

#!/bin/sh
su - $XUSER -c "DISPLAY=:0 xrandr -omright"
XUSER=`who | grep ' :0' | cut -d ' ' -f 1`
 if test -n "$XUSER"; then
    su - $XUSER -c "DISPLAY=:0 xrandr -o normal"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "stylus" Rotate NONE"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "cursor" Rotate NONE"
    su - $XUSER -c "DISPLAY=:0 xsetwacom set "eraser" Rotate NONE"
    sleep 2
 fi
killall xvkbd

Waldwolf 00:41, 4 October 2006 (CEST)