Bug 374217

Summary: Where and how to configure the caret blinking? (cursor, blink rate)
Product: [Applications] kate Reporter: lsztwbrfetnoidgl
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: christoph, jonathan.poelen
Priority: NOR    
Version First Reported In: 16.04   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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.