Terminal notifications like in elementary OS?

Suggestions and feedback for Linux Mint and the forums
Forum rules
Do not post support questions here. Before you post read: Where to post ideas & feature requests
Post Reply
orschiro
Level 4
Level 4
Posts: 229
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Terminal notifications like in elementary OS?

Post by orschiro »

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 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Terminal notifications like in elementary OS?

Post by catweazel »

-1

Yet another on-screen annoyance.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: Terminal notifications like in elementary OS?

Post by MrEen »

UNdistract-me??? I dont think that means what the author thinks it means.
orschiro
Level 4
Level 4
Posts: 229
Joined: Mon Dec 04, 2017 2:56 am
Contact:

Re: Terminal notifications like in elementary OS?

Post by orschiro »

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: 498
Joined: Wed Jul 06, 2011 10:39 pm

Re: Terminal notifications like in elementary OS?

Post by aes2011 »

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

https://askubuntu.com/a/983661/403828
...
And upvoted!
DGMurdockIII
Level 1
Level 1
Posts: 48
Joined: Wed Jul 29, 2009 5:07 pm

Re: Terminal notifications like in elementary OS?

Post by DGMurdockIII »

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

Re: Terminal notifications like in elementary OS?

Post by Termy »

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".
I'm also Terminalforlife on GitHub.
Post Reply

Return to “Suggestions & Feedback”