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.


wmctrl -R x-nautilus-session

why? how to get it working? Other windows are well controlled that way.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try the following:

wmctrl -xF -R nautilus.Nautilus

Explanation of options:

  • x: interprets the specified Windows as the WM_CLASS name.
  • F: Modifies the behaviour of the window title matching algorithm. It will match only the full window title instead of a substring, when this option is used. Furthermore it makes the matching case sensitive.

To get a list of available windows and WM_CLASS values you can use: wmctrl -lx

share|improve this answer
Great! Thank you very much! –  zuba Apr 20 '12 at 15:34
You're welcome! –  lgarzo Apr 20 '12 at 16:05

Your Answer


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.