Sublime Forum

Adjusting double click speed?

#1

Yep, it’s another preview_on_click post, but this doesn’t seem to be covered in other topics.

I like preview_on_click, but…on this machine (Debian “Jessie”), I have to double-click really quickly if I’m not to replace the current tab’s contents - and I usually don’t want to do that. This isn’t an X11 settings issue: I’ve quite a relaxed double-click speed elsewhere.

Clearly, ST is setting its own double-click speed. Can I get ST to inherit the OS’s double-click speed instead, or alternatively reconfigure ST’s? I’m getting RSI, trying to hammer on the left mouse button fast enough not to replace a file in view! (Also, the mouse is considering applying to the RSPCA for protective custody…)

Thanks,

~J

1 Like

#2

I haven’t seen any settings in ST that can control this, but on Windows it seems to use the settings from Control Panel -> Hardware -> Mouse -> Buttons -> Double-click speed. I’m guessing it’s hard coded somewhere for Linux if it doesn’t/can’t read the value from the desktop environment.

You may want to consider logging an issue at https://github.com/SublimeTextIssues/Core/issues with details of how you set the double click speed in your X11 settings.

1 Like

#3

Thanks, @kingkeith. Thing is, my normal double-click rate is just the system default; I’ve not changed it. But within ST, if I don’t hammer that left-button literally as fast as I’m capable - and I’m reasonably quick if I have to be - it treats it as single click. Now, if I’d needed to work on the muscle tone and stamina of my left index finger, I’d have found my ideal app… :slightly_smiling:

~J

1 Like

#4

testing on Ubuntu 16.10, ST seems to honor the double click speed set in System -> Preferences -> Hardware -> Mouse -> General -> Double-Click Timeout, so I’m not sure why it wouldn’t work for you on Debian Jessie - maybe you could try adjusting it temporarily just to see if it makes a difference or not (whether ST is picking up that setting or ignoring it)

0 Likes

#5

I think, after playing a little more, that the problem is slightly more subtle than this. If I set preview_on_click False, a normal double-click seems to pop up the new files. However, if it’s True, it’s double-click-race time to avoid the current tab being replaced by the other file, rather than a new tab opening.

Thanks for your help, by the way!

~J

0 Likes