Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
I3 | 6,019 | 5 months ago | 14 | bsd-3-clause | C | |||||
A fork of the i3 window manager with gaps and some other features. :warning: i3-gaps has been merged into i3. | ||||||||||
X11docker | 4,642 | a month ago | 10 | mit | Shell | |||||
Run GUI applications and desktops in docker and podman containers. Focus on security. | ||||||||||
Picom | 3,296 | 7 days ago | 278 | other | C | |||||
A lightweight compositor for X11 | ||||||||||
Warpd | 2,017 | 2 months ago | 20 | mit | C | |||||
A modal keyboard-driven virtual pointer | ||||||||||
Sddm | 1,454 | 2 days ago | 480 | gpl-2.0 | C++ | |||||
QML based X11 and Wayland display manager | ||||||||||
Hypr | 721 | 2 months ago | 17 | bsd-3-clause | C++ | |||||
Hypr is a tiling window manager written in modern C++. | ||||||||||
Egpu Switcher | 455 | 5 days ago | 5 | September 11, 2022 | 8 | gpl-3.0 | Go | |||
🖥🐧 Setup script for eGPUs in Linux (X.Org) | ||||||||||
Wallutils | 335 | 24 days ago | 4 | bsd-3-clause | Go | |||||
:city_sunset: Utilities for handling monitors, resolutions, wallpapers and timed wallpapers | ||||||||||
Libagar | 314 | 3 days ago | 9 | bsd-2-clause | C | |||||
Cross-Platform GUI Toolkit (stable) | ||||||||||
Xf86 Input Wacom | 294 | 3 months ago | 4 | C | ||||||
X.Org driver for Wacom devices |
A small python xrandr library. It is written as a wrapper around xrandr command line tool.
usage: pyrandrcli.py [-h] [--output OUTPUT] [--mode MODE | --auto] [--off]
[--dry-run] [--primary]
[--rotate {normal,left,right,inverted}]
[--left-of OUTPUT | --right-of OUTPUT | --above OUTPUT | --below OUTPUT | --same-as OUTPUT]
optional arguments:
-h, --help show this help message and exit
--output OUTPUT Selects an output to reconfigure.
--mode MODE Sets a resolution for the selected output
--auto Selects default resolution for the output.
--off Disables the output
--dry-run Prints the generated cmdline
--primary Set the output as primary
--rotate {normal,left,right,inverted}
Rotate the output content in the specified direction
Position the output:
Use one of these options to position the output relative to the position
of another output.
--left-of OUTPUT
--right-of OUTPUT
--above OUTPUT
--below OUTPUT
--same-as OUTPUT
Have a look at the source of examples/pyrandrcli
to learn how to use it.
But it basically boils down to this;
import pyrandr as randr
# get connected screens
cs = randr.connected_screens()[0]
# available resolutions as a tuple in the form of (width, height)
reslist = cs.available_resolutions()
cs.set_resolution((1024, 768))
cs.set_as_primary(True)
# rotate output contents by 90 degrees in the clockwise direction
cs.rotate(RotateDirection.Right)
cs.apply_settings()