miki,
@miki@dragonscave.space avatar

Screen reader tip:

If you often have long-running operations in your terminal, don't want your screen reader to talk constantly while they're going but want to be notified when they finish, define the following alias (works for ZSH and Bash):

beep() {
$@
echo -e '\a'
}

And then execute your commands like:

beep python long_running_script.py

You can set your screen reader to quiet, and your terminal will beep once the command is done.

I also have a more advanced version of this that sends any error output to my phone via Telegram in case of failure.

fastfinge,
@fastfinge@social.interfree.ca avatar

@miki @johann Why not just shove the bell in your prompt?

miki,
@miki@dragonscave.space avatar

@fastfinge @johann Because I don't want this to happen every time, even for normal commands.

There is probably a way to make it smart and only beep when terminal is not in focus, but I'm lazy and this is good enough.

miki,
@miki@dragonscave.space avatar

@fastfinge @johann Because I don't want this to happen every time, even for normal commands.

There is probably a way to make it smart and only beep when terminal is not in focus, but I'm lazy and this is good enough.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • kavyap
  • thenastyranch
  • ethstaker
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • tacticalgear
  • Youngstown
  • everett
  • mdbf
  • slotface
  • ngwrru68w68
  • rosin
  • Durango
  • JUstTest
  • InstantRegret
  • GTA5RPClips
  • tester
  • cubers
  • cisconetworking
  • normalnudes
  • khanakhh
  • modclub
  • anitta
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines