Display settings resolution not saved after clicking Apply.
Changed resolution, logged out/in, resolution was back to original value.
This has always worked in the past.
XFCE Desktop Theme: Aurora Icons: Oxygen Window Decorations: default
Icon size 22
xfce4-settings-manager 4.13.6 (Xfce 4.14pre1)
xfce4-session 4.13.2 (Xfce 4.14pre1)
$ cat /etc/sysconfig/desktop
$ systemctl status display-manager.service | grep -E "PID|bin/"
Main PID: 930 (lightdm)
├─ 930 /usr/sbin/lightdm
$ grep '=' /home/bittwister/.dmrc
$ cat /etc/release
Mageia release 7 (Official) for x86_64
*** Bug 15438 has been marked as a duplicate of this bug. ***
can confirm too on OpenBSD with the same versions, i thought it was due to a xfce4-session crash upon exit..
the displays channel in xfconf has the properties correctly set in a running session.
Created attachment 8574
displays.xml with the default values
default values reseted at startup ?
note the strange " in the name property..
Created attachment 8575
displays.xml with desired values
after settings proper resolution
Like I mentioned in bug 15438 comment 1, new settings are preserved over reboot/relogin if a new profile is created and applied in Advanced tab.
Simon Steinbeiss referenced this bugreport in commit 1f94a8b0890d2c3228e5c70b24c5cc9979ebb9d5
display: Disable auto-enabling profiles by default
(In reply to Jani Välimaa from comment #5)
> Like I mentioned in bug 15438 comment 1, new settings are preserved over
> reboot/relogin if a new profile is created and applied in Advanced tab.
In my opinion, that is a workaround and needs to be updated with instructions
as to what buttons in bottom of that screen need to be enabled.
I have pushed a commit (see comment 6) that should at least resolve things for people who upgrade and don't change their settings.
So as long as you don't change the "Automatically enable profiles when new display is connected" option your settings will be retained even without creating a profile (I agree with @bittwister that that is only a workaround).
My attempts at finding out what goes wrong in the _init function have been fruitless so far, but I'll try to take another look before 4.14pre2. Until then feel free to test with the commit above and with (just to be sure)
xfconf-query -c displays -p /AutoEnableProfiles -s false
I didn't have AutoEnableProfiles setting at the very beginning. It appeared only after I enabled and disabled "Automatically enable profiles when new display is connected" from Advanced tab.
Settings seems to be working OK after the patch from comment 6 or without the patch after setting AutoEnableProfiles to false.
Just for the record because Simon asked to add a comment here:
I'm having the same issue with 4.14 pre3 (4.13.8) after updating from pre2 (4.13.7) where AutoEnableProfiles was working for me
I did some more trying out things, it seems for me Display settings always revert to the Defaults whenever I disconnect and reconnect a Monitor and applying a saved profile does not work manually either.
I copied the displays.xml at every step:
- Connecting a Monitor, applying an existing profile failed (the Display setup remains as it was) https://paste.opensuse.org/view//3bc3859b
- Manually setting up the Displays https://paste.opensuse.org/view//eb24f18c
- Updating the existing profile https://paste.opensuse.org/view//41287233
@Marcel: The pre3 regression should be resolved now in git master (also reported as https://bugzilla.xfce.org/show_bug.cgi?id=15769)
Simon Steinbeiss referenced this bugreport in commit 09bdf5d1118b9ba8ce48fb8cf4528f024b218be2
display: Fix settings retention (Bug #15437)
I have finally understood the problem (it's documented in the extended commit message) - just in time for 4.14.
I can shed extra light on this. I am a Manjaro Arch Linux user. After the latest updates this problem started happening. It was discussed in the forums and some of the other users have realised that if the "Configure new displays when connected" setting is enabled, any saved display profiles are ignored. I actually think they are getting overwritten as the display profile is still exists but in my case the display has been set to the maximum resolution possible which was not what the original saved profile was set to.
If the "Configure new displays when connected" is disabled, and a new profile is set and the machine rebooted the saved display profile is picked up and applied. If I re-enable the setting again, the saved profile is overwritten and we are back to square one. HTH.
@co.category: You're already on today's version from git?
If not, this issue is meanwhile fixed, so no need for more testing and feedback on older versions. Thanks!
I'm on version 4.14pre2.
As I said, the issue was fixed *today* so even pre3 would be too old/irrelevant.
You'd have to build and test from git master.
It's ok, I can wait for the new fix to be picked up by the Manjaro team. Thanks!