Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use the mouse in version > 2.6.0 ?

9 views
Skip to first unread message

Helmut Jarausch

unread,
Oct 14, 2008, 4:35:14 AM10/14/08
to
Hi,

I have a strange problem with gimp-2.6.1 or gimp-svn :
I cannot use my mouse in the canvas anymore. (It works fine
for any menus, of course).

On my Gentoo system I have the following components installed:

xorg-server-1.5.1
gtk+-2.14.3 (plus companion packages like pango,...)
gegl-0.20

First, it doesn't look like a GTK/X11 problem since
Inkscape can use the my mouse in the canvas.

I have enabled the mouse (called Mouse0 here) for Mode Screen
in the preferences/Input devices.

If I enable (in addition) my WACOM stylus I can use that in the
canvas but not the mouse.

I think (but I'll check soon), the mouse was working in 2.6.0
on the very same system.

What has changed in version 2.6.1 or what am I missing?

Many thanks for a hint,
Helmut.


Furthermore, I get the following message on start up:

** Message: Module '/usr/lib/gegl-0.0/ff_save.so' load error:
/usr/lib/gegl-0.0/ff_save.so: undefined symbol: img_convert
GIMP-Error: Calling error for procedure 'gimp-procedural-db-proc-info':
Procedure 'gimp--gimp-append-data' not found

(gimp:23031): Gimp-Base-CRITICAL **: temp_buf_resize: assertion `width > 0 && height > 0' failed

--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany

James Taylor

unread,
Oct 18, 2008, 8:57:47 AM10/18/08
to
Helmut Jarausch <jara...@skynet.be> wrote:

> I have a strange problem with gimp-2.6.1 or gimp-svn :
> I cannot use my mouse in the canvas anymore. (It works fine
> for any menus, of course).

[snip]


> If I enable (in addition) my WACOM stylus I can use that in the
> canvas but not the mouse.

I had exactly this problem in Gimp 2.4 until I found how to work around
it. When I first edited my xorg.conf file to enable my Wacom tablet I
included stanzas for the Wacom "stylus", "eraser", "cursor", and "pad".
Then I enabled all four of these in the Gimp's Preferences=>Input
Devices=>Configure Extended Input Devices by setting them to "Screen".
This seemed fine initially. I could use the mouse, then if I picked up
the Wacom stylus I could use that too. But once I had used the stylus, I
could not then go back to using the mouse to apply tools on the canvas.
The only way it would start working again is if I restarted X (by
logging out and back in again) which was not at all convenient.

I then found by accident (ok, educated guesswork) that if I disabled the
Wacom "cursor" and "pad" devices, and the "Configured Mouse" in the
Gimp's Extended Input Devices Preference, then I could switch freely
between the mouse, stylus, and eraser and all three would remember their
last tool settings. Nice!

Perhaps, in the excitement of installing Gimp 2.6, you went through the
Preferences turning things on that you thought might be useful, but
unfortunately put yourself in the same situation as me. If so, then I
hope the same solution I found will help you too.

By the way, there is a useful dialogue called "Device Status" which may
help you. It tells you which devices (ie. mouse, stylus, eraser) it
knows about and what settings (tool, brush, fg/bg colour, pattern,
gradient) each device currently has, and it indicates which is the
current device with a small black triangle mark.

--
James Taylor

measekite

unread,
Oct 18, 2008, 2:13:05 PM10/18/08
to
On Sat, 18 Oct 2008 19:57:47 +0700, James Taylor wrote:

> A=R[y}zxGtw;Fl.M(HwFV=d|NAGZ$`56y5^t}qnrIwfpj%J/:PV;6{k#,sC^;{)8,j|AB>cE.67j#6
>
> U6M.#w;[esWIjb5pa"4
> User-Agent: MacSOUP/2.8 (Mac OS X version 10.4.9 (PPC))
> Xref: prodigy.net comp.graphics.apps.gimp:23763
> X-Received-Date: Sat, 18 Oct 2008 08:57:49 EDT (nlpi059.nbdc.sbc.com)

It might be helpful to many if you would post the xorg.conf file.

James Taylor

unread,
Oct 18, 2008, 3:02:15 PM10/18/08
to
measekite <inkys...@oem.com> wrote:

> James Taylor wrote:
>
> > When I first edited my xorg.conf file to enable my Wacom tablet I
> > included stanzas for the Wacom "stylus", "eraser", "cursor", and "pad".
> > Then I enabled all four of these in the Gimp's Preferences=>Input
> > Devices=>Configure Extended Input Devices by setting them to "Screen".
>

> It might be helpful to many if you would post the xorg.conf file.

Well, I was stumbling around in the dark (Google) trying to discover
what I needed to do to enable the Wacom tablet for use in the Gimp when
I stumbled on this site:

<http://www.alexmac.cc/tablet-apps/>

Right on that page are the xorg.conf additions I used.

Actually, I was rather disappointed in Ubuntu 8.04 by the time I
discovered this. Everything else pretty much worked out of the box, but
the detective work I did to get to this point was more than many
non-technical people would ever have achieved. I first read the Gimp
documentation and saw what I was expected to be able to do in the
Preferences, then I went looking for Wacom drivers, discovered that the
drivers were already installed under Ubuntu, and finally worked out that
there was some missing configuration in xorg.conf. Given that Ubuntu has
a fairly good overall user experience, I was surprised that this simple
modification to xorg.conf wasn't handled automatically.

Also, I am surprised that the advice I read in more than one place
(can't remember exactly where) told me to enable all four Wacom devices
in the Gimp's Prefs when it seems that doing this causes a conflict with
the main mouse.

Anyway, you live and learn, and hopefully my experience will help the
OP, Helmut.

--
James Taylor

Helmut Jarausch

unread,
Nov 1, 2008, 4:08:46 PM11/1/08
to
What is the principal difference between Inkscape and Gimp when comes to
handling input devices.

On the very same machine (this implies: the same X11 (xorg-server 1.52)
same xorg.conf (see below) and the same GTK gtk+ 2.24.4)
Inkscape handles the (PS/2)mouse and my WACOM tablet as input devices.

On the other hand, Gimp fails to do so.
The mouse cannot be used for drawing in the canvas (just pointing)
and using the menus. Both, Inkscape and Gimp handle the WACOM stylus
correctly.

This smells like a bug.

Any help is very much appreciated,
Helmut.


Here the relevant part of my xorg.conf :

Section "ServerLayout"
Identifier "Default"
Screen 0 "Screen 0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "SendCoreEvents"
InputDevice "stylus" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "pad" "SendCoreEvents"
Option "AutoAddDevices" "no"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"
Option "Device" "/dev/psaux"
# Option "Device" "/dev/input/mouse0"
Option "CorePointer"
EndSection

Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
Option "Mode" "absolute"
Option "PressCureve" "0,5,95,100"
EndSection


--

James Taylor

unread,
Nov 2, 2008, 5:41:00 AM11/2/08
to
Helmut Jarausch <jara...@skynet.be> wrote:

> What is the principal difference between Inkscape and Gimp when comes to
> handling input devices.
>
> On the very same machine (this implies: the same X11 (xorg-server 1.52)
> same xorg.conf (see below) and the same GTK gtk+ 2.24.4)
> Inkscape handles the (PS/2)mouse and my WACOM tablet as input devices.
>
> On the other hand, Gimp fails to do so.
> The mouse cannot be used for drawing in the canvas (just pointing)
> and using the menus. Both, Inkscape and Gimp handle the WACOM stylus
> correctly.

Did you try my suggestion earlier in the thread of disabling all the
input devices in the Gimp configuration except for the Stylus and
Eraser? Did it work? If not, what is the symptom, error message, etc? Do
you need more details from me?

It worked for me only by making that change in the Gimp prefs. I had the
same problem as you before and now I have a working Wacom tablet *and* a
working mouse.

> Here the relevant part of my xorg.conf :

Sorry, I'm not an expert with xorg.conf. I just used the settings I
found on this page: <http://www.alexmac.cc/tablet-apps/>

--
James Taylor

Helmut Jarausch

unread,
Nov 2, 2008, 6:45:02 AM11/2/08
to

Yes, I've copied these verbatim, even the entry for the non-existent
Wacom mouse (I have a Graphire here).

I have disabled/enabled nearly all combinations of input devices,
it doesn't help.

The symptoms:

I can use my (non-Wacom) mouse everywhere except in the canvas.
I can move the cursor in the canvas, too.
But when I press the left mouse button, nothing happens
except an error message in the terminal where I started Gimp:

(gimp:13367): Gimp-Base-CRITICAL **: temp_buf_resize: assertion `width > 0 && height > 0' failed


Some months earlier (an older version of Gimp, X11, GTK) everything worked just fine.
The symptoms happen with recent versions including Gimp SVN revision 27517 (2008-11-01)

Thanks for your help,

Michael Schumacher

unread,
Nov 3, 2008, 5:26:36 AM11/3/08
to
On 14 Okt., 09:35, Helmut Jarausch <jarau...@skynet.be> wrote:

> I have a strange problem with gimp-2.6.1 or gimp-svn :
> I cannot use my mouse in the canvas anymore. (It works fine
> for any menus, of course).
>
> On my Gentoo system I have the following components installed:
>
> xorg-server-1.5.1
> gtk+-2.14.3 (plus companion packages like pango,...)
> gegl-0.20
>
> First, it doesn't look like a GTK/X11 problem since
> Inkscape can use the my mouse in the canvas.

Sounds like you should update http://bugzilla.gnome.org/show_bug.cgi?id=406440
then.


Michael

Helmut Jarausch

unread,
Nov 3, 2008, 11:34:40 AM11/3/08
to Michael Schumacher

Thanks for reminding me of my own bug report.

I must have overlooked one combination i.e.

DISABLE ALL INPUT DEVICES !!!

Then I can use both, the mouse and my Wacom stylus.

STILL,

Gimp doesn't keep track of the different tools
'attached" to each input device (probably because it
thinks there is no input device).

Are you sure it's not a bug in Gimp (since inkscape
does work with input devices enabled)

Thanks,
Helmut.

Michael Schumacher

unread,
Nov 3, 2008, 12:41:11 PM11/3/08
to
On 3 Nov., 17:34, Helmut Jarausch <jarau...@skynet.be> wrote:

> Are you sure it's not a bug in Gimp (since inkscape
> does work with input devices enabled)

I'm not sure about anything, only that you should update the bug
report. :)
If this needs further discussion, then it should probably be held on
the gimp-developer mailing list.


HTH,
Michael

0 new messages