Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Linking

  1. #11
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Linking

    I have never changed my .config/user-dirs.dirs.

    Very first time I moved all data from my folders in /home to my data partition and then deleted old folder in /home. Tested first with one smaller folder.
    I had backup just in case.
    And then mounted data partition in /mnt/data (could be anywhere) and linked from data partition folder back into /home. Once that worked I did the rest.
    But now scripted it as I do it with every new install and know data partitions in /home are empty.

    More details.
    http://ubuntuforums.org/showthread.php?t=2315714
    Splitting home directory discussion and details:
    http://ubuntuforums.org/showthread.php?t=1811198
    http://ubuntuforums.org/showthread.php?t=1901437
    http://ubuntuforums.org/showthread.p...hlight=%2Fdata
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #12
    Join Date
    Jan 2020
    Beans
    Hidden!

    Re: Linking

    Quote Originally Posted by ayudha View Post
    Doesn't work
    I did this for it to work:

    Create /home/erik/.config/user-dirs.conf
    Code:
    enabled=false
    But do i really need this file?

    Change /home/erik/.config/user-dirs.dirs to
    Code:
    XDG_DESKTOP_DIR="$HOME/Bureaublad"XDG_DOWNLOAD_DIR="$HOME/Downloads"
    XDG_DOCUMENTS_DIR="/home/erik/Overige/Documenten"
    Change /home/erik/.config/gtk-3.0/bookmarks to
    Code:
    file:///home/erik/Overige Overige
    Could somebody tell me how i make all of this inside a script to run?

    And how do i open the filesmanger in a different (default) directory? (home/erik/Overige)

    Edit: i also could not find how to remove 'Recent' and 'Starred', do any of you know how this is done?
    But those links don't address this...

  3. #13
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Linking

    I do not change /home/fred/.config/user-dirs.dirs
    Then these still show in file browser.

    Code:
    XDG_DESKTOP_DIR="$HOME/Desktop"
    XDG_DOWNLOAD_DIR="$HOME/Downloads"
    XDG_TEMPLATES_DIR="$HOME/Templates"
    XDG_PUBLICSHARE_DIR="$HOME/Public"
    XDG_DOCUMENTS_DIR="$HOME/Documents"
    XDG_MUSIC_DIR="$HOME/Music"
    XDG_PICTURES_DIR="$HOME/Pictures"
    XDG_VIDEOS_DIR="$HOME/Videos"
    Code:
    ls -l /mnt  # I have others but this is for linking.
    drwxrwxrwx 17 fred fred 4096 Oct 19  2019 data
    
    Then in /home I have the links to the folders that are in the /mnt/data above.

    Example but many (l means it is a link):

    Code:
    lrwxrwxrwx 1 fred fred    19 Oct 14 19:37  Documents -> /mnt/data/Documents
    lrwxrwxrwx 1 fred fred    19 Oct 14 19:37  Downloads -> /mnt/data/Downloads
    
    If you follow the procedure I posted, then it works.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #14
    Join Date
    Jan 2020
    Beans
    Hidden!

    Re: Linking

    Could you explain the meaning of drwxrwxrwx 17 fred fred 4096 Oct 19 2019 data

  5. #15
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Linking

    In my /mnt folder I create /mnt/data.
    Then I add a mount of my data partition in fstab.
    Details in links I posted above.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •