Cette page n'a pas encore d'étiquettes.
Apportez votre aide…

Ceci est une ancienne révision du document !



Tablettes graphiques : Wacom expresskeys

Tableau récapitulant les tablettes graphiques testées avec Ubuntu :

tablette graphique
model Vendor ProdId expresskey touch strip
intuos3 4x5 (A6) (PTZ-430) 056a
intuos3 4x6 (A6 Wide) ( PTZ-431W) 056a 00b7 ok ok
intuos3 6x8 (A5) (PTZ-630) 056a 00b1 ok ok
intuos3 6,25x10,67 (A5 Wide) (PTZ-630) 056a 00b5 ok ok
intuos3 9x12 (A4) (PTZ-930) 056a 00b2 ok ok
intuos3 12x12 (A4 Oversize) (PTZ-1230) 056a
intuos3 12x19,2(A3 Wide) (PTZ-1231W) 056a
Cintiq 12wx 056a ok (Intrepid) ok (Intrepid)
Cintiq 21 UX 056a 003f ok
Volito1 056a 0060
Bamboo 056a 0065 ok ok
Bamboo Pen&Touch - CTH460 056a 00d1 ok (drv 0.8.8-4) No

Légende :
Vide = Non Testée
Ok = Tout Fonctionne
No = Non Opérationnelle

Notes :

Vérification des pré-requis

installer les paquets :

Récuperation des expresskeys

La version 0.4.2 est buggé pour hardy ( et sup ?) elle nécessite des modifications. vous pouvez les faire vous même (voire la section Concernant les erreurs) ou utiliser les sources modifiées disponibles ici
  • Récupérez les expresskeys ici et enregistrez les dans votre répertoire personnel.
  • Dans une console depuis votre répertoire personnel les extraire grâce à la commande "tar -xf expresskeys-<Version_Telecharger>.tar.gz"
     tar -xf expresskeys-0.4.2.tar.gz

voila vous avez les sources.

Compilation et installation des expresskeys

Compiler

Pour compiler vous devez vous placer dans le dossier expresskeys-<numero_de_version> créé par l'extraction ou où vous l'avez copié.
on utilise la commande cd

     ~$ cd expresskeys-0.4.2
     ~/expresskeys-0.4.2$

Maintenant la commande de configuration ./configure.
Vous allez utiliser l option –prefix pour configurer le programme pour cette utilisateur.

      ~/expresskeys-0.4.2$ ./configure --prefix=/home/$USER

ou bien, si vous avez un message d'erreur « We failed to locate a full Xlib environment »

      ~/expresskeys-0.4.2$ ./configure --prefix=/home/$USER --with-xlib=/usr/lib --with-xinc=/usr/include/

Si tout c'est bien passé faites un make pour compiler le programme.

       ~/expresskeys-0.4.2$ make 

Installer

Une fois la compilation effectuée il reste à l'installer par un make install :

      
     benje@cereli-05:~/expresskeys-0.4.2$make install
     

Si tous c'est bien passé le programme est prêt.

Configuration des expresskeys

Le fichier de configuration se trouve dans ~/.expresskeys/intuos3.conf ou padless.conf.

Il faut lancer les expresskeys pour créer le fichier

.
Voici une config avec sur le pad gauche :
* Dans les fenetres de texte
-le defilement avec le touch strip
* Dans gimp
- le changement de mode des outils
- le undo
- le zoom
- l estompe

 ConfigVersion 3
Identifier1Pad pad
Identifier1Sty stylus

# ***************** Please do not remove the above header! ****************

# Blank lines and everything following a comment "#" sign are ignored.

# This file will be re-created whenever missing, but the name and layout depend
# on which devices that are detected at the very moment of program execution.

