El día Saturday, December 12, 2015 a las 02:14:54AM +0100, [email protected] 
escribió:

> >> How can I pop-up in parallel a message box on the screen with some text
> >> like "Battery drain! Re-boot NOW and re-charge!", if possible together
> >> with an OK button which fires up "sudo reboot"?
> >
> > This is an excellent question, can anybody answer it?
> >
> 
> What I do is, I have a few self written .desktop files that point to 
> self written .sh files and in the script I have something like
> 
> notify-send "Message" "Some more text"

phablet@ubuntu-phablet:~$ notify-send "Message" "Some more text"
-bash: notify-send: command not found
phablet@ubuntu-phablet:~$ sudo find / | fgrep notify-send
[sudo] password for phablet: 
phablet@ubuntu-phablet:~$

i.e. I do not have this on my OTA-8

        matthias

-- 
Matthias Apitz, ✉ [email protected], 🌐 http://www.unixarea.de/  ☎ 
+49-176-38902045

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to