# wmctrl

> Python library

**Wikidata**: [Q107384544](https://www.wikidata.org/wiki/Q107384544)  
**Source**: https://4ort.xyz/entity/wmctrl

## Summary
wmctrl is a Python library for window control that allows users to programmatically manage and interact with windows in window managers. It provides functionality for window manipulation, making it useful for automating window management tasks in Linux environments.

## Key Facts
- wmctrl is a Python package with a PyPI project named "wmctrl"
- It is licensed under the MIT License
- The library is developed by Tomáš Stýblo, a programmer and system administrator
- The latest stable version is 0.5, released on 2023-09-16
- Previous versions include 0.4 (2021-04-23), 0.3 (2015-11-25), and 0.2 (2015-08-08)
- The source code is hosted at https://github.com/antocuni/wmctrl
- wmctrl is categorized as free software and Python package
- It is related in repology as "python:wmctrl"

## FAQs
### Q: What is wmctrl used for?
A: wmctrl is used for programmatically controlling windows in Linux window managers. It allows users to perform operations like listing windows, activating windows, resizing them, and moving windows from within Python scripts.

### Q: How do I install wmctrl?
A: wmctrl can be installed from PyPI using pip with the command "pip install wmctrl". This command installs the Python library for window management.

### Q: Who developed wmctrl?
A: wmctrl was developed by Tomáš Stýblo, who is both a programmer and system administrator. The project is actively maintained on GitHub with contributions from the community.

## Why It Matters
wmctrl addresses a fundamental need in Linux desktop automation by providing a Python interface for window management operations. This enables developers to create sophisticated desktop automation tools, build application launchers, or develop custom window management behaviors beyond what's available in standard desktop environments. The library simplifies the complex task of interacting with X11 window managers, making it accessible to Python developers without requiring deep knowledge of low-level X11 protocols. By being released under the MIT License, it fosters community adoption and integration into various automation projects and desktop enhancement utilities.

## Notable For
- Being a specialized Python library specifically designed for window management operations
- Providing a straightforward API for complex window control tasks
- Having comprehensive version history with consistent releases spanning from 2015 to 2023
- Being developed and maintained by Tomáš Stýblo, a professional programmer and system administrator
- Being distributed under the permissive MIT License, encouraging widespread adoption and modification

## Body
### Overview
wmctrl is a Python library that enables programmatic control of windows in Linux environments using window managers. It serves as a wrapper around the wmctrl command-line tool, providing a Pythonic interface for window management operations.

### Development
The project is actively maintained on GitHub at https://github.com/antocuni/wmctrl. The lead developer is Tomáš Stýblo, who works as both a programmer and system administrator. The project follows a clear versioning strategy, with new releases typically addressing feature additions, bug fixes, or improvements to the API.

### Version History
- Version 0.2: Released on 2015-08-08, marked as "Release 0.2"
- Version 0.3: Released on 2015-11-25, marked as "Release 0.3"
- Version 0.4: Released on 2021-04-23
- Version 0.5: Released on 2023-09-16, designated as the current stable version

### Licensing
wmctrl is distributed under the MIT License, which permits users to freely run, study, change, and distribute the software and its modified versions. This permissive license has contributed to the library's adoption in various automation projects and desktop enhancement tools.

### Repository and Distribution
The project is hosted on GitHub and distributed through PyPI with the package name "wmctrl". It is also listed in repology under the identifier "python:wmctrl", making it discoverable within the Python ecosystem and package management systems.

## References

1. [Source](https://api.github.com/repos/antocuni/wmctrl)
2. [2021](https://github.com/antocuni/wmctrl/releases/tag/v0.4)
3. [Release 0.2. 2015](https://github.com/antocuni/wmctrl/releases/tag/v0.2)
4. [Release 0.3. 2015](https://github.com/antocuni/wmctrl/releases/tag/v0.3)
5. [Release 0.5. 2023](https://github.com/antocuni/wmctrl/releases/tag/0.5)