Re: Using libnotify from Guile

2016-01-05 Thread Ludovic Courtès
Neil Jerram skribis: > But isn't inotify (a Linux kernel subsystem for noticing changes to > the filesystem) unrelated to libnotify (a thing for popping up a > notification message on the desktop)? Oh! Indeed, my bad. Well, thanks for notifying me! :-) Ludo’.

Re: Using libnotify from Guile

2016-01-05 Thread Neil Jerram
On 05/01/16 09:40, Ludovic Courtès wrote: Neil Jerram skribis: I noticed you asked about libnotify on IRC Also note that glibc built for the Linux kernel provides wrappers for a bunch of inotify syscalls in : --8<---cut here---start->8--- $ objdump -T .gu

Re: Using libnotify from Guile

2016-01-05 Thread Ludovic Courtès
Neil Jerram skribis: > I noticed you asked about libnotify on IRC Also note that glibc built for the Linux kernel provides wrappers for a bunch of inotify syscalls in : --8<---cut here---start->8--- $ objdump -T .guix-profile/lib/libc.so.6 | grep inotify

Re: Using libnotify from Guile

2016-01-04 Thread Luis Felipe López Acevedo
On 2016-01-04 13:26, Neil Jerram wrote: Hi Luis, I noticed you asked about libnotify on IRC; unfortunately I wasn't quick enough before you left the channel, but I had a quick play and found that it was quite easy to generate a notification using the FFI: Oh, great Neil! Thank you very much.

Using libnotify from Guile

2016-01-04 Thread Neil Jerram
Hi Luis, I noticed you asked about libnotify on IRC; unfortunately I wasn't quick enough before you left the channel, but I had a quick play and found that it was quite easy to generate a notification using the FFI: (use-modules (system foreign)) (define libnotify (dynamic-link "libnotify")) (d