Red Hat Bugzilla – Bug 1260403
sddm update overwrites /usr/share/sddm/scripts/Xsetup
Last modified: 2015-09-08 10:10:31 EDT
Description of problem:
In multimonitor setup, it's essential to be able to define
display layout. For sddm this would usually be done in the
However, installing a new version of the sddm package invariably
overwrites the file, so there's no reliable way to define the
correct local display setup for sddm.
Version-Release number of selected component (if applicable):
Update sddm package, e.g, by updating from F21 to F22.
/usr/share/sddm/scripts/Xsetup is simply overwritten with
sddm's own dummy script.
Local versions of /usr/share/sddm/scripts/Xsetup must not be
overwritten. An Xsetup.rpmnew file should be created instead.
Files in /usr cannot be config files. The file needs to go to somewhere under /etc if it is to be configurable.
I found the DisplayCommand setting in /etc/sddm.conf, so providing
another Xsetup file and pointing to that in /etc/sddm.conf is apparently
the way to go...
...if, hopefully, the /etc/sddm.conf file is not overwritten or moved
to /etc/sddm.conf.rpmsave by an update.
Are you correct on both counts, providing a custom Xsetup file is the way to go, and sddm.conf modifications should be preserved via .spec tags (the 'noreplace' is the important part):