Notices


Reply
Thread Tools
Acurus_'s Avatar
Posts: 209 | Thanked: 156 times | Joined on Jun 2012
#11
/home/user # cat ~/.config/user-dirs.dirs
cat: can't open '/home/user/.config/user-dirs.dirs': No such file or directory
__________________
History: Nokia 9000; Nokia 9110i; Nokia 9210, Nokia E90 / Currently: Nokia N900 (3x)
 

The Following User Says Thank You to Acurus_ For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#12
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.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-05-04 at 20:00.
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Acurus_'s Avatar
Posts: 209 | Thanked: 156 times | Joined on Jun 2012
#13
I get the same message, when I am not root.
__________________
History: Nokia 9000; Nokia 9110i; Nokia 9210, Nokia E90 / Currently: Nokia N900 (3x)
 

The Following User Says Thank You to Acurus_ For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#14
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.

Last edited by pichlo; 2013-05-04 at 21:52.
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#15
Then proceed and create that file (possibly a reboot is necessary, idk).

--edit
see also pichlos advice...
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Acurus_'s Avatar
Posts: 209 | Thanked: 156 times | Joined on Jun 2012
#16
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"
__________________
History: Nokia 9000; Nokia 9110i; Nokia 9210, Nokia E90 / Currently: Nokia N900 (3x)

Last edited by Acurus_; 2013-05-05 at 06:38.
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#17
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 ...
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Acurus_'s Avatar
Posts: 209 | Thanked: 156 times | Joined on Jun 2012
#18
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!!
__________________
History: Nokia 9000; Nokia 9110i; Nokia 9210, Nokia E90 / Currently: Nokia N900 (3x)

Last edited by Acurus_; 2013-05-05 at 07:51.
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#19
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.
 

The Following User Says Thank You to pichlo For This Useful Post:
Acurus_'s Avatar
Posts: 209 | Thanked: 156 times | Joined on Jun 2012
#20


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.

__________________
History: Nokia 9000; Nokia 9110i; Nokia 9210, Nokia E90 / Currently: Nokia N900 (3x)
 

The Following User Says Thank You to Acurus_ For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 14:21.