KScreen is a screen management software for KDE, the K Desktop Environment. It allows users to configure and manage multiple monitors connected to a single computer. The kscreen-console is a command-line tool that allows users to query the status of KScreen, such as the current resolution, refresh rate, and whether the monitors are mirrored or extended. This tool can be useful for scripting or automating certain tasks related to monitor management, as well as for troubleshooting and debugging issues with KScreen.
If you encounter the below error while running the command kscreen-console:
kscreen-console: command not found
you may try installing the below package as per your choice of distribution:
Distribution | Command |
---|---|
Debian | apt-get install kscreen |
Ubuntu | apt-get install kscreen-dbg |
Arch Linux | pacman -S kscreen |
Kali Linux | apt-get install kscreen |
Fedora | dnf install kscreen-1 |
Raspbian | apt-get install kscreen |
kscreen Command Examples
1. Show all outputs and configuration files to attach to a bug report:
# kscreen-console bug
2. Show paths to KScreen configuration files:
# kscreen-console config
3. Show KScreen output information and configuration:
# kscreen-console outputs
4. Monitor for changes:
# kscreen-console monitor
5. Show the current KScreen configuration as JSON:
# kscreen-console json
6. Display help:
# kscreen-console --help
7. Display help including Qt specific command-line options:
# kscreen-console --help-all