M
M
Mikhri2020-12-28 23:32:59
linux
Mikhri, 2020-12-28 23:32:59

How to find out what command is being executed at the moment the graphic button is pressed in Linux?

I have Linux Mint 20.
I want to assign my own hotkeys.
To do this, you need to know the command that is executed in the case I need (for example, creating a screenshot with a third-party utility).
How to properly monitor it? How can I find out what commands are called by pressing a graphic button in a third-party utility or even in the system settings? Events are logged somewhere?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AVKor, 2020-12-29
@AVKor

Desktop entries

A
Alexey Cheremisin, 2020-12-29
@leahch

peek has a CLI!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question