Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Gentoo Hardened using OpenRC not Systemd
notify-send and clearing notifcations
I have a script that sends me notifications from weechat using notify-send in Fedora 17 64-bit with cinnamon (it's not linux mint, just borrowed some of their themes). The script runs notify-send with an expiration time of 5 seconds / 5000 milliseconds.
[bull:~]$ notify-send --help
notify-send [OPTION...] <SUMMARY> [BODY] - create a notification
-?, --help Show help options
-u, --urgency=LEVEL Specifies the urgency level (low, normal, critical).
-t, --expire-time=TIME Specifies the timeout in milliseconds at which to expire the notification.
-a, --app-name=APP_NAME Specifies the app name for the icon
-i, --icon=ICON[,ICON...] Specifies an icon filename or stock icon to display.
-c, --category=TYPE[,TYPE...] Specifies the notification category.
-h, --hint=TYPE:NAME:VALUE Specifies basic extra data to pass. Valid types are int, double, string and byte.
-v, --version Version of the package.
However, these notifications are not going away after 5 seconds, and after a few days, I have 800 something notifications. If I try to click on it, the computer gets sluggish for a while trying to open that many. I'd like for these just disappear after 5 seconds or never stored in notifications in the first place.
EDIT: After more googling, I found 'notify-send --hint=int:transient:1 Test' is supposed to cause the message not to appear in the list of notifications. However, as soon as the notification pop up disappears, it does get stored. Maybe this only works in Gnome 3? Not sure
I'm not sure what you mean by that. AFAIK, there's not a configuration file. I showed the options being used in the script. If you meant the configure script from autotools, I didn't compile it from source. The Fedora package maintainers did that. I have libnotify-0.7.5-1.fc17.x86_64.