A Mind Lost

Anything and everything.

Edit with GIMP Context Menu

I’ll keep this one short and to the point.

After installing GIMP 2.6.12 for Windows, I noticed the “Edit with GIMP” entry in the context menu for image files was missing (that’s the menu that pops up when right-clicking on a file).

One Google later and I was reading a blog post on “Thoughtful Code” that pointed me to the correct registry key.  A few minor changes to Mr. Reiter’s solution and I was good to go.

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]
@=&Edit with GIMP

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@="C:\Program Files (x86)\GIMP-2.0\bin\gimp-2.6.exe" "%1"

The “@” refers to the “(Default)” value in a key.  I opted to set GIMP as the default edit action rather than creating a separate menu item, and set the shortcut key to “E” (that’s what the ampersand in “&Edit with GIMP” does).  I also had to change the path, as I use a 32-bit GIMP on Windows 7 x64.

For the quick ‘n easy, copy and paste the following to a text file with the .reg extension (such as Edit_with_GIMP.reg), and run it.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]
@="&Edit with GIMP"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
  00,46,00,69,00,6c,00,65,00,73,00,20,00,28,00,78,00,38,00,36,00,29,00,5c,00,\
  47,00,49,00,4d,00,50,00,2d,00,32,00,2e,00,30,00,5c,00,62,00,69,00,6e,00,5c,\
  00,67,00,69,00,6d,00,70,00,2d,00,32,00,2e,00,36,00,2e,00,65,00,78,00,65,00,\
  22,00,20,00,22,00,25,00,31,00,22,00,00,00
Advertisements

One response to “Edit with GIMP Context Menu

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: