I'm using Touchégg on Arch Linux and it functions splendidly. However, I'm noticing that as I use it, it gradually takes more and more CPU time.
There are a few things to note:
- If I kill the process and start it again, then the CPU Usage drops to normal levels (0.1%).
- I'm starting the process from
xfce4-appfinder
to execute the command,touchegg
.
- I'm starting the process from
- The
touchegg
command is being run at session startup with these settings inxfce4-session-settings
.
I have a few suspicions:
- It's possible that my problem is that I should include some argument when I start
touchegg
. I'm currently starting it without any arguments.- Notably, running it in a terminal makes it function, but also gives a lot of output whenever I perform a gesture.
- Also notably, I'm unable to find any information about actually starting Touchegg when I search for it.
- It seems to only increase in CPU usage as I actually use gestures. Using a USB mouse, or just leaving the computer idle don't seem to increase the process's CPU time (However, this may not actually be the case; I haven't had a chance to rigorously confirm this).
Here's some miscellaneous information, in case it may be useful:
- Linux Distribution: Arch Linux
- Linux Kernel: 3.13.5-1
Does anyone know what I can do to keep its CPU usage low so I don't need to kill/start the process every so often?
touchegg
directly by cron).strace -c
andltrace -c
. If nothing is out of the ordinary then the bug is internal to Touchegg and not related to the system. In that case you must use a profiler like gprof or callgrind. Google is full of useful tutorials.