I work around this problem (crudely) with a script and an autostart
entry:

In ~/.config/autostart, place a file "fixicons.desktop" containing
(something like):

[Desktop Entry]
Type=Application
Name=FixIcons
Comment=Workaround bug 1335492
Exec=~/bin/fixicons
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=false


And create the file "fixicons" in ~/bin, containing:

#!/bin/bash
# YMMV!
mkdir ~/iconTemp
cp ~/.config/xfce4/desktop/*.rc ~/iconTemp
sleep 20
cp ~/iconTemp/*.rc ~/.config/xfce4/desktop
# xfdesktop --restart - This doesn't work.  Just press F5 with the desktop in 
focus.


Press F5 with the desktop in focus, and your icons should return to their 
regularly scheduled places.  This works on startup / login, but doesn't work 
for situations where a full-screen application crashes and causes a logout.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1335492

Title:
  [4.11.8] Desktop icons rearrange on each login

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfdesktop/+bug/1335492/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to