i have created a profile under advanced in display and set resolution to what i want it to be. there is no mention of any other desktop resolution in ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. however, when i run xrandr --verbose --query it shows the resolution that xfce defaults to - 3840x1080 (ox1c2) preferred. same as what i see in display settings, there is an asterisk next to 3840x1080 – it is not keeping the 5120x1440 which i have associated with the display profile.
i have looked all over the system – /etc/X11 , usr/share/X11 , i see no mention of 3840x1080 anywhere (nor any other display resolutions or anything which resembles a xorg display configuration).
xfce settings are soooo spread out…wild guess…hail mary here…is XFCE’s built-in compositior (forget name) possibly one of the keyholders to this info? I see someone typing as I’m typing so they probably have the solution.
Welcome to the forum @vogg
In my experience primarily xfce4-display-settings
serves for such settings. You commit with ‘Apply’ and confirm it with ‘Keep…’
Although these settings are written to
~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
I failed to modify the actual resolution by editing it. xrandr --verbose --query
lists the possible and the preferred settings only.
If the above method is not sufficient use from AUR arandr
Ctrl+Return Applies and Files/Save as writes a xrandr command line you can
use as monitor.sh chmod +x ~/.screenlayout/monitor.sh
Put it into Startup
I’m not convinced of the necessity of this second method.
I just tried all of this - even added the +x monitor.sh to startup. should this be triggered ‘on login’? I even used nvidia settings and outputted a config i have in /etc/X11/xorg.conf.d/10-monitor.conf
rebooted system , logged in – locked screen - waited 2 or 3 minutes, log in and im back at 3840x1080 (instead of 5120x1440).
xfce4-display-settings , apply – keep. looks good but still shows the asterisk next to the 3840x1080.
user@dell7810 /e/X/xorg.conf.d> xrandr --verbose --query|grep preferred
3840x1080 (0x1c2) 549.000MHz +HSync -VSync +preferred
user@dell7810 /e/X/xorg.conf.d> xrandr --verbose --query|grep 5120x1440
DP-4 connected 5120x1440+0+0 (0x1c3) normal (normal left inverted right x axis y axis) 1mm x 1mm
5120x1440 (0x1c3) 965.600MHz +HSync -VSync *current
5120x1440 (0x1c4) 469.000MHz +HSync -VSync
where would that info be coming from? what would try to push the 3840x1080 as a default resolution vs the monitor manufacturer’s recommendation of 5120x1440. if i could somehow override that and set it instead to what i would prefer it to be, this would remedy itself.
if someone has a suggestion on how to correct this that would be great. in the meantime, i have created a keyboard shortcut , ctrl-alt-z , that runs the monitor.sh script from a few messages ago which sets it to the correct resolution. i was trying to find a trigger for screen unlock/login that i could use to run that script, but not seeing anything.
@vogg
Let me repeat step by step. With arandr you can produce a monitor.sh
ls -al .screenlayout/monitor.sh -rwx------ 1 a a 146 Jun 26 10:15 .screenlayout/monitor.sh
add executable so that to be able to run user as well chmod +x .screenlayout/monitor.sh
[a@a-81w8 ~]$ ls -al .screenlayout/monitor.sh -rwx--x--x 1 a a 146 Jun 26 10:15 .screenlayout/monitor.sh
re Login:
This is what helped in my case, refreshrate of my monitor keeps resetting to default after reboot. Not sure it will help with yours though.
Remove xfce4-screensaver and xfce4-powermanager (no need as the power is regulated by dpms
inside the monitor settings menu (the menu from your screen itself) disable DDC/CI
remove home/.config/xfce4/xfconf/xfce-perchannel-xml/ display.xml
Reboot
Go to settings/display and set the right refreshrate
Remove settings/keyboard/application shortcuts anything display related
run in terminal: sudo xset -dpms
and: sudo xset dpms
Reboot
After this the refreshrate should stay at what you have set in display settings.
If this does not help (enough), set a profile in display settings advanced tab with the same settings as in the general tab.
Set connecting display to show dialog and set automatically enable profile to on.
Reboot
If invoked without any option, it will dump the state of the outputs, showing the existing modes for each of them, with a ‘+’ after the preferred modes and a ‘*’ after the current mode.
The usual/recommended method is by configuring the Display Manager (LightDM/SDDM) Xsetup script.
It would be more productive if you had posted full info instead of parts. I mean xrandr, inxi, xfce files, etc.
Also, a link to the monitor’s and GPU User Manual would help as well.
@vogg
Let me repeat step by step. With arandr you can produce a monitor.sh
ls -al .screenlayout/monitor.sh -rwx------ 1 a a 146 Jun 26 10:15 .screenlayout/monitor.sh
add executable so that to be able to run user as well chmod +x .screenlayout/monitor.sh
[a@a-81w8 ~]$ ls -al .screenlayout/monitor.sh -rwx--x--x 1 a a 146 Jun 26 10:15 .screenlayout/monitor.sh
Yes, this is exactly what I have done - did not forget the chmod +x — been using unix variants since the 1980s going back to sco unix i used to install from tape drives and slackware from the early 90s installed from floppy
The usual/recommended method is by configuring the Display Manager (LightDM/SDDM) Xsetup script.
It would be more productive if you had posted full info instead of parts. I mean xrandr, inxi, xfce files, etc.
Also, a link to the monitor’s and GPU User Manual would help as well.
I dont believe the xorg 10-monitor.conf config i dumped from nvidia-settings is doing anything, but it did pull hardware details about video card and monitor.
looking at all of this here and also reading with fred666 mentioned - set the right refreshrate. perhaps its not liking the 119.97 vs 120.00 refresh rate?
Remove xfce4-screensaver and xfce4-powermanager (no need as the power is regulated by dpms
inside the monitor settings menu (the menu from your screen itself) disable DDC/CI
remove home/.config/xfce4/xfconf/xfce-perchannel-xml/ display.xml
Reboot
Go to settings/display and set the right refreshrate
Remove settings/keyboard/application shortcuts anything display related
run in terminal: sudo xset -dpms
and: sudo xset dpms
Reboot
After this the refreshrate should stay at what you have set in display settings.
When i run xrandr now it shows a refresh rate of 120.00 for 5120x1440 , and it is now booting with the correct resolution. I think this may have fixed the issue from what i can tell. Thank you fred666
user@dell7810 ~> xrandr
Screen 0: minimum 8 x 8, current 5120 x 1440, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected primary 5120x1440+0+0 (normal left inverted right x axis y axis) 1mm x 1mm
3840x1080 119.97 + 59.97
5120x1440 120.00* 59.98
2560x1440 120.00 59.95
2560x1080 119.88 60.00 59.94
1920x1080 119.88 60.00 59.94
1680x1050 59.95
1600x900 60.00
1440x900 59.89
1280x1024 75.02 60.02
1280x800 59.81
1280x720 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
640x480 75.00 72.81 59.94
DP-5 disconnected (normal left inverted right x axis y axis)