From: Olivier L. <ol...@ol...> - 2007-04-11 12:55:18
|
Magnus Vigerl=F6f <Mag...@ho...> wrote: > On Tuesday 10 April 2007 20:53, Olivier Lecarme wrote: > [...] > > I just remembered I had used before (when I had a 4x5 tablet) some tool > > (probably wacomcpl) which inserted calls to xsetwacom into a start > > script. And in fact, my ~/.xinitrc file contains these calls... but they > > are all commented out! And this is the only place where xsetwacom is > > mentioned in my initialisation scripts. >=20 > Yes, I see... But the file doesn't look as I expect a shell-script should= look=20 > (they usually start with '#!<path-to-interpreter>').. The tool that inserted the instructions put them in front of the .xinitrc file, before the #! line. > You might see some information in the log for the window-manager if these= =20 > commands for some reason does get executed. >=20 > > > If someone has been playing around on the account with an Intous 3 4x5 > > > tablet and used 'wacomcpl' it is fully possible that it has written > > > commands to ~/.xinitrc that does the above, even if it seems that it > > > should take one input device at a time and not one axis at a time. > > > Anyway, could you check this to rule it out? > > > > Here is this .xinitrc file: > > > > # xsetwacom set stylus mode Absolute > > # xsetwacom set eraser mode Absolute > > # xsetwacom set stylus SpeedLevel 6 > > # xsetwacom set eraser SpeedLevel 6 > > # xsetwacom set stylus ClickForce 6 > > # xsetwacom set eraser ClickForce 6 > [...] lots skipped.. >=20 > Wow :) Not that it *should* matter, but you might want to clean up this f= ile. It's done now. > I also vaguely remember an earlier discussion on how to make these comman= ds=20 > resident in KDE/Gnome, and these commands *might* be in some other file a= s=20 > well.. 'find . -type f | xargs grep xsetwacom' (may take time as it will = go=20 > through all the files from where you stand...)? >=20 > Another idea that you can try; Create a new user and log in into X, if th= ere=20 > are any commands that gets executed on your original account they shouldn= 't=20 > be now (remember to reset X though) I did it, and indeed this was OK for the new user. Thus I began searching for a hidden initialisation file, and I found it indeed! It is ~/.wacom-config/startup.sh What tool could have generated this stuff? Anyway, I removed the offending file, and now all is OK. Thanks a lot! --=20 Olivier Lecarme |