Skip to content

boctulus/chres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChRes: Change screen resolution in a easy way

Compatible with all Linux distros.

How it works

It's a command tool utility, a "front-end" (also for the terminal) for xrandr. Just download.... give execution permission to the script and then run commands to change screen resolution.

Motivation

The command xrandr is great but do not provide filters or preferences about aspect ratio and minimum resolution.

Configuration

Just pick up and edit the file named "chres.conf"

# aspect-ratio as fraction, decimal number or by example with a resolution (optional) 
ratio=16:9

# minimal height and width as resolution (WidthxHeight) or using an alias (optional)
minres=1080p

Usage

chres <options>
 
  Options:
 
  -s, --screen                    :0 is the default screen but it can be changed 
  -d, --display                   specify display interface (eDP-1-1,...)
  -r, --resolution                set display resolution
  -R. --reset                     set default resolution
  
  -h, --help                      display this help
  -v, --version                   display version

Examples

chres       # menu is shown
chres --resolution 1024x768 
chres --resolution 1024x768 --display HDMI-1-2
chres --display eDP-1-1 --reset
chres --reset --display eDP-1-1 

How to install

git clone https://github.com/boctulus/chres.git
sudo ln -s $(pwd)/chres /usr/bin		

About

Change Linux resolution by command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages