Tagged Questions
2
votes
1answer
190 views
Show a notification at login using pam_exec
This simple script will show a Zenity notification when the user logs in:
case "$PAM_TYPE" in
'open_session' )
if [ "$PAM_SERVICE" = "lightdm" ] ; then
DISPLAY=:0 sudo -u ...
1
vote
1answer
607 views
How do I set a click action on zenity --notification?
Running
echo "message:hi" | zenity --notification --listen
I can click the bubble and it disappears. The zenity program keeps running until I Ctrl-C. Is there a way to "catch" the click and make ...
5
votes
1answer
405 views
Reliable alert dialogs from the shell
I'd like to have a message pop up in response to various system events, mostly in order to be able to set reminders for myself from a shell session. There are a few ways to do this; zenity seems to ...