Am 05.01.2026 um 18:37 schrieb Chris Menzel <[email protected]>:
> 
> Just to note for others who might be trying this trick, it took me a bit of 
> trial and error, but the following process did the job:
> 
> 1. Set values for both of the blink period keys. (This may or may not be 
> necessary but it can't hurt.)
> 
> $ defaults write -g NSTextInsertionPointBlinkPeriodOn 1000
> $ defaults write -g NSTextInsertionPointBlinkPeriodOff 1000
> 
> 2. Explicitly delete only the PeriodOff key (as I understood Stephen, 
> deleting only the PeriodOn key would also work):
> 
> $ defaults delete -g NSTextInsertionPointPeriodOff
> 
> 3. Flush the prefs daemon:
> 
> $ killall cfprefsd
> 
> 4. Restart LyX.
> 
> This will affect the cursor in all MacOS apps that use these keys, of course.
> 
> -chris

Hi Chris,

thanks for the follow-up.

I didn’t need step 3 and in theory it shouldn’t be required.

For the next LyX release I’ve implemented the check for the new system 
preference „prefer non-blinking cursor“. Furthermore the changes for 
NSTextInsertionPointBlinkPeriodOff and NSTextInsertionPointBlinkPeriodOn will 
be detected immediately.

I prefer using these global settings over a local LyX setting. I think one 
wants to disable blinking cursor in all applications or not at all.

Best regards,
Stephan

> 
> 
> On Sun, Jan 4, 2026 at 2:20 PM Tom Goldring <[email protected] 
> <mailto:[email protected]>> wrote:
>> Yes it works -thanks so much !!
>> 
>> On 1/3/26 1:00 PM, Stephan Witt wrote:
>> > Am 03.01.2026 um 03:19 schrieb Tom Goldring <[email protected] 
>> > <mailto:[email protected]>>:
>> >> Is there any way to turn it off in MacOS 15.7.3 or any other version? I 
>> >> find it intolerable. I tried the "Prefer non-blinking cursor" in my 
>> >> System Settings, but it doesn't work in LyX.
>> > Hi Tom,
>> >
>> > LyX on Mac reads the defaults values NSTextInsertionPointBlinkPeriodOff 
>> > and NSTextInsertionPointBlinkPeriodOn on startup.
>> >
>> > If only one of both values is set the cursor blink is disabled. If both 
>> > are set the cursor blinks with a rate of the sum of these values (given in 
>> > milliseconds).
>> >
>> > You may set them with the e.g. the following command in Terminal:
>> >
>> > defaults write -g NSTextInsertionPointBlinkPeriodOn 1000
>> >
>> > The system preference „non-blinking cursor“ is not supported yet. I don’t 
>> > know how to read the user setting programmatically.
>> >
>> > BR Stephan
>> 
>> 
>> -- 
>> lyx-users mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.lyx.org/mailman/listinfo/lyx-users
> -- 
> lyx-users mailing list
> [email protected]
> https://lists.lyx.org/mailman/listinfo/lyx-users

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to