Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change caret blinking speed/rate in Sublime Text 3 on Linux Mint 18.1?

I am currently using SciTE as a text and code editor and can there adjust the caret blinking rate by specifying in the ".SciTEUser.properties" file

caret.period=350

Now I am evaluating the features of Sublime Text 3 (I am using Linux Mint 18.1 if it does matter) and can't find a way to change the caret blinking rate there.

All what I found out about setting caret properties in Sublime Text 3 is:

// Valid values are "smooth", "phase", "blink" and "solid".
"caret_style":       "phase",
"caret_extra_top":    1,
"caret_extra_bottom": 1,
"caret_extra_width":  7,

but can't find something like caret_blinking_rate or caret_frequency or caret_period.

How can I change the caret blinking rate/speed in Sublime Text 3?

like image 944
Claudio Avatar asked May 16 '17 16:05

Claudio


2 Answers

Use the undocumented parameter, "caret_blink_interval":

There's another hidden setting btw: "caret_blink_interval", which is the time in seconds to complete a blink cycle. A value of 0 (the default) means use the OS settings.

You probably want to add something like

"caret_blink_interval": 0.35,

to your Preferences.sublime-settings.

like image 119
enjmiah Avatar answered Nov 25 '22 19:11

enjmiah


ST picks up the caret blink speed from the OS settings. Consequently, there is no way to change it from within ST to a different value.

I'm not sure where to find the setting on Mint, but on Ubuntu Mate 17.04, it is in the System menu -> Preferences -> Hardware -> Keyboard, and then General -> Cursor Blinking -> Speed.

Ubuntu Mate Keyboard Preferences

For completeness, in case others are interested, this is where it is set on Windows 7:

Control Panel -> Hardware and Sound -> Devices and Printers -> (Find your Keyboard). Right click -> Keyboard Settings, and then Speed -> Cursor blink rate.

Windows Keyboard Preferences

like image 31
Keith Hall Avatar answered Nov 25 '22 20:11

Keith Hall