Tag Info

Hot answers tagged


With the script below, you can set the screen's brightness from 0.1 to 1.0, in 9 steps, on any system that "obeys" xrandr. Just run it with either the argument "up" or "down" to increase/decrease the current brightness one step. The script #!/usr/bin/env python3 import subprocess import sys arg = sys.argv[1] # get the data on screens and current ...


You need to add the xrandr configurations to a startup file, so that you'll get your desired resolution upon reboot/startup: Create a bash script, xrandr.sh for example, and place your xrandr commands into it: #!/bin/bash xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync xrandr --addmode VGA1 ...

Only top voted, non community-wiki answers of a minimum length are eligible