Info icon in task bar

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Info icon in task bar

Postby mackowiakp » Jun 25th, '15, 08:53

I wrote script to turn on/off necessary for me facility in M5 (KDE). How can I place info icon in task bar when scrip tur on that facility and remove it when it is turn off ?
Linux is like wigwam. No Windows, no Gates but Apache inside

WARNING ! The administrator has the right to refuse to install WINDOWS, invoking the conscience clause
mackowiakp
 
Posts: 660
Joined: May 23rd, '13, 07:32
Location: Gdynia, Poland

Re: Info icon in task bar

Postby doktor5000 » Jun 25th, '15, 21:34

You can use the notify-send command and you can set the duration with -t 0 so the notification will stick.
What you need to search for are persistent notifications, or misuse something like zenity --progress
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: Google [Bot] and 1 guest