I had asked another question which is related. I know that I can invoke lg
(looking glass) via the gnome-shell "run application" window (by pressing Alt+F2). What I'd like to know is how to do this from a command line?
For example, if I wanted to pop up the looking glass from a shell script, how would I do it?
You can use the following command to launch looking glass from a terminal or keyboard shortcut:
When you get in DE, you can't use keyboard shortcut to run "looking glass", you have to use ALT+F2 to run it at first time.
Looking glass is built into gnome-shell and the command for looking glass is
lg
Currently it can be run from gome shell by typing Alt+F2 and then typing
lg
in the dialog box.I will see of I can find a better solution.
I don't have enough rep to comment; cha's comment explains that the dbus methods don't work out of the box anymore; dbus calls to gnome shell don't work under Ubuntu 22.04 has a non-ideal solution that works without restarting anything or loading plugins.