! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cannot change desktop background in Xfce
Status:
RESOLVED: INVALID
Product:
Xfdesktop
Component:
General

Comments

Description eric.medlin 2014-10-22 14:38:58 CEST
Created attachment 5700 
xorg.conf file.

I am running Ubuntu 14.04 LTS. apt-cache policy xfdesktop4 returns the version 4.11.6-1ubuntu1. When try to change the desktop background in the desktop setting dialog nothing happens. I verified with "xfconf-query -c xfce4-desktop -m" that nothing changes when I select a different background or settings like style and color.

Output from xfconf-query -c xfce4-desktop -lv
/backdrop/screen0/monitor0/image-path /usr/share/xfce4/backdrops/xubuntu-wallpaper.png
/backdrop/screen0/monitor0/image-show true
/backdrop/screen0/monitor0/image-style 5
/backdrop/screen0/monitor1/image-path /usr/share/xfce4/backdrops/xubuntu-wallpaper.png
/backdrop/screen0/monitor1/image-show true
/backdrop/screen0/monitor1/image-style 5
/backdrop/single-workspace-mode true
/backdrop/single-workspace-number 0
/desktop-icons/file-icons/show-filesystem false
/desktop-icons/file-icons/show-home false
/desktop-icons/file-icons/show-removable false
/desktop-icons/file-icons/show-trash false
/desktop-icons/style 2
/desktop-menu/show true
/last/window-height 679
/last/window-width 618

xfce4-desktop.xml
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-desktop" version="1.0">
  <property name="desktop-icons" type="empty">
    <property name="style" type="empty"/>
    <property name="file-icons" type="empty">
      <property name="show-home" type="bool" value="false"/>
      <property name="show-filesystem" type="bool" value="false"/>
      <property name="show-removable" type="bool" value="false"/>
      <property name="show-trash" type="bool" value="false"/>
    </property>
  </property>
  <property name="backdrop" type="empty">
    <property name="screen0" type="empty">
      <property name="monitor0" type="empty">
        <property name="image-path" type="empty"/>
        <property name="image-style" type="empty"/>
        <property name="image-show" type="empty"/>
      </property>
      <property name="monitor1" type="empty">
        <property name="image-path" type="empty"/>
        <property name="image-style" type="empty"/>
        <property name="image-show" type="empty"/>
      </property>
    </property>
    <property name="single-workspace-mode" type="bool" value="true"/>
    <property name="single-workspace-number" type="int" value="0"/>
  </property>
  <property name="last" type="empty">
    <property name="window-width" type="int" value="618"/>
    <property name="window-height" type="int" value="679"/>
  </property>
  <property name="desktop-menu" type="empty">
    <property name="show" type="bool" value="true"/>
  </property>
</channel>

It may have something to do with my multi monitor setup and using base mosaic, so I will attach my xorg.conf file also. I run 3 monitors off one NVS 450.

Notice the difference in monitors. xorg.conf lists one. xfce4-desktop.xml lists two. I actually run three in one x screen that spans across all three monitors.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xfdesktop4 4.11.6-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Oct 9 14:09:20 2014
InstallationDate: Installed on 2014-07-23 (77 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: xfdesktop4
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 Eric Koegel editbugs 2014-10-23 19:10:23 CEST
Ah, yes. This sounds a lot like: https://bugzilla.xfce.org/show_bug.cgi?id=11021
Can you make sure I'm correct in my assumptions? 
https://forum.xfce.org/viewtopic.php?pid=33586 Covers a lot of the bug details as well.
Comment 2 eric.medlin 2014-10-23 22:23:14 CEST
Sounds like it, but I don't have special characters in my monitor name.  Just look at my original post.  They are called monitor0 and monitor1.  No clue why only two and not three are listed.
Comment 3 Josh Palmer 2014-10-24 10:12:25 CEST
I would almost guarantee it is the same issue. I had the same exact behavior that you descibed. There has not been a new release of xfconf so unless canonical(ubuntu) cherry picked the commit to xfconf that fixes it, it will still be broken and my bets are that they didn't. Your only option is to recompile xfconf yourself either from git or from ubuntu's sources and apply the patch yourself from my bug eric linked before. You could possibly make a bug report with ubuntu and link them to the patch and hope they pick it and update the package.
Comment 4 eric.medlin 2014-10-27 14:15:27 CET
I have already created a bug report with Ubuntu that is linked to this one.  That is where I first created a bug report, and was then directed to make one here.  While it does sound like the same bug, I don't have any strange characters in my xfce4-desktop.xml.
Comment 5 Josh Palmer 2014-10-27 15:53:18 CET
That is the problem, there should be ;) I'm running basically the EXACT xorg.conf you are. 

