Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Change screen size to avoid dead pixels.

  • 26-05-2014 01:54PM
    #1
    Registered Users, Registered Users 2 Posts: 8,184 ✭✭✭


    I have a laptop.
    2gig ram,cpu 2.oghz.

    Theres a few dead pixels upper right at the top of the screen.
    I was wondering if theres a utility or terminal command in linux i can use
    to reduce the screen display area by 1 inch on 1 side.
    I can change resolution ,to 800x600 ,but this reduces the screen size by 1 inch approx on both sides .
    I,M running windows os, i can use powerstrip to change resolutions as well as display options control panel.
    I,LL install linux mint ,or ubuntu, if it helps to reduce the screen area .

    I,M experienced at installing linux from bootable usb drives.
    The dead pixels are about less than 1 inch, 0.75 inch round x o.70 inch circle


Comments

  • Registered Users, Registered Users 2 Posts: 1,929 ✭✭✭PrzemoF


    xrandr should be able to do it.
    check --newmode option and --pos option

    Use cvt to get all those "magic" values (your new screen width has to be narrower that the original resolution) - I'm using offset 50
    $ cvt 1024 600
    
    # 1024x600 59.85 Hz (CVT) hsync: 37.35 kHz; pclk: 49.00 MHz
    Modeline "1024x600_60.00"   49.00  1024 1072 1168 1312  600 603 613 624 -hsync +vsync
    

    Make a new mode:
    $ xrandr --newmode "1024x600"   49.00  1024 1072 1168 1312  600 603 613 624 -hsync +vsync
    $ xrandr --addmode default "1024x600"
    

    and apply it with a shift of x=50 y=0:
    xrandr -s "1200x600" --output default --pos 50x0
    

    It's no guaranteed to work as I can't test it fully on virtual machine.
    Word "default" has to be replaced with output name. Type xrandr to get it (something like VGA, VBOX0 or LVDS)

    More info here:
    https://wiki.archlinux.org/index.php/Xrandr
    http://www.x.org/archive/current/doc/man/man1/xrandr.1.xhtml


Advertisement