Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 7835  / 1 Year ago, thu, january 19, 2023, 2:45:10

I'm interested in setting up a keyboard shortcut that will launch the graphical user interface for Gnome Screenshot. I am however unable to find the command that launches the GUI.



Executing gnome-screenshot simply takes a screenshot, which is not what I am interested in.


More From » gnome

 Answers
1

You may look for interactive mode


man gnome-screenshot



  -i, --interactive


          Interactively set options in a dialog.

Use:


gnome-screenshot -i

More generally, to get command for a GUI launcher in menu, look for its .desktop file. Example:


more /usr/share/applications/org.gnome.Screenshot.desktop

Where we see:


[Desktop Entry]
Name=Screenshot
Comment=Save images of your screen or individual windows
(...)
Exec=gnome-screenshot --interactive # <-- here it is!
(...)

Or use MenuLibre tool.





Update: As of v41 (November 2021), the path to the .desktop file for Gnome Screenshot was changed from /usr/share/applications/gnome-screenshot.desktop in the original answer.



[#24666] Saturday, January 21, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cisccla

Total Points: 66
Total Questions: 134
Total Answers: 115

Location: Croatia
Member since Fri, Sep 11, 2020
4 Years ago
;