Integrate ownCloud in Ubuntu with Symbolic Links

| ubuntu | web | software |

Ever since I switched to ownCloud last year I have pretty much stopped using my local file system for any personal documents or media. This is especially handy since I typically used several different computers in a given day. The only thing that is a bit frustrating with this setup is all the wasted links that exist in Nautilus by default. This includes “Documents, Music, Downloads, Videos, etc..”. Although you can simply remove these and use the bookmarks feature of Nautilus to make new folders, there is a better way! Enter symbolic links. Symbolic links are one of the most useful and powerful parts of UNIX based systems. Using symbolic links we can simply redirect the Documents, Music, Pictures, etc folders to our ownCloud folder. This way Nautilus will show you your ownCloud files when you click on these existing links. This essentially integrates ownCloud with your native file system making it pretty transparent and seamless. This can easily be accomplished in two steps.

  1. Remove the existing folder (this is required to get the symbolic link working.) If you have any data in the existing folders currently be sure to back it up and/or move it because the next step ** will delete these files! **. For example, to reroute our Music folder:
    rm -rf /home/$USER/Music
    
  2. Create the Symbolic Link
    ln -s /home/$USER/ownCloud/Music /home/$USER/Music
    
Now you have created a symbolic link, and assuming you have some content in your Music folder on ownCloud you will now see this content when you click on the Music link in Nautilus. In addition, if you open up a terminal and run ls ~/ you will see that the Music folder is now a lighter shade of blue. You can repeat this step for any additional folders. This will make your life easier and keep Nautilus nice and clean.

Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

[RODEN] Enrique Allen

Roden Readers — The first memory I have of Enrique Allen is from the campus of Stanford. He had just graduated from the d.school and was teaching part-time. We were about to start working together. He was all bounding lightness. That’s the first image: Jum…

via Craig Mod — Writer + Photographer November 21, 2024

17/11/2024

# Back in May I wrote about being inspired to write a track based on a YouTube comment. I recorded a test not long after and built on that into June. Then the breakdown struck and I had a massive crisis of confidence alongside the depression and anxiety. I …

via Colin Walker - Daily Feed November 21, 2024

Cold reading an ADHD affliction

I'm sure there are truly pathological cases of ADHD out there, and maybe taking amphetamines really is a magic pill for some folks. But there clearly is also an entire cottage industry cropping up around convincing perfectly normal people that they …

via David Heinemeier Hansson November 20, 2024

Generated by openring