Je voudrais tester une tablette-écran de la marque XP-PEN.
Je travaille sous linuxMint XFCE 19 TARA.
Sur le site du constructeur un driver est disponible compatible avec CentOs, Mint & Ubuntu:
https://www.xp-pen.com/download/index/cid/36.html
Le dossier du driver contient :
- un dossier "lib" regroupant qqs libraries
- un dossier "platforms" avec un unique fichier: "libqxcb.so"
- un fichier "config.xml"
- un exécutable "Pentablet_Driver"
- un fichier Pentablet_Driver.sh don't voici le code:
Code : Tout sélectionner
#!/bin/sh
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
LD_LIBRARY_PATH=$dirname/lib
export LD_LIBRARY_PATH
$dirname/$appname "$@"
Quand j'ai essayé de le lancer dans un terminal voila ce qui c'est passé:
Code : Tout sélectionner
nico@nico-Z170X-UD5-TH:~/Téléchargements/Linux_Pentablet_V1.2.3$ sudo sh Pentablet_Driver.sh
[sudo] Mot de passe de nico :
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
nico@nico-Z170X-UD5-TH:~/Téléchargements/Linux_Pentablet_V1.2.3$
La bonne soirée.
EDIT
J'ai continué à chercher et je suis tombé là-dessus.
https://stackoverflow.com/questions/459 ... time-for-a
J'ai essayé avec le sudo -E:
Code : Tout sélectionner
nico@nico-Z170X-UD5-TH:~/Téléchargements/Linux_Pentablet_V1.2.3$ sudo -E sh Pentablet_Driver.sh
[sudo] Mot de passe de nico :
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0
Code : Tout sélectionner
nico@nico-Z170X-UD5-TH:~/Téléchargements/Linux_Pentablet_V1.2.3$ sh Pentablet_Driver.sh
nico@nico-Z170X-UD5-TH:~/Téléchargements/Linux_Pentablet_V1.2.3$
Il n'y a plus de notification renvoyant à XDG_RUNTIME_DIR mais rien ne se passe après