Terminal notifications like in elementary OS?

Write suggestions and new ideas in here
More ideas here http://community.linuxmint.com/idea/welcome
Forum rules
  • Only post ideas here that are specifically about the Linux Mint distribution or its websites.
  • So that developers and users from any distribution can discuss ideas in one place, post ideas about improving software to the collaboration website for that software instead.
Post Reply
orschiro
Level 4
Level 4
Posts: 230
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Terminal notifications like in elementary OS?

Post by orschiro » Tue Dec 05, 2017 4:09 pm

Dear all,

Something I really like from elementary OS are its terminal notifications for commands that take longer than 15 seconds.

See this example:
Image

Fairly easy to integrate by shipping the package undistract-me [1] by default. It is in the Ubuntu repositories.

Something to consider for the future releases?

Yours,

Robert

[1] https://github.com/jml/undistract-me
Last edited by Moem on Wed Dec 06, 2017 3:09 am, edited 1 time in total.
Reason: Adding the [rimg] tags (for remote images) makes your image appear directly inside the post.

User avatar
catweazel
Level 16
Level 16
Posts: 6223
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Terminal notifications like in elementary OS?

Post by catweazel » Wed Dec 06, 2017 1:03 am

-1

Yet another on-screen annoyance.
Only a life lived for others is a life worthwhile - Albert Einstein


User avatar
MrEen
Level 6
Level 6
Posts: 1027
Joined: Mon Jun 12, 2017 8:39 pm

Re: Terminal notifications like in elementary OS?

Post by MrEen » Wed Dec 06, 2017 7:55 pm

UNdistract-me??? I dont think that means what the author thinks it means.

orschiro
Level 4
Level 4
Posts: 230
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Terminal notifications like in elementary OS?

Post by orschiro » Thu Dec 07, 2017 2:34 am

Added undistract-me there as an answer:

https://askubuntu.com/a/983661/403828
UNdistract-me??? I dont think that means what the author thinks it means.
Haha, good catch! :-D But it does what it's supposed to do for this purpose. Notifying you of long terminal commands.

aes2011
Level 4
Level 4
Posts: 472
Joined: Wed Jul 06, 2011 10:39 pm

Re: Terminal notifications like in elementary OS?

Post by aes2011 » Thu Dec 07, 2017 2:43 am

orschiro wrote:...
Added undistract-me there as an answer:

https://askubuntu.com/a/983661/403828
...
And upvoted!

DGMurdockIII
Level 1
Level 1
Posts: 43
Joined: Wed Jul 29, 2009 5:07 pm

Re: Terminal notifications like in elementary OS?

Post by DGMurdockIII » Sun Feb 11, 2018 4:55 pm


User avatar
Termy
Level 5
Level 5
Posts: 762
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Terminal notifications like in elementary OS?

Post by Termy » Mon Feb 12, 2018 3:47 pm

Although it's not the same thing, I do have an alias for "long terminal commands", which is basically, commands of which I wish to be notified their completion. Here's the alias:

Code: Select all

alias yo='/usr/bin/notify-send --urgency=normal "Your normal job in `/usr/bin/tty` has completed."'
And for something more important:

Code: Select all

alias YO='/usr/bin/notify-send --urgency=critical "Your critical job in `/usr/bin/tty` has completed."'
This way you don't get inundated with notifications for things of which you needn't be notified.

Makes use of the libnotify-bin package, but it's often installed by default in Mint. This works very nicely with dunst, but should be fine with most other daemons.

Not sure why I posted this exactly, lol. Oh well. It's there if somebody finds it useful. My thoughts on your suggestion, though, are also "-0".
Here to help.

I'm LearnLinux (LL) on YouTube: https://www.youtube.com/channel/UCfp-lN ... naEE6NtDSg
I'm also terminalforlife (TFL) on GitHub: https://github.com/terminalforlife

Post Reply

Return to “Suggestions & New Ideas”