Posts: 5
Threads: 3
Joined: Sep 2023
Reputation:
0
Operating system(s):
Gimp version: 2.99
i recently had to reinstall linux mint, and upon reinstalling GIMP 2.99, i discover that i can't use these keyboard? shortcuts anymore
and i can't assign them either, because the scroll wheel doesn't count as a key
what do i do to get those back?
the shortcuts in question being:
- ctrl + alt + scroll wheel: change brush size
- alt + scroll wheel: change brush opacity
Posts: 236
Threads: 4
Joined: Jan 2019
Reputation:
17
Operating system(s):
- Windows (Vista and later)
- Linux
Gimp version: 2.10
Just realised that MR !1013 (fixes issue #9738) actually works at a lower level - it doesn't just affect keyboard shortcuts but also the scroll wheel tools shortcuts. If I use app/actions/tools-commands.c from V2.99.16 the scroll wheel with ctrl or ctrl + alt has no effect; with the same file from the current master (V2.99.17) the scroll wheel works as it should.
Posts: 236
Threads: 4
Joined: Jan 2019
Reputation:
17
Operating system(s):
- Windows (Vista and later)
- Linux
Gimp version: 2.10
Following on from the previous post there is a 4th way - although it's not pretty.
You could write a script that would run non-interactively for each action (increase brush size by 1, increase brush size by 10 etc.). The mouse and keyboard shortcuts can then call these functions (the same function can be called by both mouse and keyboard shortcuts). The scripts would need to be something along the lines of calling gimp-context-get-brush-size, adjusting the value returned by this function accordingly and then calling gimp-context-set-brush-size.
As I said not pretty but it would let you use V2.99.16. Then when V2.99.18 is released just delete the scripts and put the mouse and keyboard shortcuts back to their default settings (you could keep backup copies of shortcutsrc and controllerrc to make restoring the original settings easy).