Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174821

Desktop notifications?

From Teemu Likonen <tlikonen@iki.fi>
Newsgroups linux.debian.user
Subject Desktop notifications?
Date 2016-11-17 17:10 +0100
Message-ID <sExqa-2W6-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I have a backup script that runs once a day with root privileges. It's
handled by systemd timer and service units. I would like to have a
desktop notification text when the backup is ready.

What I have tried so far: I don't use normal desktop, only i3 window
manager. I installed notify-osd package and started its daemon as a
normal user. Running a command "notify-send foo" shows "foo" text like I
expected. But when "notify-send" runs as root no notification text
appear anywhere.

How can I get notifications working in plain window manager setup? And
hopefully not only this backup script example but for other programs
too, like Network Manager's notifications. I'm not really interested in
work-arounds like "DISPLAY=:0 xmessage -timeout 5 foo".

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Desktop notifications? Teemu Likonen <tlikonen@iki.fi> - 2016-11-17 17:10 +0100
  Re: Desktop notifications? Michael Milliman <michael.e.milliman@gmail.com> - 2016-11-17 21:20 +0100
  Re: Desktop notifications? Reco <recoverym4n@gmail.com> - 2016-11-18 09:10 +0100
    Re: Desktop notifications? Teemu Likonen <tlikonen@iki.fi> - 2016-11-19 09:50 +0100

csiph-web