| Thread Previous • Date Previous • Date Next • Thread Next |
Am 08.12.2011 12:14, schrieb David Gomes:
I've been working on notifications for Pantheon Terminal, and I've
been using this code:
GLib.Process.spawn_command_line_async ("notify-send
--icon=\"utilities-terminal\" \"" + t.get_window_title () + "\" \"Task
finished.\"")
Should I use libnotify or something like that? The above code works
fine in Unity, Pantheon and even Awesome WM.
notify-send is usually not installed on most distributions. It is slower than using libnotify or DBus. It is an invitation to sublte escaping issues.
| Thread Previous • Date Previous • Date Next • Thread Next |