Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

(my other question)

share|improve this question
    
Is this the same Looking Glass that java did? –  Alvar May 30 '12 at 10:49
    
@Alvar No, this one is referring to the gnome-shell's looking glass. –  jokerdino May 31 '12 at 5:46

2 Answers 2

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.

share|improve this answer

You can use the following command to launch looking glass from a terminal or keyboard shortcut

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval 'Main.lookingGlass.toggle();'

but,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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.