While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
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!
Reward Tiers:
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
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
Need to remember it. Let's test the bookmark feature for the first time!
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.
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
> The error, indeterminate, and paused states are not implemented yet.
Last edited by Shmerl on 28 May 2026 at 3:14 pm UTC