wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager.

learn more… | top users | synonyms

1
vote
1answer
31 views

What is exactly the relation between wmctrl -d and wmctrl -lG in Unity?

from man wmctrl: wmctrl is a command that can be used to interact with an X Window manager that is compatible with the EWMH/NetWM specification. wmctrl can query the window manager for information, ...
2
votes
1answer
75 views

How to close only one window of an application?

I know that if I get the sid through : ps -ax | grep firefox and use : kill -9 "sid" I will close all the windows of the program. How can I close only one window of an application running through ...
0
votes
1answer
18 views

How do I use wmctrl to detect if a window is present?

I am doing some UI automation and I want to perform some task based on the window being present. The window only opens up in same cases. The command that I want to use is: wmctrl -a "Confirm New ...
0
votes
0answers
11 views

Aligning a Window with WMCTRL

I'm running Ubuntu 14.04 on 1366 x 768 display. The following command is meant to align the active window the left side of the desktop (exactly like dragging the window to the left side of the ...
1
vote
1answer
31 views

Raise all windows with a specific title

I'm trying to find a way to raise all the windows that have one, specific title. For example, I have two windows named superconky (yes, you guessed it, I'm trying to get conky running in lubuntu). I ...
3
votes
2answers
554 views

How can I have an application automatically display on all desktops under openbox?

Is it possible to use wmctrl or something else to make a specific window automatically display on all desktops? I use the Prime Player Google Play Music miniplayer Chrome extension to control music ...
0
votes
1answer
558 views

Why wmctrl doesn't work for certain windows?

francisco@Ubuntu:~$ wmctrl -l 0x02600006 0 Ubuntu Área de trabalho 0x03c00002 0 Ubuntu XdndCollectionWindowImp 0x03c00005 0 Ubuntu unity-launcher 0x03c00008 0 Ubuntu unity-panel 0x03c0000b 0 ...
0
votes
1answer
222 views

Trying to launch application in full screen mode on boot

I'm trying to write a bash script to launch XBMC in full screen mode using wmctrl. I'm using wmctrl so I don't lose the ability to alt-tab, etc and get back to the desktop/GUI if I need to, since ...
0
votes
3answers
408 views

Focus or open window in gnome on keyboard shortcut

As described here (askubuntu.com/questions/234206/shortcut-to-switch-to-app/328842) the wmctrl gives you access to your windows. So you can switch via keyboard. But I like to have one shortcut to open ...
0
votes
1answer
104 views

How does “show desktop” work?

How does Super+D work to show the desktop? Does it minimize all windows? Or does it set the desktop as "on top"? Or does it make all windows invisible? Can I exclude certain windows/applications ...
0
votes
2answers
232 views

How to get wmctrl output in python

How can I get the output of the terminal code "wmctrl -m" $ wmctrl -m Name: GNOME Shell Class: N/A PID: N/A Window manager's "showing the desktop" mode: ON in python code? I don't know how to ...
0
votes
1answer
53 views

Programmatically Present Windows (Invoke Window Picker) in Compiz

Is there a bash command to invoke what Super+W does in Ubuntu?
0
votes
1answer
158 views

wmctrl on Ubuntu Touch

I want to control windows via Window manager controls (wmctrl). I am able to successfully switch between qml application windows using wmctrl commands on the Ubuntu Desktop. But I am running same ...
1
vote
1answer
108 views

wmctrl - wait until window is closed

I'm using the wmctrl to close running windows when I want shutdown the computer. It's because I need to save workspace in Eclipse and also I don't want to lost my opened tabs in Chrome. I wrote a ...
4
votes
1answer
447 views

wmctrl ignore other workspaces

My question is very similar to Make wmctrl ignore other-than-current workspace's windows. The fact is I use XFCE so wmctrl actually sees more desktops. petr@sova:~$ wmctrl -d 0 * DG: 1600x900 ...
4
votes
2answers
494 views

wmctrl - focus most recent window of an app

I've created some shortcuts mimicking the Unity's Mod4 + num behavior. wmctrl -xa Sublime || subl What I don't like, is that once sublime is running, it always focuses the first opened window. I'd ...
3
votes
2answers
1k views

Compiz Commands “edges actions” (screen edge bindings) not always enabled on startup.

When logging in, edges are sometimes unresponsive, ie right click on the edge brings the usual right click menu instead of the Compiz command. And yes, compiz is running (wmctrl -m -> Compiz). It can ...