command-not-found is enabled out of the box and it rules. openSUSE should have it by default too.
dpkg phrasebook:
rpm -ql foo
dpkg -L foo
rpm -qa "foo*bar"
dpkg -l "foo*bar"
(and it also shows packages that are not installed)
openSUSE. Linux. computers.
rpm -ql foo
dpkg -L foo
rpm -qa "foo*bar"
dpkg -l "foo*bar"
(and it also shows packages that are not installed):set check_mbox_size on
works around that.dpkg -i {subversion,libsvn1,libneon27-gnutls}*.deb
from here and here.
http://svn.opensuse.org/svn/yast/trunk/libyui/examples/HelloWorld.cc#line=,13
emerge -uND --world && knotify "Done!"
. I thougt it would be a piece of cake, but apparently not.zypper in libnotify; notify-send Done
, has a disadvantage of requiring a fair amount of GNOME software. But it does use a proposed freedesktop.org standard.# killall knotify4; cp /usr/bin/knotify4{,.bak}
# sed 's/type="a(ss)"/ type = "av"/g' /usr/bin/knotify4.bak > /usr/bin/knotify4
Now which event should we use so that the user actually sees the message? There are many of them, with user configurable actions. warning/kde seems to work out of the box.#! /usr/bin/python
import sys
import dbus
m = sys.argv[1]
kn = dbus.SessionBus().get_object("org.kde.knotify", "/Notify")
i = kn.event("warning", "kde", [], m, [0,0,0,0], [], 0,
dbus_interface="org.kde.KNotify")
That did it. But I still hope that there is a simple solution for KDE4 that I have missed.
Like dbus-monitor, it monitors the system or session bus. Additionally, it can write the traffic to a file and read it later (-w, -r). It can dump all the gory details (-d) or pretty print all the gory details (-p). Like DBusMessageBox which inspired it, it can make message sequence charts (-c). It has some simple filtering abilities (-f, -F).
Try 0.1 if that sounds interesting.