How to delete a keyboard shortcut?

I want to hold the key W and move my mouse to adjust the filmic white point. However, W is already bound to show the full screen view.

I can delete the original W shortcut. But any time I close Darktable, the W shortcut comes back.

How can I delete the W shortcut? (I tried setting it to a different key, but that didn’t work, either).

According to the manual you cannot delete default shortcuts. But you can override them. Best look in the manual for the procedure.

If I understand the manual correctly, you can have several keys bound to the same action. So defining a new shortcut for an action won’t remove the already defined one(s).

1 Like

For now, you need to assign the “W” shortcut to the global/no-op action so that darktable does not attempt to recreate the shortcut when you restart. There is already an issue raised for this and it does need a better solution.

1 Like

Brilliant! That did the trick. Thank you!

1 Like

Similar to this issue I’m trying to set “c” or “x” to activate the colour picker in area mode.

I can get this working as below but when I restart darktable it loses the “ctrl-activate” part, which means the colour picker is then only activating in spot mode.

It definitely updates shortcutsrc file :
grep pick shortcutsrc
c=lib/colorpicker/pick color;ctrl-activate

On closing darktable the “ctrl-activate” remains.

On restarting darktable it loses the “ctrl-activate” part :
grep pick shortcutsrc
c=lib/colorpicker/pick color

picker-2

I’ve tried this in v3.8.1 and a version of v3.9 compiled over the weekend.

Am I doing something wrong please ?

Hmm I don’t know. This sounds more like a bug to me.

I’m happy to raise an issue on github.

1 Like

for now since you can use double key presses could you just try c c…does fix what you are trying to do but might not get over written… or even leave c as the point and use cc for an area picker…

use double key presses could you just try c c…does fix what you are trying to do but might not get over written…
I’ve just tried this and unfortunately it does get overwritten.

or even leave c as the point and use cc for an area picker…
That is a great idea!

Issue opened on github : #11252