Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th September 2009, 10:11 AM
nasls_lsa Offline
Registered User
 
Join Date: Aug 2009
Location: Greece/ Athens
Posts: 13
linuxmozilla
Lightbulb wacum tabletpc and Fedora 11 (F11) rotate

Hello !

I just figured out how can I rotate the pen when I rotate the screen, and I would like to share this knowledge to other people who may have the same problem I had.

I have a tablet fujitsu-siemens t5010 with installed the wacum packages by default, and the pen was working, but couldn't rotate with xsetwacom command.

In Fedora 10, most guides refer to the wacom device as "stylus" which doesn't work on Fedora 11. I run command " $ xinput list " and I found the line

"PnP Device (FUJ02e5) eraser" id=3 [XExtensionKeyboard]

and some lines before there is:

"PnP Device (FUJ02e5)" id=2 [XExtensionKeyboard]
^^^^^^ this is the name of the device xsetwacom command needs! ^^^^^^^

I wrote first the line with the eraser cause I suppose that even someone has different wacom model, the eraser will be easy to find by grep command ( $ xinput list | grep -i eraser ), and common in most configures.

now , the edited script I use becomes like this:


#!/bin/sh

if [ $1 == 'normal' ]
then
xrandr -o normal
xsetwacom set "PnP Device (FUJ02e5)" rotate 0
elif [ $1 == 'left' ]
then
xrandr -o left
xsetwacom set "PnP Device (FUJ02e5)" rotate 2
elif [ $1 == 'right' ]
then
xrandr -o right
xsetwacom set "PnP Device (FUJ02e5)" rotate 1
elif [ $1 == 'inverted' ]
then
xrandr -o inverted
xsetwacom set "PnP Device (FUJ02e5)" rotate 3
fi

put all that to a file with the name "rotate.sh" , make it executable ( $ chmod 755 rotate.sh ) and you can use it from command line like this:

$ rotate normal
$ rotate left
$ rotate right
$ rotate inverted

It would be awesome if it chat could happened automatically , simply by rotating the screen, like it happens on Vista. I'll try to find out any solution and update this post if I make it !
Reply With Quote
  #2  
Old 29th November 2009, 11:31 AM
hkicsi Offline
Registered User
 
Join Date: Nov 2009
Posts: 1
linuxfedorafirefox
RE: wacum tabletpc and Fedora 11 (F11) rotate ..

Hello,

That was nice. Thanks for that.

The small upgrade: on my T5010 i'm using F12 and a nice change for Your script:

(the left and right xsetwacom lines changed. )


#!/bin/sh

if [ $1 == 'normal' ]
then
xrandr -o normal
xsetwacom set "PnP Device (FUJ02e5)" rotate 0
elif [ $1 == 'left' ]
then
xrandr -o left
xsetwacom set "PnP Device (FUJ02e5)" rotate 1
elif [ $1 == 'right' ]
then
xrandr -o right
xsetwacom set "PnP Device (FUJ02e5)" rotate 2
elif [ $1 == 'inverted' ]
then
xrandr -o inverted
xsetwacom set "PnP Device (FUJ02e5)" rotate 3
fi
Reply With Quote
Reply

Tags
f11, fedora 11, rotate, tablet, wacom

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rotate screen on the fly? zx5000 Hardware & Laptops 0 20th August 2007 02:37 AM
rotate.pl gone wild? pushback Using Fedora 0 21st December 2005 09:27 AM
Rotate Screen in X? Esoteric Using Fedora 1 23rd May 2005 02:51 PM
Rotate screen garetjax Using Fedora 1 2nd April 2005 05:47 AM
Anyone tried FC2 on Compaq TC1000 TabletPC macfreak Hardware & Laptops 7 17th November 2004 10:59 AM


Current GMT-time: 07:35 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat