Page 1 of 1

[SOLVED] Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 1st, '16, 16:48
by morgano
Since a month or so when i log into Plasma, Nemo (the cinnamon file manager) starts, showing my home folder.
I just close it, no problem really :)

But I curiously wonder what starts it;
§ The Plasma/KDE systemsettings panel start and shutdown do not list any file manager to start at login
§ ~/.config/autostart do not contain any link to any file manager
§ when i log into cinnamon, it do not start
Using system activity i see Nemo have parent kdeinit5. But why did kdeinit5 launch Nemo?

There are also some file associations that got wrong a while ago, such as Firefox launching Nemo to view the download folder, and Acrobat reader for pdf, while it before correctly was Okular and Dolphin. I wonder if my install of task-cinnamon screwed up that? And then maybe also autostart?

Re: Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 2nd, '16, 20:19
by ozky
Sounds like inode/mimetype directory problem,have you any usb devices plugged or external drives what is set to auto mount ? it will open with xdg-open program handle inode/directory mimetype.
Paste this inside code tags as root and normal user.
Code: Select all
gvfs-mime --query inode/directory

Re: Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 3rd, '16, 10:11
by morgano
Thanks
No USB disk of any kind is plugged in.
Nemo opens my ~/
Code: Select all
LC_ALL=C gvfs-mime --query inode/directory
Default application for 'inode/directory': pcmanfm.desktop
Registered applications:
        pcmanfm.desktop
        org.kde.filelight.desktop
        pcmanfm-qt.desktop
        org.kde.gwenview.desktop
        nemo.desktop
        kde4-kfmclient_dir.desktop
        caja-folder-handler.desktop
        Thunar-folder-handler.desktop
        org.kde.dolphin.desktop
Recommended applications:
        pcmanfm.desktop
        org.kde.filelight.desktop
        pcmanfm-qt.desktop
        org.kde.gwenview.desktop
        nemo.desktop
        kde4-kfmclient_dir.desktop                                                                           
        caja-folder-handler.desktop                                                                           
        Thunar-folder-handler.desktop                                                                         
        org.kde.dolphin.desktop

How do i change that to Plasma defaults?

EDIT: I blame session restore bugs for the autostarting of Nemo.
It have ceased after i changed KDE Plasma system settings back and forth:
It was set to restore previous ( and Nemo got launced even thogh not running when logging out)
I set it to start with empty session, logged out, in (no Nemo launched)
Set it back to restore previous, logged out, in...
And Nemo is not launched.
Actually not even Dolphin is restored if i had it open... there are known various bugs with session restore...

Re: Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 3rd, '16, 22:02
by ozky
This how to change it locally to user account,if you wan't it system one you need to change it to /usr/share/applications/mimeapps.list .
Code: Select all
vim ~/.local/share/applications/mimeapps.list
inode/directory=org.kde.dolphin.desktop

Re: Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 3rd, '16, 22:05
by ozky
morgano wrote:EDIT: I blame session restore bugs for the autostarting of Nemo.
It have ceased after i changed KDE Plasma system settings back and forth:
It was set to restore previous ( and Nemo got launced even thogh not running when logging out)
I set it to start with empty session, logged out, in (no Nemo launched)
Set it back to restore previous, logged out, in...
And Nemo is not launched.
Actually not even Dolphin is restored if i had it open... there are known various bugs with session restore...

Yes that's normal you need to change it manually to start empty session.

Re: Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 4th, '16, 10:25
by morgano
Thanks ozky, Ill try that file
ozky wrote:Yes that's normal you need to change it manually to start empty session.

The bug is that it started Nemo even when it was not active on logout, when mode was to restore session.
The workaround learned is to *temporarily* set it to start empty, log out, in, and again set it to restore, and it restores (some) apps and not falsely Nemo.

Re: [SOLVED] Mystery: Nemo autolaunch at Plasma login

PostPosted: Sep 4th, '16, 11:09
by ozky
Yeah sounds better to mee too but good it's now fixed. :)