Ubuntu Lucid 's repository gnome-mousetrap does not work

Bug #588545 reported by YannUbuntu on 2010-06-02
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-mousetrap (Ubuntu)

Bug Description

Binary package hint: gnome-mousetrap

I try to use gnome-Mousetrap in Ubuntu 10.04 LTS.

I installed the "mousetrap" package (which is in the Ubuntu repository).

A launcher appears in the Applications->Accessibility menu, but it does not
work (python error is shown in the terminal).

So I edit the /usr/bin/mousetrap file, and in this file I change the occurency
of "python2.5" by "python".

Again an error.

So I launch the program with "sudo mousetrap", and this time it works !

But I can not use it (or I don't know how), I don't see any webcam display, nor
menu to set it.

I read in the Ubuntu-fr wiki that to solve this problem i had to do:
- edit /usr/share/pyshared/mouseTrap/ocvfw.py , and change l.200 "if not
status[counter]:" into if not status or not status[counter]:
- comment line 270 : #self.img.origin = frame.origin

.. but this does not improve anything for me.

Please help !

(also reported on https://bugzilla.gnome.org/show_bug.cgi?id=620063 )

YannUbuntu (yannubuntu) on 2010-06-02
description: updated
Revision history for this message
fl_ori4n (girard.florian) wrote :

same problème but, the solve not working on ubuntu 10.10..

Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :

On Ubuntu Lucid it doesn't work. I get in the terminal (in dutch):
/usr/bin/mousetrap: regel 149: /usr/bin/python2.5: Bestand of map bestaat niet

I think in 10.04 the Python version is 2.6.

Isn't this easy to fix by reffering to python 2.6 instead of 2.5?

Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :

The package is just old...

I've removed moustrap and used these websites to install moustrap again:
http://ubuntuforums.org/showthread.php?p=8864117 point 18.

I didn't have to edit the moustrap script and the location of moustrap was /usr/local/bin/mousetrap

It didn't work very well. Moustrap in combination with Dasher made moustrap hang for short periodes of time so my mouse wasn't controllable.

Revision history for this message
Dominique Ramaekers (dominique-ramaekers) wrote :


Correction: This version of mousetrap works well as long as you don't go outside the screen with the mousepointer, than moustrap hangs.

I work on Ubuntu 10.04 i386

/usr/local/bin/mousetrap -v gives:

hope this helps...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers