How to 'click' application (on linux panel) via command line

108 Views Asked by At

I want to create a hotkey (I have application for that) to emacs.
The thing is that when I have emacs running (in window mode) and I'm using something else like chromium, emacs is covered by chromium (goes to background).

Is there a way to restore emacs to the foreground via command line (need that for creating a script, which will be running from hotkey and gives me emacs on 'first plan').

0

There are 0 best solutions below