From 9ace65b57b5752147a2aafbe6d7d5f9ab7177bf3 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 17 Jun 2021 20:37:57 +0200 Subject: content: Add new post: "(Un)Blinking cursors --- content/4/index.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 content/4/index.md diff --git a/content/4/index.md b/content/4/index.md new file mode 100644 index 0000000..3761cd6 --- /dev/null +++ b/content/4/index.md @@ -0,0 +1,25 @@ ++++ +date = 2021-06-17T20:37:37+02:00 +title = "(Un)Blinking cursors" + +[taxonomies] +tags = ["TIL"] ++++ + +Whilst reviewing and discussing [this +patch](https://git.oriole.systems/weltschmerz/commit/?id=0774a46257bdc6daa1c6a1c3485d75bd07ef849c) +for weltschmerz I found out that there actually exists a global property +[`gtk-cursor-blink`](https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-cursor-blink) +that is honoured by all applications that build on GTK. + +I don't think I've ever seen this exposed in a settings dialog. Perhaps in the +accessibility settings, I rarely venture there. In any case, you can put +properties like these straight into `~/.config/gtk-3.0/settings.ini` and GTK +apps will pick them up. + +For QT apps it seems you can set +[`cursorFlashTime`](https://doc.qt.io/qt-5/qapplication.html#cursorFlashTime-prop) +to a negative value in the aptly named `~/.config/Trolltech.conf` but I could +not get this to work with the only QT app that I use, quassel. + +Not that I would want to, I do prefer a blinking cursor. -- cgit v1.2.3-2-gb3c3