# Some ASCII art showing the "default" program record:
#
# Left ExpressKey Pad
# ------------
# |  |   |   |		Wacom Intuos3 defaults are:
# |  | 9 | T |
# |11|---| O |		Button 9  = (left) Shift	= keycode 50
# |  |10 | U |		Button 10 = (left) Alt		= keycode 64
# |------| C |		Button 11 = (left) Control	= keycode 37
# |  12  | H |		Button 12 = Space		= keycode 65
# ------------
#
# Right ExpressKey Pad
# ------------
# |   |   |  |		Wacom Intuos3 defaults are:
# | T |13 |  |
# | O |---|15|		Button 13 = (left) Shift	= keycode 50
# | U |14 |  |		Button 14 = (left) Alt		= keycode 64
# | C |------|		Button 15 = (left) Control	= keycode 37
# | H |  16  |		Button 16 = Space		= keycode 65
# ------------
#
# Use the value 999 as a keycode to enable pen mode toggling. To be able
# to switch mode anywhere each program block must then contain one 999
# definition.

# Use the values 991 to 997 for simulating mouse buttons 1 to 7. Only existing
# mouse buttons, defined through the driver of the active core pointer, can be
# simulated.

# OBSERVE: The "default" program record must exist _somewhere_ in the file!
# Each program record is separated by one set of double percentage signs: %%
# Each program field begins after a case sensitive keyword, eg: ProgramName
# Whitespace (tabs and spaces) are ignored in the keycode fields, but spaces
# are recorded when in a ProgramName or Stylus1PressCurve field (between the
# double quotes).

%%			# <---  ********** BEGIN NEW PROGRAM RECORD **********

ProgramName		"default" # Name must be within double quotes ""

Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes ""

HandleTouchStrips	1	# Main switch. Use 1 to enable the Touch Strips

LeftPadTouchUp		98	# First keycode
LeftPadTouchUpPlus	98	# Extra keycode

LeftPadTouchDown	104	# First keycode
LeftPadTouchDownPlus	104	# Extra keycode

RightPadTouchUp		102	# First keycode
RightPadTouchUpPlus	102	# Extra keycode

RightPadTouchDown	100	# First keycode
RightPadTouchDownPlus	100	# Extra keycode
  
LeftPadButton9		50	# First keycode
LeftPadButton9Plus	0	# Extra keycode

LeftPadButton10		64	# First keycode
LeftPadButton10Plus	0	# Extra keycode

LeftPadButton11		50	# First keycode
LeftPadButton11Plus	0	# Extra keycode

LeftPadButton12		37	# First keycode
LeftPadButton12Plus	0	# Extra keycode

RightPadButton13	50	# First keycode
RightPadButton13Plus	0	# Extra keycode

RightPadButton14	64	# First keycode
RightPadButton14Plus	0	# Extra keycode

RightPadButton15	37	# First keycode
RightPadButton15Plus	0	# Extra keycode

RightPadButton16	65	# First keycode
RightPadButton16Plus	0	# Extra keycode

%%			# <---  ********** BEGIN NEW PROGRAM RECORD **********

ProgramName		"Gimp" # Name must be within double quotes ""

Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes ""

HandleTouchStrips	1	# Main switch. Use 1 to enable the Touch Strips

LeftPadTouchUp		20	# First keycode fleche haut
LeftPadTouchUpPlus	20	# Extra keycode

LeftPadTouchDown	61	# First keycode fleche bas
LeftPadTouchDownPlus	61	# Extra keycode

RightPadTouchUp		20	# First keycode fleche haut
RightPadTouchUpPlus	20	# Extra keycode

RightPadTouchDown	61	# First keycode fleche bas
RightPadTouchDownPlus	61	# Extra keycode

LeftPadButton9		39	# First keycode
LeftPadButton9Plus	0	# Extra keycode

LeftPadButton10		25	# First keycode
LeftPadButton10Plus	0	# Extra keycode

LeftPadButton11		50	# First keycode
LeftPadButton11Plus	0	# Extra keycode

LeftPadButton12		37	# First keycode
LeftPadButton12Plus	0	# Extra keycode

RightPadButton13	37	# First keycode
RightPadButton13Plus	29	# Extra keycode

RightPadButton14	37	# First keycode
RightPadButton14Plus	52	# Extra keycode

RightPadButton15	999	# First keycode
RightPadButton15Plus	0	# Extra keycode

RightPadButton16	65	# First keycode
RightPadButton16Plus	0	# Extra keycode

%%			# <---  ********** BEGIN NEW PROGRAM RECORD **********

