View Full Version : Wacom tablets and XGL
davim
June 29th, 2007, 12:06 AM
Has any one been able to use a wacom tablet under XGL?? I have an ATI (x200) laptop and the only way to use compiz is with XGL :( and now that I've fond this -> http://people.ee.ethz.ch/~mrenold/mypaint/ I really want to use my tablet :P but that's only possible without XGL :( I've tried my tablet in PCs with nVidia and Intel cards and it works perfectly even with compiz....
Please let me know if any one can help me!!!!
some-guy
July 31st, 2007, 07:06 PM
if you set up xgl into a session, you can have another session without xgl and use it there.
some-guy
July 31st, 2007, 07:15 PM
make /usr/bin/startxgl.sh
put this in it if on gnome
[code:74e55]#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
dbus-launch --exit-with-session gnome-session
compiz-manager[/code:74e55]
or this if on kde
[code:74e55]#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec startkde
compiz-manager[/code:74e55]
or this if on xfce
[code:74e55]#!/bin/sh
Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &
DISPLAY=:1
exec xfce4-session
compiz-manager[/code:74e55]
some-guy
July 31st, 2007, 07:19 PM
The package dbus-x11 is needed for the dbus-launch command. If it is not installed your xsession will terminate on launch.
Save this file, and close the editor.
Make the script executable with the following command:[code:f8112]
sudo chmod +x /usr/bin/startxgl.sh[/code:f8112]
Now we'll add an option to the gnome login manager so that we can choose to log into our new Xgl-gnome session. Create an Xsession file like so:
[code:f8112]gksudo gedit /usr/share/xsessions/xgl.desktop[/code:f8112]
In this file, paste the following:
[code:f8112] [Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/bin/startxgl.sh
Icon=
Type=Application
[/code:f8112]
Save this file and close the editor.
To log into Xgl, logout of your current session, and from the login screen click "Options" and "Session chooser".
Select "Xgl" from the Session menu.
When you login, gdm will ask if you would like to make the "Xgl" session the default session. For now, choose "Just for this session".
------When your Xgl desktop appears for the first time, gnome may ask you about your keyboard localization preference. Choose "Use Gnome keyboard localization" to continue using your usual keyboard settings.
BTW: i got this from the ubuntu wiki
some-guy
July 31st, 2007, 07:22 PM
dont make anything autostart.
this way you can change the session to xgl then back to gnome/kde/xfce etc
davim
August 28th, 2007, 04:51 PM
sorry but this didn't work :( I still can't use my wacom tablet with XGL :(
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.