can you not recompile xconf with the patch from my bug report? If you know what you are doing it should take a few minutes.


below is the topic where I worked out this issue..
https://forum.xfce.org/viewtopic.php?pid=33586
Comment 6 Josh Palmer 2014-10-27 18:18:04 CET
(In reply to Josh Palmer from comment #5)
> That is the problem, there should be ;) I'm running basically the EXACT
> xorg.conf you are. 
> 
> can you not recompile xconf with the patch from my bug report? If you know
> what you are doing it should take a few minutes.
> 
> 
> below is the topic where I worked out this issue..
> https://forum.xfce.org/viewtopic.php?pid=33586

Just to verify. backup your old xfce4-desktop.xml. replace with the following and edit "FULL PATH TO YOUR WALLPAPER" to well.. the full path to the wallpaper you want to use. <property name="image-style" type="int" value="6"/> tells it to span all monitors. Restart XFCE and you should be met with your new wallpaper, it might change immediately I can't remember. You'll notice I got the "GPU-0.DP-0" from your xorg.conf and is your left most monitor. 

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-desktop" version="1.0">
  <property name="backdrop" type="empty">
    <property name="single-workspace-mode" type="bool" value=""/>
    <property name="single-workspace-number" type="int" value="0"/>
    <property name="screen0" type="empty">
      <property name="monitorGPU-0.DP-0" type="empty">
        <property name="workspace0" type="empty">
          <property name="last-image" type="string" value="FULL PATH TO YOUR WALLPAPER"/>
          <property name="image-style" type="int" value="6"/>
        </property>
      </property>
    </property>
  </property>
  <property name="last" type="empty">
    <property name="window-width" type="int" value="605"/>
    <property name="window-height" type="int" value="501"/>
  </property>
  <property name="desktop-icons" type="empty">
    <property name="file-icons" type="empty">
      <property name="show-home" type="bool" value="false"/>
      <property name="show-filesystem" type="bool" value="false"/>
      <property name="show-trash" type="bool" value="false"/>
      <property name="show-removable" type="bool" value="false"/>
    </property>
  </property>
</channel>
Comment 7 eric.medlin 2014-11-07 19:20:44 CET
I tried your xfce4-desktop.xml and it didn't change anything.  It does sound like the same bug though.  I thought the problem was special characters in the xml file.  Not that is was not putting them in there.  But, now I see what you are saying.  If you can tell me how to apply the patch and compile it I can try it out.
Comment 8 Thaddaeus Tintenfisch editbugs 2015-04-10 11:59:10 CEST
Any news? Should we reassign this bug or mark it as dupe?
Comment 9 Skunnyk editbugs 2017-06-22 00:31:27 CEST
Closing as no anwser since 2+ years.

Bug #11245

Reported by:
eric.medlin
Reported on: 2014-10-22
Last modified on: 2017-06-22

People

Assignee:
Eric Koegel
CC List:
4 users

Version

Version:
Unspecified

Attachments

xorg.conf file. (1.91 KB, text/plain)
2014-10-22 14:38 CEST , eric.medlin
no flags

Additional information