It is currently Thu Jul 04, 2024 4:06 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Question about G'MIC and custom Gimp keyboard shortcuts
PostPosted: Sat Oct 31, 2020 11:44 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1456
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.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Question about G'MIC and custom Gimp keyboard shortcuts
PostPosted: Sat Oct 31, 2020 3:40 pm  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2438
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 148 times

_________________
Image
Top
 Post subject: Re: Question about G'MIC and custom Gimp keyboard shortcuts
PostPosted: Sun Nov 01, 2020 12:38 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1456
@rich2005 I got your gmic to gimp command working. Now I can stroke brush and outline text automatically. Thank you!


Top
 Post subject: Re: Question about G'MIC and custom Gimp keyboard shortcuts
PostPosted: Sun Nov 01, 2020 12:45 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
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?


Top
 Post subject: Re: Question about G'MIC and custom Gimp keyboard shortcuts
PostPosted: Tue Nov 23, 2021 7:17 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 15, 2013
Posts: 133
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!

_________________
Gimp 2.8.16
Arch Linux - XFCE 4.12
Some of my work.


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Corel PaintShop Pro 2020 Shortcuts for Gimp 2.10.20

0

No new posts Shortcuts to 2.10 documentation re: Layer & Layer-group modes

0

No new posts Digikam question

1

No new posts Attachment(s) new to gimp and have a question

3

No new posts Gimp Art Question

5



* Login  



Powered by phpBB3 © phpBB Group