Bug 374217 - Where and how to configure the caret blinking? (cursor, blink rate)
Summary: Where and how to configure the caret blinking? (cursor, blink rate)
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 16.04
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-27 17:22 UTC by lsztwbrfetnoidgl
Modified: 2023-08-03 19:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lsztwbrfetnoidgl 2016-12-27 17:22:50 UTC
Where and how to configure the caret (cursor) blinking? (Blink rate, and possibly width, color.)

My environment is Xubuntu. I can globally set that, for example, carets do not blink at all. (Settings/Keyboard/Cursor  http://docs.xfce.org/xfce/xfce4-settings/keyboard)
But kate does not appear to honor it.
Comment 1 Christoph Cullmann 2018-08-16 21:42:42 UTC
At the moment there is no configuration for that.
Comment 2 Jonathan Poelen 2022-10-27 23:00:04 UTC
For a global configuration, this can be done with the qt5ct or qt6ct programs (if used for Qt themes). We can also add in ~/.config/qt5ct/qt5ct.conf the following lines:

```
[Interface]
cursor_flash_time=0
```

With KDE (~/.config/kdeglobals) the following lines:

```
[KDE]
CursorBlinkRate=0
```

As a last resort, it is possible to write a library that modifies QApplication::cursorFlashTime and load it with LD_PRELOAD when launching kate: https://github.com/igogo/qt5noblink
Comment 3 Christoph Cullmann 2023-08-03 19:18:53 UTC
Considering this ok, we follow the global setting.