Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable Caret Blinking?

I have created an Eclipse Editor (extends EditorPart) containing an TextViewer. I would like to disable the Caret blinking (I want an Caret allways visible)? How can i do?

like image 874
Imen Avatar asked Nov 27 '25 08:11

Imen


1 Answers

If you're on a Unix-like operating system, you can try adding the line gtk-cursor-blink=0 to your $HOME/.gtkrc-2.0 file, followed by logging out and back in (to reload the GTK libraries). That should do the trick, in case you can't disable the blinking cursor in the Eclipse preferences.

If that doesn't work, and you're using Xfce, you may try executing the following line in a terminal: xfconf-query -c xsettings -p /Net/CursorBlink -s false

like image 86
Jelle Geerts Avatar answered Nov 30 '25 00:11

Jelle Geerts



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!