Installed xubuntu 18.04 updated and the icons moved here and then.
The rc files in $HOME/.config/xfce4/desktop/ directory are created only when 
the icons move.

I thought that having all those rc files must have borked something, so I made 
a script that launches on startup that keeps only the latest icons*rc and 
removes all the other rc files. https://pastebin.com/0HFjZrGi
The script requires inotify-tools package installed and notify-send (to keep 
track on when the icon positions are saved).

The icons do seem to stay on login/logout, except the Trash that want's
to stay in the top-left corner. Sometimes even File System and Home
icons move too. They are managed by xfconf, maybe that's why their
position is being reset. So I turned them off. If I need them, I can
make a desktop file that launches thunar with those paths can replace
them.

Now the icons do move if the panel is resized and then logout is made after 
that.
As soon as the panel is resized, it sets the new panel strut. That triggers a 
change of _NET_WORKAREA of the root window property, but if the icons are not 
moved a new rc file will not be created. That is when the icons reset their 
position on login.

-- 
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