ProgramName		"Blender" # Name must be within double quotes ""

Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes ""

HandleTouchStrips	1	# Main switch. Use 1 to enable the Touch Strips

LeftPadTouchUp		102	# First keycode
LeftPadTouchUpPlus	0	# Extra keycode

LeftPadTouchDown	100	# First keycode
LeftPadTouchDownPlus	0	# Extra keycode


RightPadTouchUp		98	# First keycode
RightPadTouchUpPlus	0	# Extra keycode

RightPadTouchDown	104	# First keycode
RightPadTouchDownPlus	0	# Extra keycode

LeftPadButton9		37	# First keycode s (estompe)
LeftPadButton9Plus	0	# Extra keycode

LeftPadButton10		9	# First keycode z (zoom)
LeftPadButton10Plus	0	# Extra keycode

LeftPadButton11		50	# First keycode shift
LeftPadButton11Plus	0	# Extra keycode

LeftPadButton12		23	# First keycode ctrl
LeftPadButton12Plus	0	# Extra keycode

RightPadButton13	37	# First keycode
RightPadButton13Plus	29	# Extra keycode

RightPadButton14	37	# First keycode
RightPadButton14Plus	52	# Extra keycode

RightPadButton15	999	# First keycode
RightPadButton15Plus	0	# Extra keycode

RightPadButton16	65	# First keycode
RightPadButton16Plus	0	# Extra keycode

%%			# <---  ********** BEGIN NEW PROGRAM RECORD **********

ProgramName		"XTerm" # Name must be within double quotes ""

Stylus1PressCurve "0 0 100 100" # PressCurve must be within double quotes ""

HandleTouchStrips	0	# Main switch. Use 1 to enable the Touch Strips

LeftPadTouchUp		0	# First keycode
LeftPadTouchUpPlus	0	# Extra keycode

LeftPadTouchDown	0	# First keycode
LeftPadTouchDownPlus	0	# Extra keycode

RightPadTouchUp		0	# First keycode
RightPadTouchUpPlus	0	# Extra keycode

RightPadTouchDown	0	# First keycode
RightPadTouchDownPlus	0	# Extra keycode

LeftPadButton9		0	# First keycode
LeftPadButton9Plus	0	# Extra keycode

LeftPadButton10		0	# First keycode
LeftPadButton10Plus	0	# Extra keycode

LeftPadButton11		0	# First keycode
LeftPadButton11Plus	0	# Extra keycode

LeftPadButton12		0	# First keycode
LeftPadButton12Plus	0	# Extra keycode

RightPadButton13	0	# First keycode
RightPadButton13Plus	0	# Extra keycode

RightPadButton14	0	# First keycode
RightPadButton14Plus	0	# Extra keycode

RightPadButton15	999	# First keycode
RightPadButton15Plus	0	# Extra keycode

RightPadButton16	0	# First keycode
RightPadButton16Plus	0	# Extra keycode

Charger les expresskeys

Pour que les Expreskeys se chargent il faut taper :

      /home/$USER/bin/expresskeys

ou pour un demon

      /home/$USER/bin/expresskeys -d

Recharger une configuration

Tapez :

      expresskeys -r 

Charger automatiquement des expresskeys

Pour que les Expresskeys se chargent tous seuls vous pouvez :
- Rajouter dans le menu Système > Préferences > Sessions, à l'onglet Programme au demarrage la ligne concernant le chargement des expresskey.

* Problème avec expresskeys dans hardy (Tablet not attached) :

  1. un autre post (anglais) qui explique comment résoudre le problème. http://www.hightechsister.com/25/ubuntu-hardy-804-gimp-wacom-success/
  2. Si malgré la modification du get_device.c indiquée dans le post plus haut, vous avez encore le message "tablet not attached), allez dans synaptic et réinstallez le paquet xserver-xorg-input-wacom. Le message tablet not attached devrait disparaitre.

Contributeurs: benje , maxouille

D'apres le site Linux Wacom Project

  • wacom_expresskeys.1278230178.txt.gz
  • Dernière modification: Le 04/07/2010, 09:56
  • par 82.228.194.17