Extras/Watch the ripple

From Maemo Leste Wiki
Jump to navigation Jump to search

Watch the Ripple

The name is inspired by the Emerson, Lake & Palmer song “Take a Pebble”. Ripple is a notification daemon for Pebble watches.

Setup

First, pair the watch using bluetoothctl or Maemo's Bluetooth settings(one day when it exists).

Create the user configuration:

wtr init

This prints the path to the configuration file, normally:

~/.config/wtr/wtr.conf

Edit the file and set the watch's Bluetooth address in the [btservice] section:

[btservice]
address = 00:11:22:33:44:55

Enable startup at graphical login and start the daemon immediately:

wtr enable
wtr start

Check its status with:

wtr status

View recent daemon output with:

wtr log

Autostart

The command wtr enable creates the empty marker file ~/.config/wtr/autostart. At the next graphical login, /etc/X11/Xsession.d/90ripple detects this marker and starts the daemon.

To disable startup:

wtr disable

Directly running this also works:

touch ~/.config/wtr/autostart