aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 0b7adaa72ef8a662bb0991a1918c25f3c7b0f83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# writed

writed is a tiny daemon that displays messages received via the traditional `write`/`wall` mechanism as desktop notifications via `libnotify`.

## building

You'll need `libnotify`, `pkg-config`, and a C compiler.

```
gcc -std=c89 -lutil `pkg-config --cflags --libs libnotify` main.c -o writed
```

writed **must** be setgid `utmp`. `write` and `wall` only send messages to `pts` devices registered in `/var/run/utmp`, and without setgid `utmp`, writed will silently fail to receive messages.

## usage

Just run `writed` while you have a desktop notification daemon running.