Questions tagged [wmctrl]

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

The tool provides command line access to almost all the features defined in the EWMH specification. It can be used, for example, to get information about the window manager, to get a detailed list of desktops and managed windows, to switch and re-size desktops, to make windows full-screen, always-above or sticky, and to activate, close, move, re-size, maximize and minimize them.

The command line access to these window management functions makes it easy to automate and execute them from any application that is able to run a command in response to an event.

Source:wmctrl

82 questions
8
votes
3 answers

Get Active Window ID in Hex not Decimal

How to get the window ID of the focus(active) window in Hex ?
2
votes
1 answer

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 running XBMC in full screen mode only allows me to go…
kelvin
  • 63
2
votes
1 answer

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 little script that accomplish the thing, but it's not…
tomrozb
  • 511
1
vote
0 answers

Why isn't wmctrl working?

I am on Ubuntu 14.04. I installed wmctrl using sudo apt-get install wmctrl. Now in the terminal when I try wmctrl -s 0 or wmctrl -s 1 nothing happens. I don't even get any error.
Inspired_Blue
  • 601
  • 2
  • 9
  • 26
0
votes
1 answer

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 applications on Ubuntu Touch Nexus tablet. It results…
harisha
  • 11
  • 3
0
votes
1 answer

run a python file immidiately after alt+tab

I wrote a python file, which based on wmctrl output of the current window, changes the panel color. I want to bind this file to the Alt+Tab . I tried using system shortcuts but It disables the normal function of Alt+Tab. explaining this issue is…