Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [N900] How to change the picture main folder?

    Reply
    Page 2 of 3 | Prev |   1   2   3   | Next
    Acurus_ | # 11 | 2013-05-04, 18:49 | Report

    /home/user # cat ~/.config/user-dirs.dirs
    cat: can't open '/home/user/.config/user-dirs.dirs': No such file or directory

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Acurus_ For This Useful Post:
    Wikiwide

     
    peterleinchen | # 12 | 2013-05-04, 19:56 | Report

    Originally Posted by Acurus_ View Post
    /home/user # cat ~/.config/user-dirs.dirs
    cat: can't open '/home/user/.config/user-dirs.dirs': No such file or directory
    Then you may create such file with following content (output from ~ $ cat .config/user-dirs.dirs):
    Code:
    XDG_DOCUMENTS_DIR="$HOME/MyDocs/.documents"
    XDG_MUSIC_DIR="$HOME/MyDocs/.sounds"
    XDG_PICTURES_DIR="$HOME/MyDocs/.images"
    XDG_VIDEOS_DIR="$HOME/MyDocs/.videos"
    NOKIA_CAMERA_DIR="$HOME/MyDocs/DCIM"
    NOKIA_MMC_CAMERA_DIR="/media/mmc1/DCIM"
    --edit
    Just seen, that you executed as root.
    Under root's config there is no such file. Please try again to check as user.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by peterleinchen; 2013-05-04 at 20:00.
    The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
    Acurus_, Wikiwide

     
    Acurus_ | # 13 | 2013-05-04, 20:06 | Report

    I get the same message, when I am not root.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Acurus_ For This Useful Post:
    Wikiwide

     
    pichlo | # 14 | 2013-05-04, 20:23 | Report

    Edit: Damn, just noticed the full path in your post which makes most of the below irrelevant but I've decided to leave it in case some noob follows your footsteps.

    ~ stands for home directory and is different if you are user or root.
    For user, ~ is /home/user. To avoid confusion, try
    Code:
    cat /home/user/.config/user-dirs.dirs
    The easiest way to get there is by using automatic expansion. Type cat, space, slash, h, then click Tab in the X Terminal tool bar (to expand h to home/), u, Tab again, dot, co, Tab, u, Tab. If that does not expand to /home/user/.config/user-dirs.dirs then you are in trouble. You can copy the text in the code block in peterleinchen's post to a file, name the file user-dirs.dirs and copy it to /home/user/.config, but I wonder if that file is missing what else is.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by pichlo; 2013-05-04 at 21:52.
    The Following 4 Users Say Thank You to pichlo For This Useful Post:
    Acurus_, peterleinchen, sixwheeledbeast, Wikiwide

     
    peterleinchen | # 15 | 2013-05-04, 20:27 | Report

    Then proceed and create that file (possibly a reboot is necessary, idk).

    --edit
    see also pichlos advice...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
    Acurus_, Wikiwide

     
    Acurus_ | # 16 | 2013-05-05, 06:18 | Report

    Many thanks to peterleinchen and pichlo!

    I am a little bit confused, beause your advices did not work. Therefore I openend "Filebox" and made a screenshot from "/home/user/.config":



    On the picture you can see five files. These are the only files within the folder ".config". Am I right, that there is no file called "user-dirs.dirs". Do I have to create this file now? For example in "Leafpad" with this code from pererleinchen:

    Code:
    XDG_DOCUMENTS_DIR="$HOME/MyDocs/.documents"
    XDG_MUSIC_DIR="$HOME/MyDocs/.sounds"
    XDG_PICTURES_DIR="$HOME/MyDocs/.images"
    XDG_VIDEOS_DIR="$HOME/MyDocs/.videos"
    NOKIA_CAMERA_DIR="$HOME/MyDocs/DCIM"
    NOKIA_MMC_CAMERA_DIR="/media/mmc1/DCIM"

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Acurus_; 2013-05-05 at 06:38.

     
    peterleinchen | # 17 | 2013-05-05, 06:38 | Report

    Yes!

    10 chars or
    Originally Posted by peterleinchen View Post
    Then you may create such file with following content ...
    Originally Posted by peterleinchen View Post
    Then proceed and create that file ...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to peterleinchen For This Useful Post:
    Acurus_

     
    Acurus_ | # 18 | 2013-05-05, 07:05 | Report

    Great! It is working now. I am something like a stupid user! But I managed it with your help.

    Something has changed now! Till I did this, in the N900's file manager I could see on "MyDocs" a folder called "DCIM", but every picture was saved at "MyDocs". After doing this, I do not see the "DCIM" folder in the N900's file manager, but the pictures are beeing saved in the folder "Kamera", now. I think (and hope) this is right.

    Thanks again!!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Acurus_; 2013-05-05 at 07:51.

     
    pichlo | # 19 | 2013-05-05, 08:51 | Report

    That is expected. The config file user-dirs.dirs masks the true directory names so that the stock file manager will call them something else. What exactly depends on your theme and language. For example for me, the DCIM folder is called Camera. .sounds is called Audio Clips etc.

    I am a bit concerned that your ~/.config/ contains only five items. Mine contains 34 including hildon-desktop, osso-calculator and tracker. I wonder how customized your device must be to work without those.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pichlo For This Useful Post:
    Acurus_

     
    Acurus_ | # 20 | 2013-05-05, 09:04 | Report



    Do not make me nervous

    On my picture, you can see only "files" directly laying within my ".config" folder. But there are more than 30 subfolders, as well. I hope, this is ok.

    Otherwise: If a stupid user like me is playing with his N900 (following all the nice threads here ), mystery things can happen.


    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Acurus_ For This Useful Post:
    pichlo

     
    Page 2 of 3 | Prev |   1   2   3   | Next
vBulletin® Version 3.8.8
Normal Logout