DEV Community

Discussion on: My Favorite Linux Tools

Collapse
 
antjanus profile image
Antonin J. (they/them)

It's sooo easy to use. I tried to make an alternative for powershell on windows and had to install an additional tool 😞.

I do believe it's Ubuntu only but other systems should have something similar available

Collapse
 
flrnd profile image
Florian Rand

That statement ubuntu only is dangerous sir!

Collapse
 
ghost profile image
Ghost

in fact notify-send is part of libnotify which at least in Gentoo is a dependency of wxGTK, in Linux if it works in one distro it works on all of them (with different levels of difficulty)

Thanks for the tip, I wasn't aware of this and is much more elegant than my current way, appending mpv (CLI media player) with some noise after the long command :D

Thread Thread
 
antjanus profile image
Antonin J. (they/them)

oooh interesting. Thanks for chiming! i went to check if it works on Arch (I switch between Arch/Ubuntu every couple of years) and it looks like it's required by gnome and a bunch of other packages. So, cool! :)

Glad I could help!

Collapse
 
scottharwoodtech profile image
ScottHarwoodTech • Edited

Since you use ZSH, you can enable hooks which will automatically notify you when your command takes more than a certain amount of time gist.github.com/jpouellet/5278239 this was my starting point, I expanded it to send me a notifiy-send message with the info instead of just triggering a alert.