Simple resolution setter for Linux

Sono

cripple piss
OP
Developer
Joined
Oct 16, 2015
Messages
2,821
Trophies
2
Location
home
XP
9,321
Country
Hungary
It's nothing fancy, just a one-liner script to set your resolution :P

Here are some options:
Download resset.sh
function resset { LEL=`cvt $2 $3 $4 | grep "Modeline" | cut -b10- | tr -s " "`;NAEM=`echo $LEL | cut -d'"' -f2`;echo $LEL | xargs xrandr --newmode;xrandr --addmode $1 $NAEM;xrandr --output $1 --mode $NAEM; }

No matter what option you choose, the parameters are the same:
Code:
resset <connector> <width> <height> <refresh>

Example:
Code:
resset VGA-0 1360 768 60
 
Last edited by Sono,
  • Like
Reactions: ihaveahax

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: Or, I also heard that if you use flash memory, it can act as more "RAM" at least windows tell me...