Wednesday, June 06, 2007

An alternative way to notify, in kopete

  1. First install X onscreen display: sudo apt-get install xosd-bin
  2. From kopete menu goto Settings>Configure Notifications
  3. Select "A contact has come online"
  4. Click "Advanced" button
  5. Deselect "show message in pop up"
  6. Select "Execute a program"
  7. Paste the following:

echo %s | sed -r 's/<qt><i>(.+)<\/i>(.+)<\/qt>/\1 \2/g' | osd_cat -f -*-arial-*-r-*-*-15-*-*-*-*-*-*-* -p bottom -A right -c yellow -s1

No comments: