We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

[how-to] symlink 'downloads' folder in nemo to sdcard

asked 2018-12-14 13:57:23 +0300

Spam Hunter gravatar image

updated 2018-12-14 14:02:22 +0300

Here is how I did it, there are other ways but this was my choice;

NOTE: this does not work the same way for android_storage; it errors with function not implemented

  1. Using a file browser, remove/delete the 'Downloads' folder in /home/nemo

  2. Using a file browser, create a new folder in your sdcard and call it Downloads

  3. Using Terminal, create a symlink in /home/nemo, the command is;

ln -s /media/sdcard/32GB/Downloads**

** The path I've given is for MY sdcard, yours will be different unless you have also named your SDCARD as '32GB'....nonetheless, your symlink will start with /media/sdcard/ fill in the rest of the details.

Now download something from the net and check the contents of your newly created Downloads folder in your sdcard.

Screenshot shows the new symlink created in /home/nemo

image description

Screenshot shows a completed download on my sdcards 'Downloads' folder, that's it.

image description

edit retag flag offensive close delete

Comments

great guide, thank you :) I will use it for sailfish, but solution for alien dalvik would be welcome :)

Malakay ( 2018-12-14 15:09:30 +0300 )edit

You do the same thing, only do it for android storage instead of downloads.

depscribe ( 2018-12-14 17:04:16 +0300 )edit

@depscribe - have you done it then?, every time I tried I got denied, hence my response about it not working for android_storage.

EDIT: no matter how I approach this, I cannot symlink the sdcard to the Download folder in android_storage. If someone knows how to do it, please do share your findings. I get the same error no matter what, the error is function not implemented

This particular question has been asked some years ago by @Schturman; see this question; https://together.jolla.com/question/45733/gconfdconf-and-symlink-of-nemo-dir-to-android-dir/

Also see here as well; https://together.jolla.com/question/50608/request-implement-of-creating-symlink-to-android_storage-folder/and here;

https://together.jolla.com/question/91851/android-app-cannot-read-symlink-to-folder-on-physical-sdcard/

Spam Hunter ( 2018-12-14 17:28:05 +0300 )edit

edz : i did this before i was happily able to nuke aliendalvik and its demonspawn relatives. sshed in, used midnight commander, a/k/a mc, to move android-storage to the sd card, then linked it back to ~/nemo. worked fine, no errors and no problems.

depscribe ( 2018-12-15 02:29:54 +0300 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2018-12-14 18:35:38 +0300

Malakay gravatar image

does it work for whole android storage? i mean if I delete android storage, create new android storage on physical sd card and then create symlink in /home/nemo ?

edit flag offensive delete publish link more

Comments

I have no idea, why don't you try and see what happens?, also, if you will, please try to avoid using answer boxes for comments ;)

Spam Hunter ( 2018-12-14 19:37:06 +0300 )edit
0

answered 2018-12-14 20:39:37 +0300

olf gravatar image

/media/sdcard is supposed to be a symlink to /run/media/nemo since SailfishOS 2.2.0!
For details, see SDcard symlink is incorrect.

A more detailed how-to, including how to move android_storage to a SD-card is provided in [How-to] Externalising android_storage and other directories / files to SD-card.

edit flag offensive delete publish link more

Comments

nice one, somehow, your post never came up when searching for potential duplicates or further information. That is a long, long post and so with that in mind, i will leave it to others to workout/discover from your post.

Spam Hunter ( 2018-12-14 20:58:43 +0300 )edit
Login/Signup to Answer

Question tools

Follow
5 followers

Stats

Asked: 2018-12-14 13:57:23 +0300

Seen: 838 times

Last updated: Dec 14 '18