Comment 157 for bug 1335492

Revision history for this message
In , Bakhelit (bakhelit) wrote :

I just use the following workaround:

1. Move the file with desired desktop icons positions to "/etc/xdg/xfce4/desktop/icons.screen0.rc".

2. Create a new desktop file in "/etc/xdg/autostart" that deletes "/home/USERNAME/.config/xfce4/desktop" and reloads the xfdesktop - it has the following contents (use your user name instead of USERNAME and adapt the sleep interval if needed):

[Desktop Entry]
Exec=bash -c 'sleep 3 && rm -rf /home/USERNAME/.config/xfce4/desktop && xfdesktop --reload'
Name=Xfdesktop Reload
Terminal=false
Type=Application
StartupNotify=false

This restores my desired desktop icons positions on every login to XFCE. Note that when you want to rearrange your icons you need to update the "/etc/xdg/xfce4/desktop/icons.screen0.rc" file manually.