Can't set key for ten brush script

MX Linux (Debian based)

krita appimage 5.14

I use the ten brushes script to call up the round eraser and return to the previous brush. When I first set it up, the shortcut was the space bar. After a restart, either of the computer, or Krita, or both, the shortcut became ctrl+alt+1. How, why?

I can’t change it back. For some reason I can’t even select the icon in the ten brushes dialog box. I tried to just add a new item in the toolbox, that did not allow me to adjust the ctrl+alt+2. Adding a shortcut in the configure krita dialog does not go back to the previous brush.

How do I remove items from the ten brushes toolbox?

What file should I modify to have the space bar do what I want?

As @AhabGreybeard below correctly guessed, I mixed Ten Brushes with Ten Scripts, very probably because I was too tired:

The Ten Scripts Brushes shortcuts are usually preset from CTRL + ALT + 1 up to CTRL + ALT + 0 AND NOT→ CTRL + ALT + 1 up to CTRL + ALT + 0 using Windows, although it is not impossible that using Linux ALT is used instead of SHIFT, I believe it is unlikely.
Here we probably need the confirmation from another Linux user how these shortcuts are predefined for them.
The only thing that currently would explain the different presets, for my understanding, is that you don’t use Krita’s standard input scheme but the PS, CSP or SAI scheme (or any other existing non Krita scheme.)
WHICH WOULD FIT FOR TEN SCRIPTS.
AND AS I FALSELY WROTE EARLY THIS MORNING BEFORE I HAD TO LAID DOWN TO SLEEP A FEW HOURS MORE BECAUSE I GOT TOO TIRED.:grimacing: :sleeping_face: :bed:


By the way, the resources categories are exclusively for topics to post resources in the users can download, as the topic description clearly states, it is not for help request topics about resources. But you can ask resource authors for support with the resources they offer in the resource’s topic itself.

Michelist

It’s the Ten Brushes (scripts) shortcuts that seem to be behaving strangely.
(Early morning is not a good time for ‘brain work’ :slight_smile: )

The default ten brushes shortcuts are Ctrl+Alt+0 to Ctrl+Alt+9.
This does not change for different shortcut schemes.

Are you using one of the included shortcut schemes or do you use your own saved custom scheme that you loaded in?

You can change the shortcut Ctrl+Alt+1 (Activate Brush Preset 1) to Space though this will clash with the canvas input setting for Pan Mode.

If you do then the new shortcut will be stored in the kritashortcutsrc file which is in the same folder as kritarc etc.
Shortcuts listed in kritashortcutsrc are used to overide existing scheme shortcuts.

If that kritsshortcutsrc file is deleted or wiped then that will remove any changes you may have made to the shortcuts.
Have you deleted or modified the ‘krita-’ files in ~/.config in an attempt to make a fresh install?

In krita, doing Settings → Reset All Settings does not affect the kritashortcutsrc file.
Restarting krita does not affect that file either.
I can’t think why restarting the computer would have any effect provided that krita was not running when the computer was restarted.

In the UI, you can only modify the contents of the ten brushedsslots.
You can do Settings → Reset All Settings which will wipe them all.
Or you can edit kritarc to change them to ‘None’.

tenbrushes=None,None,None,None,None,None,None,None,None,None
tenbrushesActivatePrev2ndPress=True
tenbrushesAutoBrushOnPress=False

You can also simply delete the ‘ten brushes’ entries to give default settings, which are ‘None’.
(Be very careful when editing kritarc and make a backup copy first for later restoration.)

I suggest that you go through the user interface of krita rather than modifying files.
Try Settings - Reset All Settings, then delete kritashortcutsrc then try again.

1 Like

@AhabGreybeard: Thank you for the heads-up and the correct assessment of the situation leading to this shot far beside the goal.
:+1:

Michelist

1 Like

Thanks all for the quick response and the pointers to the relevant config files. That was all I needed.

Up to this point I had not directly modified any config files. I am using the default Krita shortcut scheme. I am not sophisticated enough to need that kind of tweaking.

This was my .config/kritashortcutsrc file
[Shortcuts]
activate_preset_0=Ctrl+Alt+0;\s

I deleted that, and changed the kritarc line to

tenbrushes=None,None,None,None,None,None,None,None,None,None

Started Krita, went back into the ten brushes dialog and added the eraser to slot #1. This is where I realized my thinking was faulty. Can’t change the shortcut in this dialog box, I had to add a second shortcut to the shortcut in

settings > configure krita > keyboard shortcuts > scripts > ten brushes > activate brush preset 1

Now my kritashortcutsrc looks like this

[Shortcuts]
activate_preset_1=Ctrl+Alt+1; Space

Funny part is, I had done this on two machines a month ago, and completely forgot how. Maybe I only changed the first shortcut entry in the settings.

:EDIT That is exactly what I did. Changing the first shortcut entry replaced the ctl+alt+1 text in the ten brush dialog box with Space. Maybe I will remember this.

I did say I was a bit slow and easily confused.

2 Likes

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