From Openmoko

Jump to: navigation, search
Gtick on shr


About Gtick

From Gtick's homepage:

"GTick is a metronome application written for GNU/Linux and other UN*X-like operting systems supporting different meters (Even, 2/4, 3/4, 4/4 and more) and speeds ranging from 10 to 1000 bpm. It utilizes GTK+ and OSS (ALSA compatible). It is part of the GNU Project.

This program has been originally written by Alex Roberts, but since he didn't have the time to develop and maintain it further, I (Roland Stigge) took it over (initially to package it for Debian, but there were too many "upstream" issues, so I decided to maintain the whole package). Since then, the program has been mainly rewritten (new DSP core, GTK+2 port, added features). "


From Gtick's homepage:

  • Very easy handling
  • Reliable timing
  • Volume control
  • Different meters (Even, 2/4, 3/4, 4/4, more)
  • Configurable speed (10 to 1000 BPM)
  • Manual tapping input
  • Customizable ticking sound
  • Native language support for 20 languages: Afrikaans, Basque, Catalan, Chinese, Czech, Dutch, English, Finnish, French, German, Irish, Italian, Korean, Brazilian Portuguese, Romanian, Russian, Spanish, Swedish, Ukrainian and Vietnamese
  • Separate audio thread for better realtime performance
  • Customizable commands for metronome start / stop, e.g. for switching off the screensaver
  • Options saved to rc file
  • Customizable sound device
  • Visual Tick
  • Accent Attack Padding
  • Configurable Accent Table



I created a new [opkg install] that checks for libsndfile1 and now you get a nice desktop icon.

opkg install

Please test it and give me some feedback on this page.

For alsa-oss compatility, use

modprobe snd-pcm-oss

You can add this in the GTick's preferences by editing the "execute on startup" field.

Apparently there is a problem that after every reboot I have to click the start button twice to get it working. On the first click, an error message about a missing sound device appears.


If you have the speech-dispatcher installed (e.g. navit uses it) you may come upon this problem: speech-dispatcher blocking /dev/dsp .

A quick solution is just to stop speech-dispatcher with
/etc/init.d/speech-dispatcher stop

Source code

You can get the source code from [1].


To make the sound louder either use the gui control for volume or increase the "Headphone" and the "PCM" setting with alsamixer.

Start it from the command line:
or with ssh:
DISPLAY=:0 gtick

Hint: Use the app in landscape mode.


feel free to make it better :)

  • make the interface more finger friendly

Testing , Feedback , Bugs

  • works on shr
  • works on om 2008.12

Please feel free to add comments, give a little feedback and post bugs that are in the program.

Personal tools