0
votes
0answers
45 views

How to get the name of the last mounted/unmounted filesystem

I'm know I can monitor (using poll, or select) on the files /proc/mount or /etc/mtab and findout WHEN a filesystem is mounted or unmounted. Also I can use getmntent for getting a list of mounted ...
1
vote
1answer
55 views

Dunst notifier on CentOS

I need a notifier such that: It is possible to send messages from one machine to another without any password (like in case of notify-send). Correct me if I'm wrong. It is such that only when a user ...
0
votes
2answers
177 views

Battery full notification

I am using a Linux distribution, I didn't get any notification even after the battery is full. Is there any custom script to run battery charge status and output a sound notification when the ...
1
vote
1answer
103 views

Get system notification at a certain time?

Is there a way, in Linux or FreeBSD, to receive notification from system at a specified time? I'm thinking something in like of what inotify in Linux does for filesystem events. There IS a way to ...
-1
votes
1answer
454 views

notify-send command with -u critical and -t option

I sometimes see the command : notify-send -u critical -t 3000 "Example" However, with -u critical, it seems like the notification doesn't time out. What is the purpose of adding a timeout option ...
2
votes
0answers
291 views

Why does the following osd_cat script fail?

I'm writing a simple osd_cat-based utility to display messages received through libpurple (via Finch or Pidgin, for example). As of now, this is what I have managed to create: dbus-monitor ...
5
votes
1answer
904 views

How to be notified when a USB device was plugged?

My system have to auto-mount for usb devices, how can I be notified when a usb device is plugged? Where can I read more about? I would like to treat that using shell script or C.