Did you know we have a Forum? Come and say hi!
Title: Terminal trick - progress indicator in the task manager
Shmerl a day ago
KDE's konsole has a neat hidden trick. You can set progress indicator in task manager's entry for the terminal that will be affected by the tab where you do it.

Using this escape sequence:

printf "\x1b]9;4;1;70\a"

Sets the progress to 70% for example.

To reset:

printf "\x1b]9;4;0\a"

I discovered it with neovim using it to show progress of updating plugins with vim.pack

The feature is called OSC 9;4 if you want to get more info about it.

Last edited by Shmerl on 12 May 2026 at 1:28 am UTC
Ehvis 16 hours ago
User Avatar
  • Supporter Plus
That's actually pretty cool. Is that just Konsole or is this implemented by others as well?

Need to remember it. Let's test the bookmark feature for the first time!
whizse 16 hours ago
User Avatar
Really neat!

Seems to work in vte terminals (gnome-terminal & ptyxis), but it was a little bit fiddly. I had to use
 echo -ne "\e]9;4;1;75\e\\"

State 3, the indeterminate/pulsing state doesn't seem to be implemented though.
Shmerl 5 hours ago
Quoting: EhvisThat's actually pretty cool. Is that just Konsole or is this implemented by others as well?
Works in a bunch, but not all terminals.

quote=whizse]Really neat!

Seems to work in vte terminals (gnome-terminal & ptyxis), but it was a little bit fiddly. I had to use
echo -ne "\e]9;4;1;75\e\\"

Hm, I wonder why you are using \e\\ in the end? According to various sources it should be BEL so \a?

UPDATE:

Oh, it also supports ESC there. BEL didn't work for you?

Last edited by Shmerl on 12 May 2026 at 11:11 pm UTC
Shmerl 1 hour ago
Implemented this for lgogdownloader, hopefully it could be merged.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register