https://github.com/allanchain/kscreen-auto-scale
Automatically scale external monitors with kscreen under Wayland
https://github.com/allanchain/kscreen-auto-scale
Last synced: about 2 months ago
JSON representation
Automatically scale external monitors with kscreen under Wayland
- Host: GitHub
- URL: https://github.com/allanchain/kscreen-auto-scale
- Owner: AllanChain
- Created: 2024-01-21T13:06:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T08:22:29.000Z (over 2 years ago)
- Last Synced: 2025-12-10T01:40:48.204Z (6 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KScreen Auto Scale
Automatically choose and apply scale for external monitors, with KScreen and Wayland.
> [!Warning]
> This project is created for my personal use. If you find it needs improvement, please leave a comment and let's see if we can make it better!
It's better with a desktop shortcut `kscreen-auto-scale.desktop`:
```ini
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=Auto Scale Screen
Exec=/path/to/kscreen-auto-scale/kscreen-auto-scale
Icon=cs-screen
Type=Application
```
## Features
- When only one monitor is connected, reset to preferred mode with proper scale
- When external monitor is connected in extend mode, set both of them to preferred mode with proper scale
- When external monitor is connected in mirror mode, set both of then to 16:9 mode with proper scale
To determine the proper scale, you can pass `--preferred-width` argument. The default value is 1536, which is 1.25x scale with 1920 width.