Page 1 of 1

Rubbish Bin keeps moving

Posted: Thu May 09, 2019 5:09 am
by Infidelus
Hi,

Since upgrading to LM 19.1 my rubbish bin keeps moving at bootup. It's usually the 2nd icon on my desktop under 'Home', but when I log in now it regularly moves to the bottom of the column for no reason I can fathom.
Screenshot from 2019-05-09 10-03-10.png
Moving Rubbish Bin
It started happening after the upgrade from 19. I've also tried a clean install and thought briefly that the problem had gone away, but it's doing it pretty much every day now.

I also notice it ends up sitting underneath other icons sometimes, but that doesn't seem very consistent. I did start searching the forums for an answer this morning, but started getting a http 500 error so decided to post.

System:
Host: linux-gaming Kernel: 4.18.0-18-generic x86_64 bits: 64 compiler: gcc
v: 7.3.0 Desktop: Cinnamon 4.0.10 Distro: Linux Mint 19.1 Tessa
base: Ubuntu 18.04 bionic

Re: Rubbish Bin keeps moving

Posted: Fri May 17, 2019 2:00 pm
by Infidelus
Further to my original post, below is a screenshot showing what happens if I don't move the Rubbish Bin back into place every day.
Screenshot from 2019-05-17 08-09-16.png
As you can see, the Rubbish Bin has now hidden itself under another file, which I'm sure you'll agree should not be happening.

Does anyone have any ideas how to fix this issue?

Re: Rubbish Bin keeps moving

Posted: Sat May 18, 2019 12:48 am
by smurphos
Have you got auto-arrange enabled? If so disable it (right click on desktop > customise > uncheck auto-arrange)

Also just in case there is a problem writing the desktop metadata due to ownership issues in your home folder.

Code: Select all

sudo chown -Rc $USER:$USER $HOME
If you are still having issues try

Code: Select all

rm ~/.config/nemo/desktop-metadata
Logout and backin again.

You'll need to redo disabling of auto-arrange again.

Re: Rubbish Bin keeps moving

Posted: Sat May 18, 2019 7:12 am
by Infidelus
Thanks for the reply.

Auto-arrange is disabled.

Chown reset ownership on a couple of files:

Code: Select all

infi@linux-gaming:~$ sudo chown -Rc $USER:$USER $HOME
[sudo] password for infi:          
changed ownership of '/home/infi/.cache/dconf/user' from root:root to infi:infi
changed ownership of '/home/infi/.cache/dconf' from root:root to infi:infi
changed ownership of '/home/infi/.dbus/session-bus/82929df7ee394b73b81252fe3b4e5020-0' from root:root to infi:infi
changed ownership of '/home/infi/.dbus/session-bus' from root:root to infi:infi
changed ownership of '/home/infi/.dbus' from root:root to infi:infi
infi@linux-gaming:~$ 
After a reboot the Rubbish Bin had moved again.

I then deleted the desktop-metadata file and logged out/in. I then set my desktop back up the way I wanted and rebooted again, but it still hasn't fixed it. The Rubbish Bin moved right to the bottom again.

Re: Rubbish Bin keeps moving

Posted: Sun May 19, 2019 1:37 am
by smurphos
OK, no real clue as to what is causing the issue but I'm intrigued.

It would be interesting to know if the content of ~/.config/nemo/desktop-metadata is actually changing between icons being set up as you like and after a reboot when it goes wrong. You could check this by making a copy of the file just prior to rebooting and comparing the contents after. Please share....

I'm also wondering if there is anything 'weird' about any of your other desktop contents that might be contributing to the issue.

This command will run through all of the other items on the desktop and output their file permissions and metadata (including positional data). Please report the output and we'll see if we can spot anything unusual. Note the output will include your 'real name' associated with your user account. You may want to anonymise those lines before posting.

Code: Select all

for i in ~/Desktop/*; do ls -l "${i}"; gio info "${i}"; echo " "; done

Re: Rubbish Bin keeps moving

Posted: Sun May 19, 2019 5:41 am
by Infidelus
I did actually look at the desktop-metadata file and tried to edit that to see if the icon would stay put, but sadly it didn't make a difference. Here's the before and after:

Code: Select all

Before

[desktop-monitor-0]
nemo-icon-view-keep-aligned=true
nemo-icon-view-auto-layout=false
nemo-icon-view-layout-timestamp=1558254690

[trash]
nemo-icon-position-timestamp=1558254690
nemo-icon-position=86,105
monitor=0
icon-scale=1

[home]
nemo-icon-position-timestamp=1558254690
nemo-icon-position=86,5
monitor=0
icon-scale=1

After

[desktop-monitor-0]
nemo-icon-view-keep-aligned=true
nemo-icon-view-auto-layout=false
nemo-icon-view-layout-timestamp=1558257393

[trash]
nemo-icon-position-timestamp=1558257393
nemo-icon-position=86,1205
monitor=0
icon-scale=1

[home]
nemo-icon-position-timestamp=1558257393
nemo-icon-position=86,5
monitor=0
icon-scale=1
So it is actually changing the location in there.

I've also attached the output of the other command.
mint_desktop.txt.zip
Output from for command
(6.26 KiB) Downloaded 4 times

Re: Rubbish Bin keeps moving

Posted: Sun May 19, 2019 5:49 am
by smurphos
Hunch - try right clicking on desktop > customise and tweak the desktop grid adjustment sliders (both vertical and horizontal). Then rearrange your icons and see if that makes any difference to positions being maintained.

Re: Rubbish Bin keeps moving

Posted: Sun May 19, 2019 7:27 am
by Infidelus
A worthwhile try. Unfortunately made little difference in respect of the Rubbish Bin, but I also now get one of the jpegs that was top row towards the right of the screen sitting on top of the Home folder.

Code: Select all

Before

[desktop-monitor-0]
nemo-icon-view-keep-aligned=true
nemo-icon-view-auto-layout=false
nemo-icon-view-layout-timestamp=1558264664
desktop-grid-adjust=116;116;

[trash]
nemo-icon-position-timestamp=1558264664
nemo-icon-position=56,137
monitor=0
icon-scale=1

[home]
nemo-icon-position-timestamp=1558264664
nemo-icon-position=56,22
monitor=0
icon-scale=1

After

[desktop-monitor-0]
nemo-icon-view-keep-aligned=true
nemo-icon-view-auto-layout=false
nemo-icon-view-layout-timestamp=1558265030
desktop-grid-adjust=116;116;

[trash]
nemo-icon-position-timestamp=1558265030
nemo-icon-position=56,1057
monitor=0
icon-scale=1

[home]
nemo-icon-position-timestamp=1558265030
nemo-icon-position=56,22
monitor=0
icon-scale=1

Re: Rubbish Bin keeps moving

Posted: Sun May 19, 2019 9:19 am
by smurphos
OK, I'm officially out of ideas.....

Deleted the desktop metadata file again will set everything back to default if the last tweak has made things worse.

I've had a quick hunt through nemos Github issues - there don't seem to be any current reports of this issue (it was problematic back in Nemo 3.8.x but did appear to get fixed for those reporting it back then).

You may wish to raise a new issue - https://github.com/linuxmint/nemo/issues

Re: Rubbish Bin keeps moving

Posted: Sun May 19, 2019 2:29 pm
by Infidelus
Thanks for the effort smurphos. I've raised it as a new issue