wine - using wmctrl to close windows -


After

I can close a window using wmctrl that alcohol is running on Ubuntu is?

For reference:

  $ wmctrl -m name: compiz Class: N / A PID: N / A Window Manager's "Desktop Show" mode: Off   

Also:

  $ wmctrl -l 0x0240a3be -1 mjol N / A 0x02000003 0 mjol Top Extended Edge Panel 0x0200004c 0 mjol Extended Edge Panel 0x01e00024 0 mjol X Nautilus - Desktop 0x04800253 0 mjol WMCTRL To Close Windows - Stack Overflow - Google Chrome 0x03c0c8c3 0 Mizol Terminal 0x03c53f25 0 mjol Terminal 0x04400001 0 mjol Untitled - SketchUp 0x04400003 0 mjol Instructor 0x04400009 0 mjol Sk    

The last one I want to close the window is:

  0x04400009 0 mjol sketchup   

I Have tried the following:

  $ wmctrl -c "sketchup" $ wmctrl -c 0x04400009 $ wmctrl I 0x04400009 $ wmctrl -c I 0x04400009   

But something Not even works.

It may be a little late, but seen now earlier. Reading information for Wmctrl, it says that the correct syntax is "option" before "code", and -i is an option, -c a Action. Try wmctrl -i -c 0x04400009

Comments