Xfce Another post about a broken XFCE4, perhaps?

And another thing… for me this isn’t a particularly critical issue. I just need a plain desktop with a minimalist background. As it turns out, I can achieve that without any proper settings — simply by replacing the file /usr/local/share/backgrounds/xfce/xfce-x.svg with my own. That’s the one that gets displayed in this buggy situation.
 
Maybe problem is in incorrect properties "screen0" and "monitorVGA-0" in /home/majestio/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml or their absence?

I can suggest to generate default Xorg config "Xorg -configure" and look at monitor identificator (I'm not sure if identificator in xorg.conf releated with identificator in xfce config file)
 
As it turns out, I can achieve that without any proper settings — simply by replacing the file /usr/local/share/backgrounds/xfce/xfce-x.svg with my own.
The downside is, that replaced image will be overwritten with the next package upgrade.

Another option is to set the desktop background from the users xfce configuration file. The image files location can be in the user home dir or in an alternate directory, accessible for all system users, e.g. /home/Backgrounds/xfce_custom_background.jpg:

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
XML:
<channel name="xfce4-desktop" version="1.0">
    ...

         <property name="last-image" type="string" value="/home/<user>/Pictures/xfce_custom_background.jpg"/>
    ...
 
The downside is, that replaced image will be overwritten with the next package upgrade.

Another option is to set the desktop background from the users xfce configuration file. The image files location can be in the user home dir or in an alternate directory, accessible for all system users, e.g. /home/Backgrounds/xfce_custom_background.jpg:

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
XML:
<channel name="xfce4-desktop" version="1.0">
    ...

         <property name="last-image" type="string" value="/home/<user>/Pictures/xfce_custom_background.jpg"/>
    ...
Another problem is that this setting is ignored. I tried manually editing this file - it doesn't work.
 
Another problem is that this setting is ignored. I tried manually editing this file - it doesn't work.
Apparently, more settings than just that one line are required:

This works fine, but I can't tell what is necessary and what isn't to display the custom image. If you want to try, some properties might not match with your systems environment, like "monitorVBA-0" for example, xrandr should give the right monitor name:
XML:
<?xml version="1.1" encoding="UTF-8"?>

<channel name="xfce4-desktop" version="1.0">
  <property name="last-settings-migration-version" type="uint" value="1"/>
  <property name="last-image" type="string" value="/home/Backgrounds/xfce_custom_backgr.jpg"/>
  <property name="backdrop" type="empty">
    <property name="screen0" type="empty">
      <property name="monitorVGA-0" type="empty">
        <property name="workspace0" type="empty">
          <property name="last-image" type="string" value="/home/Backgrounds/xfce_custom_backgr.jpg"/>
        </property>
      </property>
    </property>
  </property>
  <property name="last" type="empty">
    <property name="window-width" type="int" value="672"/>
    <property name="window-height" type="int" value="547"/>
  </property>
</channel>
 
I've tried everything: reinstalled FreeBSD selecting “Packages (Tech Preview)” instead of “Distribution Sets”, tried the VESA drivers as well — nothing helped. In the end, I’m pretty certain this is a peculiarity of how XFCE4 behaves specifically under VMware. We’ll just have to wait and hope for a newer version, fingers crossed that the XFCE4 developers and the FreeBSD maintainers eventually track down the cause of the bug and agree on a fix. Yes, I’m now 99% sure the problem lies with VMware. Anyway, I’m putting this on hold for the moment. I’ll wait for the next XFCE4 release.
Sorry to hear you couldn't find a way to make it work. It looks indeed VMWare is the root cause. Maybe running XFCE from ports with specific setup might do it, but it'll be long and resource angry to do this.
Is it possible to open a bug on XFCE here : https://gitlab.xfce.org/explore/groups?sort=name_desc ?
If the problem is known, someone might work on it :)
 
Back
Top