How to disable default Alt key shortcuts

For example: when pressing Alt+V I get an expanded View window. How do I disable any of these so I can freely use Alt key modifier with regular shortcuts without invoking some GUI element.

Via redefining/disabling them in the menu’s found here ‘‘Settings’’ >> ‘‘Configure Krita’’ >> ‘‘Keyboard Shortcuts’’ and here ‘‘Settings’’ >> ‘‘Configure Krita’’ >> ‘‘Canvas Input Settings’’?

Michelist

I’m talking about this seemingly hardcoded feature:


I disabled every possible shortcut inside Keyboard shortcuts and Canvas input settings just to test it but there is no difference: Alt+F invokes File window, Alt+E edit window, Alt+V view window and etc.

Maybe via the configuration files in Kritas installation directories, but there I would have to research first.

Michelist

I think that’s a standard OS level action for opening main menu items.
e.g. Alt+W opens the Window item but there is no Alt+W keyboard shortcut.

A similar thing happens in Inkscape where Alt+O opens the main menu Object item.

2 Likes

Oh, okay - I can just enable canvas only mode to disable that stuff and go full shortcuts. Thank you!

3 Likes

You can edit the file krita.action on a Windows computer in the folder c:\Program Files\Krita (x64)\share\krita\actions, under Linux or macOS it is located in the same folder, which, however, must be searched for in a correspondingly adapted location, taking into account the file system conventions of both operating systems. It may be necessary to unpack the AppImage beforehand. The AppImageKit tool is available on GitHub for this purpose:

And here you can find further information and an example script:

If DMG’s are extractable, I don’t know, but I guess they are and then can be treated the same way.

Michelist

1 Like

Thank you, though that .action file has 3500 lines of code.

1 Like

No pain, no gain!
I have edited files much larger than this. Using a capable editor with syntax-highlighting, indentation and useful tools to search through such text’s, replace content, the task will get less painful. You have to sweat for the sweets. :wink:

Michelist

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.