Manjaro safe monitor settings

I followed this video:

https://www.youtube.com/watch?v=lhiLWxJgiAo&t=30s

To try to set my video settings so that I do not have to repeatedly fix that every time I boot my computer. Unfortunately, it broke my computer! So, what is a safe way to fix the settings to the different monitors I have that will not break my computer?

Please edit your post to add details about what you need help with here, no one is going to watch a video to figure out what you’re talking about.

Please see:

2 Likes

Got it, still learning some things by the way. Have only had Manjaro for approx a month and not had any exp with Linux prior. Ok, so here is what I did:

xrandr

/etc/X11/

xorg.conf.d/

sudo nano 10-monitors.conf

GNU nano 6.3:

reboot

What issue are you trying to fix?


1 Like

Ok, let’s try this again:

Konsole: xrandr

Screen 0: minimum 320 x 200, current 7040 x 2160, maximum 16384 x 16384
eDP-1 connected 1920x1080+5120+540 (normal left inverted right x axis y axis) 309mm x 173mm
   1920x1080     60.05*+  60.01    59.97    59.96    59.93    48.04  
   1680x1050     59.95    59.88  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   640x400       59.88    59.98  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
HDMI-1 connected primary 3840x2160+1280+0 (normal left inverted right x axis y axis) 800mm x 450mm
   3840x2160     30.00*+  24.00    29.97    23.98  
   4096x2160     30.00    24.00    29.97    23.98  
   1920x1080     60.00    59.94    30.00    24.00    29.97    23.98  
   1920x1080i    60.00    59.94  
   1680x1050     59.88  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x960      60.00  
   1360x768      60.02  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    30.00    59.94    29.97    24.00    23.98  
   1024x768      75.03    70.07    60.00  
   800x600       72.19    75.00    60.32  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       75.00    72.81    60.00    59.94  
   720x400       70.08  
DVI-I-1-1 connected 1280x720+0+696 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024     60.02 +
   1920x1200     59.88  
   1920x1080     60.00  
   1600x1200     60.00  
   1680x1050     59.95  
   1440x900      59.89  
   1366x768      59.88  
   1280x720      60.00* 
   1024x768      60.00  
   800x600       72.19    75.00    60.32  
   720x480       59.71  
   640x480       59.94  
  1280x1024 (0x51) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1680x1050 (0x4a) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x720 (0xab) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1024x768 (0x62) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0xb3) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0xb4) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x71) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  640x480 (0x7e) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

Konsole: /etc/X11/
Konsole: xorg.conf.d
Konsole: sudo nano 10-monitors.conf

in GNU nano 6.3:

Section "Monitor"
        Identifier "DVI-I-1-1"
        Modeline "1280x720"
        Option "TargetRefresh" "60"
        Option "Position" "1280 0"
EndSection
Section "Monitor"
        Identifier "HDMI-1"
        Modeline "3840x2160"
        Option "PrefferedMode" "3840x2160"
        Option "TargetRefresh" "60"
        Option "Position" "0 0"
EndSection
Section "Monitor"
        Identifier "eDP-1"
        Modeline "320x200"
        Option "TargetRefresh" "60"
        Option "RightOf" "HDMI-1"
        Option "Positon" "0 320"
EndSection

Ctrl + x
y ‘Enter’

Konsole: reboot

After reboot, I could not use my computer. I ended up having a very large convo on this with another in another post to get my computer back.

*I skipped a line when typing what was on my image, It does not change what I already have, just changes one snippit of info I gave you. Under Identifier “DVI-I-1-1” I left out the option that was provided to you that states;
Option “LeftOf” “HDMI-1”

Like I said, it does not change what I have, just what I gave to you.

So, nobody has any idea of what is wrong here? Or maybe an alternate way to do this without breaking my computer?


You have yet to tell us what “this” is.

What are you trying to do?
In your initial post you said something about the need to fix something at every boot… What os the issue you are experiencing?

Edit: based on the video you linked, it might be something connected to a dual monitor setup?

That was from my initial post, I was very clear and concise. I have 2 monitors connected to my laptop, of which can bee seen in the code of my posts. I want to make my largest/middle screen the main primary and position my laptop on one side and the other monitor on the other side. I also want to make sure the resolution and global scale are set either auto or specific based on resolution. However, every time I reboot, I have to fix everything. The problem is, when I reboot, everything is super tiny so I have to stand next to the monitors super close in order to see what I am doing. And I am not exaggerating on the super tiny either. Think tiny print on bills and make it smaller. Plus, I never know which way the monitors are going to show up. I have had the monitors randomly appear above my laptop or layered over each other on the layout when I reboot. I am tired of having to fix this on a daily basis and just want to make a permanent fix.

I did wait 3 hrs before making that post. I had been doing homework for hours before coming back to find nothing. I was hoping for a little light at the end of the tunnel. Sorry, if it seems I was impatient, I am juggling allot here and was trying to stay on task.

Look at the snippet you posted above. It’s full of typos (e.g. “preffered”) and do you really want your laptop screen on 320x200 resolution?

2 Likes

Thank-you for those two catches, not sure if it will help though. My desired laptop screen is 1920x1080 res and 150% global. I have not yet figured out which way to set global. And I have made the ‘fixes’ to my grammar. I am used to being on a Windows OS that catches my grammar in almost everything I did. And sometimes, my letters when typing somehow get doubled. I am constantly fixing as I go but sometimes I miss some things. As for global, I am assuming that adding:

Option “Global” “150%”

or

Option “Global scale” “150%”

would do it. But that is based on the rest of the code following the same pattern.

Either specify an absolute position (0,0) or a relative one (LeftOf), not both. :slight_smile:

Absolute positions are x,y coordinates in pixels. 0,0 is the top left corner of the screen (the thing that contains the monitors). That’s where you put the top left corner of HDMI-1, which has a resolution of 3840x2160 pixels.

So the top right corner of HDMI-1 is 3840,0 yet you put DVI-I-1-1 at 1280,0, which of course overlaps. You put your laptop screen at 0,320 which puts the top left corner 320 pixels below the top left corner of HDMI-1, again overlapping.

xrandr combined with a startup script (give the absolute path to the script), or there should be a GUI configuration utility.

#!/usr/bin/bash

# Aligned to the top so moving the mouse 
# between monitors is easy
# if it's blocked then move the mouse up and try again

xrandr --output DVI-I-1-1 --pos 0x0  # left
xrandr --output HDMI-1 --pos 1280x0  # mid
xrandr --output eDP-1 --pos 5120x0   # right

Perhaps you should look to your DE configuration for that. According to you (“konsole”), your DE is KDE. Manjaro is a distro. :slight_smile:

Less assuming and more reading please. :grin:

Xorg - ArchWiki
xorg.conf(5) — Arch manual pages
xrandr(3) - Linux man page

:smile:

1 Like