Skip to content

Releases: MisconceivedSec/setcustomres

v2.3 - Updated help message and colour management

03 Aug 13:07
Compare
Choose a tag to compare
Merge branch 'main' of github.com:YoungFellow-le/setcustomres

Update help message - Minor update

29 Jul 08:05
1c64e94
Compare
Choose a tag to compare

Minor update: Updated help message

~$ setcustomres -help
Description: Set custom resolution to a display using xrandr
Usage: setcustomres [OPTIONS]...
Version: 2.2.1

-w | -width <integer>            Mandatory: Width of resolution
-h | -height <integer>           Mandatory: Hight of resolution
-o | -output <string>            Mandatory: Display output
-r | -refresh-rate <integer>     Custom refresh rate (Default 60Hz)
-p | -param "<string>"           Xrandr parameters - Wrap with double quotes
-u | -update <path>              Standalone: Update setcustomres (requires path to setcutomres local repository)
-v | -version                    Standalone: Print version
-help                            Standalone: Print this help message

v2.2 - Added update function and updated help message

19 Jul 14:18
Compare
Choose a tag to compare

Updates:

  • Added -u | -update functions
  • Changed all flags to use -longname convention (like in powershell)
  • Updated help message

Installation:

# Clone github repository
git clone https://www.github.com/MisconceivedSec/setcustomres.git

# Install
cd setcustomres
sudo ./setup.sh install

# Uninstall
sudo ./setup.sh uninstall

v2.1 - Added refresh rate option

22 Jan 08:07
Compare
Choose a tag to compare

What's new:

  • Added -r | --refresh-rate flag:
# This sets a custom resolution to HDMI-1 with a refresh rate of 120Hz
~$ setcustomres -w 1600 -h 900 -o HDMI-1 -r 120

To install:

# Clone github repository
git clone https://www.github.com/YoungFellow-le/setcustomres.git

# Install
cd setcustomres
chmod u+x setup.sh
sudo ./setup.sh install

# Uninstall
sudo ./setup.sh uninstall

v2.0 - Added flag functionality

20 Jan 13:34
Compare
Choose a tag to compare

What's new:

  • Added --help flag
  • Added -v | --version flag
  • New execution method:
# This sets a custom resolution to HDMI-1
~$ setcustomres -w 1920 -h 1080 -o HDMI-1

# This sets a custom resolution to DP-1 and maps it to the right of VGA-1
~$ setcustomres --width 1366 --height 768 --output DP-1 --param "--right-of VGA-1"

# This sets a custom resolution to VGA-2 and makes it the primary screen
~$ setcustomres -w 1680 -h 1050 -o VGA-2 -p "--primary"

This makes the order of parsed arguments irrelevant.

To install:

# Clone github repository
git clone https://www.github.com/YoungFellow-le/setcustomres.git

# Install
cd setcustomres
chmod u+x setup.sh
sudo ./setup.sh install

# Uninstall
sudo ./setup.sh uninstall

v1.0.1 - Added setup file

18 Jan 06:35
Compare
Choose a tag to compare
# Install
cd setcustomres
chmod u+x setup.sh
sudo ./setup.sh install

# Uninstall
sudo ./setup.sh uninstall

v1.0 - First release

16 Jan 15:01
e389ff2
Compare
Choose a tag to compare
~$ setcustomres
Description: Set custom resolution to a display using xrandr
Usage: setcustomres X Y OUTPUT [XRANDR FLAGS]

          ---Usage Examples---

# This sets a custom resolution to HDMI-1
~$ setcustomres 1920 1080 HDMI-1
# This sets a custom resolution to DP-1 and maps it to the right of VGA-1
~$ setcustomres 1366 768 DP-1 "--right-of VGA-1"
# This sets a custom resolution to VGA-2 and makes it the primary screen
~$ setcustomres 1680 1050 VGA-2 "--primary"