Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click
#1
I'm running Gimp 2.10 on Linux (Ubuntu 20.04 LTS).  Without using the mouse, is it possible to select a layer and make it visible, and hide all other layers?  E.g., a sequence of keyboard entries that can accomplish the same thing as using the mouse to Shift+Left-Mouse-Click on the eye-icon area to the left of each layer in the applicable toolbox tab?
Reply
#2
Yes, There is a keyboard shortcut, normally disabled. 

Assign a key to it see: https://docs.gimp.org/2.10/en/gimp-conce...tcuts.html


   
Reply
#3
(09-19-2022, 07:05 PM)rich2005 Wrote: Yes, There is a keyboard shortcut, normally disabled. 

Assign a key to it  see: https://docs.gimp.org/2.10/en/gimp-conce...tcuts.html
Thank you, @rich2005:   I was able to locate that shortcut assignment section and I set that selection to something like Ctl+v.  However, that shortcut reacts just like the space-bar and the enter key.  None of those keys, nor the keyboard shortcut assignment, permit me to select all layers or de-select all layers in one fell swoop.  I tried pressing the shift key while using the keyboard shortcut, and it has no effect; i.e., I can only toggle visibility of one layer at a time.  I would like to select and de-select all layers with a keyboard sequence, having the same effect as SHIFT+left-mouse-click on the eye-icon area.
Reply
#4
My ofn-layer-over-background script makes the acive layer and the bottom layer of the stack the only visible layers. Of you course you can make that bottom layer a fully transparent layer to only have the selected layer showing.

The script can be assigned to a shortcut.
Reply
#5
(09-19-2022, 09:05 PM)Ofnuts Wrote: My ofn-layer-over-background script makes the acive layer and the bottom layer of the stack the only visible layers. Of you course you can make that bottom layer a fully transparent layer to only have the selected layer showing.

The script can be assigned to a shortcut.

Thank you for the referral to the python scripts.  Getting a working version of Gimp with python support on Ubuntu 20.04 is a Pandora's Box.  I spent some time trying my luck and encountered unmet dependencies beginning with python-cairo, which I skipped, and then installing the gimp-python.debs failed too.  I'm restoring my Ubuntu virtual machine to where it was at yesterday before this project began, and I'll have to tackle this issue at a later date.  Here is the thread discussing installation, for my future reference or anyone else who may need the link:

https://www.gimp-forum.net/Thread-Heal-S...4#pid18354
Reply
#6
Install a flatpak GIMP and you will have python support.
Reply
#7
(09-19-2022, 10:11 PM)lawlist Wrote: Thank you for the referral to the python scripts.  Getting a working version of Gimp with python support on Ubuntu 20.04 is a Pandora's Box.  I spent some time trying my luck and encountered unmet dependencies beginning with python-cairo, which I skipped, and then installing the gimp-python.debs failed too.  I'm restoring my Ubuntu virtual machine to where it was at yesterday before this project began, and I'll have to tackle this issue at a later date.  Here is the thread discussing installation, for my future reference or anyone else who may need the link:

https://www.gimp-forum.net/Thread-Heal-S...4#pid18354

Here I explain how I get python 2 working on Ubuntu 20.04 https://www.gimp-forum.net/Thread-resynt...to-install

You might want to read the rich2005 and Tas_mania's comments of my thread(above link) as Tas_mania did made an appimage "Launcher" (just few Mb) to have your native GIMP (PPA or others) launched with python 2, instead of doing all what I did in the first post
Reply


Forum Jump: