linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.22k stars 300 forks source link

support removal of desktop shortcut from sidebar #2407

Open brainchild0 opened 4 years ago

brainchild0 commented 4 years ago

Versions

Issue

No support is available for removing the home or desktop directories from the sidebar locations. Minimally, it would be helpful to support removing the desktop shortcut, since many users keep no content in this location, or otherwise have no need for convenient access.

mtwebster commented 4 years ago

try this:

gsettings set org.nemo.preferences desktop-is-home-dir true
brainchild0 commented 4 years ago

@mtwebster The configuration has the effect requested, but also the unwanted effect of showing the contents of the home directory on the actual desktop of the workspace.

mtwebster commented 4 years ago

You can turn off the desktop icons - go to Desktop settings, set the desktop layout to 'no icons'

brainchild0 commented 4 years ago

@mtwebster Yes, this combination is helpful. I would consider it a workaround. Requested is a setting or command that a user may find easily in the Nemo interface. Giving the desktop folder the same handling as the other folders in the sidebar, with a remove option in the popup menu, seems that it would be a clear and compelling resolution.

andrewdbate commented 2 years ago

I was just about to open a feature request to ask for the same but then I found this issue.

In my case I had already turned off icons on the desktop with:

$ gsettings set org.nemo.desktop desktop-layout false::false

I wanted to remove the Desktop folder from the places sidebar because that folder is unused in this setup (because I don't keep anything on the desktop).

The workaround in this case (as commented above already) is to additionally set:

$ gsettings set org.nemo.preferences desktop-is-home-dir true

This sets the users home directory as the desktop (which was already set not to display anyway).

Screenshot before setting desktop-is-home-dir true: Before

Screenshot after setting desktop-is-home-dir true: After

However I agree with @brainchild0 that this is a bit of a hack / workaround. This workaround happens to fit my use case, but ideally you should be able to remove the Desktop folder from the places sidebar with a single gsettings key.

Note also that you can currently remove any other item from the places sidebar by editing the list in Bookmarks > Edit Bookmarks.... The only item you can't currently remove is the Desktop item.

u2n commented 8 months ago

3.7 years after this request was filed, nemo has progressed from 4.4.2 to 6.0.2, many improvements have been made (thank you) -- but not this one!

Surprising to find this since giving users the ability to customize the UI as they like is a hallmark of open source (as opposed to the iron-fisted MS/Apple approach). Commercial entities are expected to dictate how their apps are used. That's them, not us.

Besides the Home and Desktop shortcuts at top, Recent, File System and Trash at bottom are also fixed. Hope this initiative gets some attention soon.

Untitled