Native resolution setting

My problem is that after install the OS my display is only 640x480 with no other option in ‘display’.
My display is connected with an old VGA cable (hdmi or displayPort isn’t a possibility atm).

I managed to ‘xrandr’ 1920x1080 mode (as I type this topic with native resolution :smile: ).
But after restart the setting is back to 640x480.
On xubuntu OS I could save this mode to /etc/X11/xorg.conf and that would change the resolution after login to 1920x1080. I did not succeeded to change the resolution before the login…

With EndeavourOS I now chose KDE Plasma (sddm display manager) in the hope I would be more lucky, but I only managed to change the resolution to 1920x1080 via xrandr, but I cannot save it.

What I want is

  • 1920x1080 resolution at login screen and beyond that, everytime without manually change it every time.

Can anyone help me with this, would be great!

I run XFCE - which allows ‘saving’ the profile, but I don’t know how KDE does it. I’m fairly sure it does, though. Someone will be along with that answer soon, I’m sure.

Another possibility comes to mind -arandr. This package is a gui interface to xrandr (AFAIK) and also allows saving of desired profiles. Again AFAIK, this happens before the login manager starts…

@Oona
Are you not able on KDE to go to system settings, display & monitor, and set resolution there to 1920x1080 and apply.

I have had this issue with Plasma and Nouveau drivers and LG TV. Although arandr was good for changing the resolution, it wouldn’t stick, and kept thinking the TV was 640x480 7", when in reality it’s 32" 1920x1080. I went to Cinnamon on that machine, and everything was happy. I realise I could have hard-coded the resolution, but it is the kid’s gaming/learning box, and would get a lot of screen changes from that, so decided to stick to Cinnamon.

Just a note - with arandr, you must give your preferred setting a name for it to stick. Perhaps that got missed? (I missed it the first time or 2!)

1 Like

I tried pebcak method to add the custom resolution to ‘grub’ which doesn’t helped unfortunately.

I noticed when I started the pc this morning, that it’s switched to 1920x1080 after login because I added the mode to the /etc/X11/xorg.conf yesterday. That’s the only adjustment I did after fresh install.

@ricklinux no, after fresh install the only mode is 640x480. (now my xorg.conf rule is seen after login)

@onyxnz I’m willing to switch to cinnamon or back to xfce but I think it’s a matter adjusting a setting (commandline) to make it work.

@freebird54 I’m a bit confused. I want to install arandr, but for some reason I cannot find any package manager on this install. I googled for 10 minutes to find any manager for KDE Plasma, and found out that it’s called Discover, but it’s not on my machine… Am I missing something?
I don’t know yet how to install software via commandline yet in arch.

So current situation; I have 1920x1080 after login, but I really want it to be with the login also.

1 Like

Welcome to the forum! :smile:

sudo pacman -S arandr

We use pacman as the package manager.
We don’t provide any GUI based package manager, but those based on pamac (e.g. pamac-aur-git) are quite popular.
And we still recommend pacman. And we have yay for installing AUR packages.

For more info, look into our wiki pages and search for pacman, yay and AUR.
This should get you started:
https://discovery.endeavouros.com/pacman/pacman-basic-commands

And, if you really want to have a GUI package manager, you may install it with terminal command:

yay -S pamac-aur-git

Manual pages give you more info:

man pacman
man yay

in addition using /etc/X11/xorg.conf file is not recommended anymore and using /etc/X11/xorg.conf.d/ conf files instead only for the settings adding to defaults.
Setting native resolution should not be needed on a real install on hardware in most cases at all, and the display settings inside the used Desktop environment should work to change the resolution.

Possible resolutions can be seen with xrandr command what will give an output like this:

[joe@t60 ~]$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096
LVDS1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm
   1024x768      60.00*+
   1024x576      59.90    59.82  
   960x540       59.63    59.82  
   800x600       60.32    56.25  
   864x486       59.92    59.57  
   640x480       59.94  
   720x405       59.51    58.99  
   640x360       59.84    59.32  
VGA1 disconnected (normal left inverted right x axis y axis)
DVI1 disconnected (normal left inverted right x axis y axis)

If you need to set the resolution systemwide for xorg something like this should work saved as /etc/X11/xorg.conf.d/10-monitor.conf

Section "Screen"
    Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    Device                 "Device0"
    Monitor                "display name from xrandr command"
    DefaultDepth            24 #Choose the depth (16||24)
    SubSection             "Display"
        Depth               24
        Modes              "1280x1024" #Choose the resolution
    EndSubSection

It would be nice to have more information about your hardware. inxi -Fxxxz --no-host
You said it’s connecting via just vga. What display are you connecting to?