You are not logged in.

#1 2021-12-12 08:45:02

pepper
Member
Registered: 2017-12-09
Posts: 135

Xfce desktop icons change position after reboot

Hello, sometimes when I power off my computer, after the next restart, I get icons in wrong positions (most of them are stacked vertically on the left of the screen). Sometimes I have to rearrange desktop icons in right positions.. so boring.
It seems to happen when I shutdown the computer using the "exit.." button (the button that let me choose if I want to switch user, power off, reboot .. etc) on the top right of the desktop bar. Instead if I use the "power off" button in the same location, it doesn't happen.

Is there a way to prevent this reallocation?

Last edited by pepper (2022-01-24 08:50:56)

Offline

#2 2021-12-12 13:44:34

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: Xfce desktop icons change position after reboot


Arch Linux Xfce - 64Bit Linux User #621110

Offline

#3 2021-12-12 14:12:03

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Xfce desktop icons change position after reboot

error:

$ sudo chattr +i ~/.config/xfce4/desktop/icons*
chattr: Operation not supported reading flags of /home/******/.config/xfce4/desktop/icons.screen.latest.rc

Offline

#4 2021-12-12 14:27:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,344

Re: Xfce desktop icons change position after reboot

stat /home/pornlover/.config/xfce4/desktop/icons.screen.latest.rc

It's probably a symlink and I guess that's the username you felt you had to obfuscate?

Online

#5 2021-12-12 15:33:32

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Xfce desktop icons change position after reboot

The name is just 4 normal letters, without spaces, accents or strange characters, just like "marco".

Offline

#6 2021-12-12 15:57:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,344

Re: Xfce desktop icons change position after reboot

Yeah, it doesn't matter and there's no point in obfuscating it.
Check the file type, it's most likely a symlink and symlinks cannot be chattr'd

Online

#7 2021-12-12 16:38:27

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Xfce desktop icons change position after reboot

$ file ~/.config/xfce4/desktop/icons*
~/.config/xfce4/desktop/icons.screen0-2544x1397.rc: Unicode text, UTF-8 text
~/.config/xfce4/desktop/icons.screen0-2544x1424.rc: ASCII text
~/.config/xfce4/desktop/icons.screen.latest.rc:     symbolic link to ~/.config/xfce4/desktop/icons.screen0-2544x1397.rc

Last edited by pepper (2021-12-12 16:38:44)

Offline

#8 2021-12-12 16:40:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,344

Re: Xfce desktop icons change position after reboot

quelle surprise.
The "error" is expectable, none, and irrelevant.

Online

#9 2021-12-12 19:07:43

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: Xfce desktop icons change position after reboot

pepper wrote:

error:

$ sudo chattr +i ~/.config/xfce4/desktop/icons*
chattr: Operation not supported reading flags of /home/******/.config/xfce4/desktop/icons.screen.latest.rc

Despite the information that there is an error, chattr has been entered for the icons file.

Last edited by robson75 (2021-12-12 19:08:46)


Arch Linux Xfce - 64Bit Linux User #621110

Offline

#10 2021-12-13 13:14:55

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Xfce desktop icons change position after reboot

mm ok but the icon positions still change after every reboot

Offline

#11 2021-12-13 13:23:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,344

Online

#12 2021-12-13 15:16:46

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Xfce desktop icons change position after reboot

I have

 icons.screen.latest.rc
icons.screen0-2544x1397.rc
icons.screen0-2544x1424.rc

icons.screen0-2544x1424.rc is the one to remove, and the pointed is the other one (icons.screen0-2544x1397.rc)
When I try rm icons.screen0-2544x1424.rc with or without sudo, it returns "operation not allowed" error, I tried with root user using rm -f and using Thunar with superuser privileges, same error.

(thank you for your patience and your time)

Last edited by pepper (2021-12-13 15:17:49)

Offline

#13 2021-12-13 15:43:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,344

Re: Xfce desktop icons change position after reboot

it returns "operation not allowed" error

Because you "chattr +i"'d it…

Online

#14 2021-12-13 19:15:50

robson75
Member
From: Poland
Registered: 2020-06-28
Posts: 144

Re: Xfce desktop icons change position after reboot

pepper wrote:

icons.screen0-2544x1424.rc is the one to remove, and the pointed is the other one (icons.screen0-2544x1397.rc)
When I try rm icons.screen0-2544x1424.rc with or without sudo, it returns "operation not allowed" error, I tried with root user using rm -f and using Thunar with superuser privileges, same error.

If you want to undo chattr +i you must execute it chattr -i, otherwise you will not be able to edit or delete the icons file.


Arch Linux Xfce - 64Bit Linux User #621110

Offline

#15 2022-01-24 08:54:12

pepper
Member
Registered: 2017-12-09
Posts: 135

Re: Xfce desktop icons change position after reboot

Hello, I continue to lose icons positions after each reboot. This happened for 3 days after latest updates.

ls ~/.config/xfce4/desktop
icons.screen0-2544x1397.rc  icons.screen.latest.rc

I don't have additional .rc files (I also tried to delete icons.screen0-2544x1397.rc waiting for its re-generation but this didn't stop the problem) and I'm forced to keep an icons.rc backup on desktop in order to copy/paste the position each reboot otherwise I should reorder them manually each reboot.

EDIT:
The problem seems to happen only if I decide to not show the bin in the desktop (it seems the presence of the bin can trigger a bug?)

Last edited by pepper (2022-01-24 09:58:35)

Offline

Board footer

Powered by FluxBB