You are not logged in.

#1 2024-02-20 14:09:41

benslinux
Member
Registered: 2024-01-31
Posts: 13

Set Display Resolution

I just installed Boron on Lenovo ThinkPad T470s which has an HD display that defaults to 1920 x 1080. This is way too small for my eyes. In User Settings I found the ARandR Screen Layout Editor.
I'm able to make everything bigger by changing scale factor or manually changing resolution from for ex 1920x1080 to 1280x720. This gets me the resolution I want, but setting is lost after reboot. I see option to save setting as a .screenlayout file - but do I need to then add to startup or .bashrc to retain size?

- thanks for any help.

Last edited by benslinux (2024-02-20 14:38:40)

Offline

#2 2024-02-20 14:37:45

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: Set Display Resolution

@benslinux,
Having set the resolution in arandr  Layout/Save As
monitors.sh

chmod +x ~/.screenlayout/monitors.sh

to make it executable

insert the following line into ~/.config/bunsen/autostart

$HOME/.screenlayout/monitors.sh

...Welcome to the family...

Offline

#3 2024-02-20 15:09:26

benslinux
Member
Registered: 2024-01-31
Posts: 13

Re: Set Display Resolution

Thanks - that gives me a .screenlayout file with correct resolution (1280x720) - clicking on green check enlarges to acceptable value. But even after using commands you gave me in terminal, setting is lost on startup. Maybe I didn't save correctly? It's hard for me to know if screen layout editor being set to 1280x720 is what's being saved as monitors.sh - the command: $HOME/.screenlayout/monitors.sh - definitely puts file in my home folder, but does that then enable this new resolution size upon startup? I'm still missing something.

Last edited by benslinux (2024-02-20 15:10:20)

Offline

#4 2024-02-20 15:20:31

Robi
Member
Registered: 2024-01-30
Posts: 43

Re: Set Display Resolution

arandr produces something like this. I saved in ~/.screenlayout/monitors.sh

#!/bin/sh
xrandr --output eDP-1 --primary --mode 1280x720 --pos 0x0 --rotate normal

.screenlayout is a directory. monitors.sh is a script. You may chose whatever you like. The point is to start from autostart. Tilde ~ is the home directory. Sorry to be so didactic.

OR a simpler way:
Insert the followung line into ~/.config/bunsen/autostart

xrandr --output eDP-1 --primary --mode 1280x720 --pos 0x0 --rotate normal

Last edited by Robi (2024-02-20 15:32:16)


...Welcome to the family...

Offline

#5 2024-02-20 15:29:59

benslinux
Member
Registered: 2024-01-31
Posts: 13

Re: Set Display Resolution

Right - .screenlayout is the directory - monitors.sh script goes in there. I should be able to figure it out from that. Hey - thanks for your time!

Offline

#6 2024-02-21 01:43:52

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: Set Display Resolution


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB