Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wmctrl]

The tag has no usage guidance.

0
votes
2answers
744 views

wmctrl command to create new workspace

Is there a wmctrl command to create a new workspace? I want to have a button at the end of my workspaces in my bar that will open a new workspace. Here is a screenshot of my bar so you know what I am ...
3
votes
0answers
272 views

set firefox window to open in specific position

I am using ubuntu 10.04 and i want to open firefox window in specific position ,but before calling firefox i need to execute this command metacity --replaceand after a second this command : killall ...
5
votes
1answer
2k views

How to use wmctrl to activate window of a given class?

The output of wmctrl -lx looks like this: 0x020002f5 0 Plasma.Plasma lnx plasma-desktop 0x02a00015 0 okular.Okular lnx TCP/IP Protocol Suite – Okular 0x032000fe 1 amarok.Amarok ...
0
votes
1answer
1k views

Detect window's fullscreen status on Linux?

So basically, I'm trying to write a watchdog script, that checks window titles against a list stored in a file. If the window is fullscreen, the script should do nothing and move on. If the window is ...
1
vote
1answer
275 views

linux - use wmctrl from tty1

When I try to run wmctrl (e.g. wmctrl -l) from a tty outside of X (e.g. tty1), I get "Cannot open display." I have tried setting the $DISPLAY and $XAUTHORITY variables to the values I get from a ...
2
votes
1answer
305 views

Execute wmctrl commands in xinitrc

I'm using XMonad configured to accept commands through wmctrl and would like to start up a few applications through xinitrc and move them to a certain workspace. Those commands work, when I use the ...
3
votes
1answer
2k views

Is there any wmctrl alternatives on OS X?

Is there an alternative of wmctrl on OS X? It seems that wmctrl (installed from Homebrew) only works for X Applications on OS X.
1
vote
1answer
272 views

Get the desktop/viewport of a window in enlightenment?

Okay, so, given a XID of a window I need to get its desktop or viewport as well as the currently active one. Enlightenment does not seem to properly respond to wmctrl which leads to: ***@note:~ > ...
3
votes
1answer
927 views

Trouble installing `wmctrl`

It seems that wmctrl is not installed on my system (Mac OS 10.8), but when I try to install it by cloning a git repo and following the instructions (./configure, make, make install), running make ...
0
votes
0answers
150 views

xubuntu, wmctrl listing a single large display when I have two monitors

I currently have two monitors connected to my computer, the following: [ON LEFT] [ON RIGHT] 1920x1200 1600x900 When I run wmctrol -d I get the following output: 0 * DG: 1152x864 VP: 0,0 ...
11
votes
3answers
8k views

Is there a command line utility equivalent to wmctrl on Windows

I'm trying to write a remote window manager so that I can control my open windows via bluetooth using anyremote. There's wmctrl for Linux that manages windows from the command line. Is there similar ...
5
votes
1answer
2k views

wmctrl says I have one workspace when I actually have four

I'm trying to create one gvim per workspace using this script as a starting point: http://www.openhex.org/notes/2011/1/27/one-vim-server-per-desktops I know when I first found this script months ago, ...