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.

Does a shell command exist to bring a already started program in gnome in the front of another.

i.e.:

Gedit and Nautilus are started. Nautilus is in the background and Gedit in the foreground.

How to i bring Nautilus in the front with a shell command?

share|improve this question
1  
Other: superuser.com/questions/183680/… –  karthick87 Jan 12 '11 at 19:40
add comment

2 Answers

up vote 8 down vote accepted

Note:

  • More information about xdotool can be found here.
share|improve this answer
    
Sure edit your post just as I'm composing mine... :( ) –  frabjous Jan 12 '11 at 20:58
add comment

Another option is xdotool:

xdotool search --class Nautilus windowactivate

share|improve this answer
add comment

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.