A visual, browser-based tool for designing window tiling layouts for KZones on KDE Plasma. Create, edit, and export custom zone configurations with an intuitive drag-and-drop interface.
- Visual Zone Designer - Click and drag to create window zones
- Smart Snapping - Automatically aligns zones to grid lines, screen edges, and other zones
- Multi-Resolution Support - Design for any display size with preset and custom resolutions
- Drag & Drop - Move existing zones by clicking and dragging
- Export/Import - Generate JSON files compatible with KZones
- Color-Coded Zones - Each zone gets a unique color for easy identification
- Real-time Coordinates - View exact percentages for precise positioning
- Modern web browser (Firefox, Chrome, Safari, Edge)
- No installation required - runs entirely in the browser
- Internet connection for initial load (loads libraries from CDN)
- Download the
kzones-designer.htmlfile - Open it in your web browser
- Start designing your layout immediately!
- Select Resolution - Choose your display resolution from the dropdown or enter custom dimensions
- Draw Zones - Click and drag on the canvas to create rectangular zones
- Move Zones - Click and drag existing zones to reposition them
- Use Snapping - Green lines appear when zones align with grid or other zones
- Name Your Layout - Enter a descriptive name in the "Layout Name" field
- Save Layout - Click "Save Layout" to keep it in your session
- Export - Use "Export Current" for one layout or "Export All" for multiple layouts
- Import - Load existing KZones JSON files to edit them
- Snap Settings - Toggle snapping on/off and adjust tolerance
- Resolution Control - Switch between common presets or use custom dimensions
- Zone Management - View, select, and delete individual zones
- 1920x1080 - Full HD
- 2560x1440 - 1440p
- 3440x1440 - Ultrawide
- 3840x2160 - 4K
- 5120x1440 - Super Ultrawide
- 5120x2880 - 5K
- Custom - Any resolution you need
- Design your zones
- Name your layout
- Click "Export Current"
- Save the JSON file
- Create and save multiple layouts using "Save Layout"
- Click "Export All"
- Get a complete JSON file with all your layouts
- Copy the exported JSON content
- Open your KZones configuration
- Paste the zones array into your KZones settings
- Apply the configuration in KDE Plasma
[
{
"name": "My Custom Layout",
"zones": [
{"x": 0, "y": 0, "width": 50, "height": 100},
{"x": 50, "y": 0, "width": 50, "height": 50},
{"x": 50, "y": 50, "width": 50, "height": 50}
]
}
]| Action | Control |
|---|---|
| Create Zone | Click and drag on empty space |
| Move Zone | Click and drag existing zone |
| Select Zone | Click on zone |
| Delete Zone | Click trash icon in zone list |
| Toggle Snap | Use checkbox in Snap Settings |
- Grid Lines - Use the 10% grid overlay for consistent layouts
- Snap Tolerance - Adjust sensitivity for easier or more precise snapping
- Aspect Ratios - The designer shows your display's aspect ratio for reference
- Zone Details - Click zones to see exact coordinates in the bottom panel
- Color Coding - Each zone gets a unique color and number for easy identification
- Recommended: Firefox, Chrome 80+, Safari 14+, Edge 80+
- Icons not showing: Ensure internet connection for CDN resources
- Zones not snapping: Check that snapping is enabled in settings
- Export not working: Modern browsers required for file download API
- Large layouts: The tool handles dozens of zones efficiently
- High resolutions: Canvas scales automatically to fit screen
This is a standalone HTML file that can be easily modified:
- Open the HTML file in a text editor
- Modify the JavaScript code in the
<script>section - Reload in browser to test changes
For those interested in understanding the implementation details, see the file-structure-overview.md which provides:
- Complete code architecture breakdown
- JavaScript component explanations
- Canvas rendering pipeline details
- State management patterns
- Event handling system overview
- Performance optimization techniques
The technical docs are essential for anyone looking to modify, extend, or contribute to the zone designer.
This tool is designed for use with KZones and KWin on KDE Plasma. Feel free to modify and distribute.
- KZones - The KDE Plasma window tiling extension this tool generates layouts for
- KWin - The window manager that provides the framework for KZones
- KDE Plasma - The desktop environment that KZones runs on
Happy tiling!