Choose style:

Author Topic: Nemo and desktop icons  (Read 138 times)

0 Members and 1 Guest are viewing this topic.

Offline Fritz74

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 10
  • m, 45, Austria
    • View Profile
  • Peppermint version(s): 10
Nemo and desktop icons
« 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!

Online zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3036
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Nemo and desktop icons
« Reply #1 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...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 1948
  • Karma: 336
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Nemo and desktop icons
« Reply #2 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

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25497
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Nemo and desktop icons
« Reply #3 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.
« Last Edit: September 10, 2019, 09:45:11 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fritz74

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 10
  • m, 45, Austria
    • View Profile
  • Peppermint version(s): 10
Re: Nemo and desktop icons
« Reply #4 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.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25497
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Nemo and desktop icons
« Reply #5 on: September 10, 2019, 12:00:02 pm »
For my part, you're welcome :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fritz74

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 10
  • m, 45, Austria
    • View Profile
  • Peppermint version(s): 10
Re: Nemo and desktop icons
« Reply #6 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.  ;)

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25497
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Nemo and desktop icons
« Reply #7 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 ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fritz74

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 10
  • m, 45, Austria
    • View Profile
  • Peppermint version(s): 10
Re: Nemo and desktop icons
« Reply #8 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.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25497
  • Karma: 2807
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Nemo and desktop icons
« Reply #9 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 ;)
« Last Edit: September 10, 2019, 03:00:59 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Fritz74

  • Jr. Member
  • **
  • Posts: 98
  • Karma: 10
  • m, 45, Austria
    • View Profile
  • Peppermint version(s): 10
Re: Nemo and desktop icons
« Reply #10 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. :)