GIMP Chat
http://gimpchat.com/

Question about G'MIC and custom Gimp keyboard shortcuts
http://gimpchat.com/viewtopic.php?f=9&t=18886
Page 1 of 1

Author:  contrast_ [ Sat Oct 31, 2020 11:44 am ]
Post subject:  Question about G'MIC and custom Gimp keyboard shortcuts

Hello I have preset filters I use in G'MIC alot. I run Gimp 2.10.20 on Linux. Gimp has options to add custom keyboard shortcuts for almost all it's options. I would like to know if it were possible to add G'MIC commands to user defined keyboard shortcuts that could be used in Gimp 2.10x? When I select repeat and reshow in Gimp I can reaccess the same G'MIC command, but this is only a one time option.



If anyone can figure out how to set a G'MIC command to a keyboard shortcut in Gimp it would be greatly appreciated.

Author:  rich2005 [ Sat Oct 31, 2020 3:40 pm ]
Post subject:  Re: Question about G'MIC and custom Gimp keyboard shortcuts

Personally I do not think using a shortcut key per command is very practical, however (always a however) a g'mic command included in a script or plugin can use a shortcut. Get the g'mic command from the log file in ~/.config/gmic

Plugin attached with sample command. Unzip, put in your user profile plug-ins folder

Example: using a shortcut key: https://i.imgur.com/yzoTXa9.mp4

Obviously, the snag is, one plugin required for each hotkey.

edit: Should have picked up on "Ubuntu 20.04 (focal) and Gimp 2.10.20
The default for focal is Gimp 2.10.18 the lastest that you might get with a flatpak is 2.10.22. Are you using the 'buntu SNAP version ? Does it support python2 ?

Attachments:
for_gmic.zip [454 Bytes]
Downloaded 149 times

Author:  contrast_ [ Sun Nov 01, 2020 12:38 pm ]
Post subject:  Re: Question about G'MIC and custom Gimp keyboard shortcuts

@rich2005 I got your gmic to gimp command working. Now I can stroke brush and outline text automatically. Thank you!

Author:  racer-x [ Sun Nov 01, 2020 12:45 pm ]
Post subject:  Re: Question about G'MIC and custom Gimp keyboard shortcuts

contrast_ wrote:
@rich2005 I got your gmic to gimp command working. Now I can stroke brush and outline text automatically. Thank you!

Why not just use Layer-FX for that?

Author:  akovia [ Tue Nov 23, 2021 7:17 pm ]
Post subject:  Re: Question about G'MIC and custom Gimp keyboard shortcuts

rich2005 wrote:
Plugin attached with sample command. Unzip, put in your user profile plug-ins folder

No thumbs up here so just wanted to say thanks!

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/