lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.27k stars 162 forks source link

Cursor stops blinking #394

Closed Kzer-Za closed 5 years ago

Kzer-Za commented 5 years ago

Open Preferences window, General tab, tick the "Cursor blinks" option. Close the Preferences window. The cursor will blink exactly 9 times, then it stops blinking and just stays in "on" state.

It starts blinking again if you:

  1. hide the Tilda window and open it again,
  2. switch to another tab,
  3. open and close Preferences window.
  4. type anything.

In all these cases the cursor will blink 9 times, then stop blinking. It does not depend on the cursor shape, but is visible the most with the Block cursor.

My Tilda version is 1.4.1-1.1, distro is Manjaro, kernel 4.19.56-1, NVidia proprietary drivers, shell is zsh.

egmontkob commented 5 years ago

This is intentional in all GTK apps, to save resources (CPU, battery). Open dconf-editor and configure /org/gnome/desktop/interface/cursor-blink-timeout to your liking (e.g. to an extremely large value to keep it blinking practically forever).

Kzer-Za commented 5 years ago

It does not seem to work. I have set it to the maximum of 2147483647, tried setting it to approximately half a maximum, the result is the same: the cursor blinks for 10 seconds, then stops.

egmontkob commented 5 years ago

Maybe it depends on the desktop, too; I'm not sure. What desktop do you use? There's an indirection that VTE queries gtk-cursor-blink-timeout, depending on the desktop maybe it comes from another dconf setting rather than the one I showed.

Kzer-Za commented 5 years ago

I use XFCE. (Just in case, I have tried restarting the system after changing the setting).

egmontkob commented 5 years ago

https://bugs.launchpad.net/ubuntu/+source/vte2.91/+bug/1798481 and https://askubuntu.com/q/1070907 are relevant, I'm afraid there was no conclusion and Xfce might not support the blink timeout setting.

Kzer-Za commented 5 years ago

Oh, the topic starter at https://bugs.launchpad.net/ubuntu/+source/vte2.91/+bug/1798481 actually found a working solution: manually adding /Gtk/CursorBlinkTimeout with integer type and a custom value to xsettings section of Settings Manager of XFCE.

egmontkob commented 5 years ago

Glad to hear it, apparently I didn't read / remember that thread precisely :)