Wednesday, January 20, 2016

Order Out Of Chaos - Finding My Desktop in Elementary OS / Freya

I'm becoming a fan of the Elementary design aesthetic. At first I fought it. I replaced Plank with Docky, only to realize that this added no functionality, just distractions. So I've gone back to the minimalistic, focused desktop that Freya delivers.

In the end, I have only 1 thing I need to change - I need to be able to put files on my desktop. Some 3rd party software will bork without this - try to 'Add to Desktop' in Chrome or create a desktop shortcut in any IntelliJ IDE.

So, to start with, I just created a ~/Desktop folder. This solves the issues with applications that expect a Desktop folder. But it's still not convenient. I found this excellent article https://elementaryforums.com/index.php?threads/enable-desktop-icons-and-right-click-in-elementaryos-freya.198/ which gives me back my standard desktop.

But now I have a new problem. When I click on my Home icon, is opens in nautilis, not the native pantheon-files. I end up using 2 different file managers at the same time, and this is the road back to the typical Linux chaos that I'm trying to avoid.

So, first, lets go back into dconf-editor and roll back one change. Under org->gnome->nautilis->desktop and set the home-icon-visible, network-icon-visible, and trash-icon-visible properties off.

Next, open scratch, and enter:


#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Bruce
Exec=pantheon-files /home/bruce
Icon=/usr/share/icons/elementary/places/64/user-home.svg

Instead of 'bruce', use your own account name. Save it as ~/Desktop/Home.desktop
Make it executable:

$ chmod +x ~/Desktop/Home.desktop

Now we have our own custom Home icon. When we click on it, it will open our home folder in the native file manager. We have restored our working desktop and minimized the chaos.

5 comments:

  1. This is a amazing website.data recovery greenville sc give me great help when i want to find my lost data.
    They have a professional team and technical support.They can solve your any software issues.You must have a try if you have a problem with your mac.

    ReplyDelete
  2. I learned some knowledgeable things. Thanks for sharing.

    Hard disk data recovery in chennai

    ReplyDelete
  3. Thank you for sharing this helpful post! Do you need fake ray ban sunglasses? Go to have a look and you may find a desirable one.

    ReplyDelete