Peppermint OS Community Forum

Support => Software & Applications => Topic started by: Fritz74 on September 10, 2019, 06:17:48 am

Title: Nemo and desktop icons
Post by: Fritz74 on September 10, 2019, 06:17:48 am
This is for something I want to do in my Debian installation - but maybe someone can give me a hint how you did it in Peppermint.

I installed Nemo and made it the preferred application to handle files. I also want it to handle the icons on the Desktop.

Thanks in advance!
Title: Re: Nemo and desktop icons
Post by: zebedeeboss on September 10, 2019, 06:25:52 am
Hi Fritz74,

Nemo is the default file manager in Peppermint 10 already, so not sure why you had to install it ?

Regards Zeb...
Title: Re: Nemo and desktop icons
Post by: murraymint on September 10, 2019, 06:27:44 am
In Peppermint it's in "default applications for LXSession" > Core applications > Desktop manager >
Code: [Select]
nemo -n
Title: Re: Nemo and desktop icons
Post by: PCNetSpec on September 10, 2019, 09:40:44 am
Depends on the version of nemo...

Older versions required:
Code: [Select]
nemo -n
to start the desktop without also opening a nemo file manager window

newer versions of nemo have separated the process for the 'desktop' from the 'file manager window' process, so require:
Code: [Select]
nemo-desktop
to start the desktop.
Title: Re: Nemo and desktop icons
Post by: Fritz74 on September 10, 2019, 11:01:50 am
Thank you for your answers!

Yes, nemo-desktop makes Nemo handle the icons on the desktop, unless it detects that something else is already handling the desktop.
Title: Re: Nemo and desktop icons
Post by: PCNetSpec on September 10, 2019, 12:00:02 pm
For my part, you're welcome :)
Title: Re: Nemo and desktop icons
Post by: Fritz74 on September 10, 2019, 12:20:38 pm
If I don't solve this, I will have to continue using Peppermint on all of my computers.  ;)
Title: Re: Nemo and desktop icons
Post by: PCNetSpec on September 10, 2019, 12:30:43 pm
I thought you'd already solved it ?

So what's the problem now ? .. figuring out what's controlling the desktop now ? .. figuring out how to autostart nemo-desktop ?

what DE are you currently running in Debian ?
Title: Re: Nemo and desktop icons
Post by: Fritz74 on September 10, 2019, 12:56:35 pm
@PCNetSpec: This is just something that would be nice to have, as I enjoy being able to change the size of the desktop icons individually in Peppermint.

My Debian Buster installation is running Xfce. The command "nemo-desktop" does not run, as long as something else is handling the desktop. There is a setting "ignored desktop handlers" for nemo in dconf. Maybe the right value in this setting would convince Nemo to take care of the desktop icons.
If I stop the process xfdesktop, Nemo will take care of the icons, but unfortunately, the background wallpaper will be gone.
Title: Re: Nemo and desktop icons
Post by: PCNetSpec on September 10, 2019, 02:57:51 pm
Okay, you need to create a .desktop file to autostart nemo-desktop at login, so run:
Code: [Select]
sudo mousepad /etc/xdg/autostart/nemo-autostart.desktop
when a blank file opens, make it read
Code: [Select]
[Desktop Entry]
Type=Application
Name=Nemo-Autostart
Comment=Autostart the Nemo Desktop at login
Exec=nemo-desktop
AutostartCondition=GSettings org.nemo.desktop show-desktop-icons
X-GNOME-AutoRestart=true
X-GNOME-Autostart-Delay=2
NoDisplay=false
SAVE the file and exit the text editor.

Now you need to set xfdesktop to 'never' in xfce4-session-settings .. so back in the terminal run:
Code: [Select]
xfce4-session-settings
select the 'Session' tab

Look for the line that currently lists

xfdesktop     Immediately

For that line (only), left-click the word "Immediately" and change it to "Never" .. then click the "Save Session" button.

Now log off and on again to test (or reboot).



Then last but not least, format your hard drive and install Peppermint instead of Debian .. we done much more work integrating Nemo than just autostarting it ;)
Title: Re: Nemo and desktop icons
Post by: Fritz74 on September 10, 2019, 03:20:27 pm
Thank you! Let me assure you that Peppermint will always have a place in my heart - or at least on one of my PCs. :)