I want to assign a keyboard shortcut to it.
Is it possible to assign a shortcut with just one key?
I did the following:
I opened settings > keyboard > view and customise shortcut > custom shortcut > add shortcut
In the name field, I entered: Screen
In the command field, I entered: usr/bin/gnome-screenshot
And I assigned the shortcut: ctrl+alt+c
When I press these keys, the screen is captured.
I want the application to open.
What should I do?
where did you get the command ?
i'm on Lite so probably not exactly the same , but i find the command by right clicking the application and edit/properties ...there you'll see the command that opens it .
also alternatively you can edit the existing print screen shortcut with the other command , if you'd like to go that way .
anyway in Lite that works for me
PS : i use ksnip , i find it way more usefull with more fuctions . something you might look at ?
Generally speaking, you can add --help after almost any command line invocation of a program to get an explanation of its function and information about arguments and parameters you can use to control things. I imagine gnome-screenshot also has this, and it will probably tell you how to do what you want.
I can't test this myself right now, but according to the below article, you need to add a specific argument to launch the GUI instead of taking a screenshot. Amend the command of your keyboard shortcut to the following: