Gimp-Forum.net
Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click (/Thread-Gimp-2-10-Linux-Keyboard-equivalent-to-Shift-Left-Mouse-Click)



Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - lawlist - 09-19-2022

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?


RE: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - rich2005 - 09-19-2022

Yes, There is a keyboard shortcut, normally disabled. 

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


[attachment=8700]


RE: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - lawlist - 09-19-2022

(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-concepts-shortcuts.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.


RE: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - Ofnuts - 09-19-2022

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.


RE: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - lawlist - 09-19-2022

(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-Selection-Missing-from-Gimp-on-Ubuntu-20-04?pid=18354#pid18354


RE: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - nelo - 09-20-2022

Install a flatpak GIMP and you will have python support.


RE: Gimp 2.10 / Linux: Keyboard equivalent to Shift+Left-Mouse-Click - PixLab - 09-22-2022

(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-Selection-Missing-from-Gimp-on-Ubuntu-20-04?pid=18354#pid18354

Here I explain how I get python 2 working on Ubuntu 20.04 https://www.gimp-forum.net/Thread-resynthesizer-gimp-python-Linux-ubuntu-20-04-all-files-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