Is there a way to get the kernel messages into the KDE notification system?
I want to see a GUI notification when my kernel detected a problem.
Is there a way to get the kernel messages into the KDE notification system?
I want to see a GUI notification when my kernel detected a problem.
You could put this into your autostart:
sh -c 'tail -n 1 -f /var/log/syslog | while read LINE; do notify-send "$LINE";done'
or into a bash script watch_syslog.sh:
#!/bin/sh
tail -n 1 -f /var/log/syslog | while read LINE; do notify-send "$LINE";done
at least this works under GNOME... You only need to substitute the appropriate tool for KDE instead of notify-send:
tail -n 1 -f /var/log/syslog | while read LINE; do kdialog --passivepopup "$LINE" 3;done