Reply
Thread Tools
Posts: 98 | Thanked: 51 times | Joined on Jan 2012
#91
I tried with this method and its solved.

Install this .deb file

http://talk.maemo.org/showpost.php?p...&postcount=137

then cat < /home/user/.config/user-dirs.dirs
if its back to normal, restart your phone.
if you still do not see it, put your phone into mass storage, CUT Pictures folder out of your phone and place it anywhere on your PC.
Restart your phone.
Put your phone into mass storage again, now PASTE the folder back.
You should see it after you unplug your phone from PC.
 
Posts: 771 | Thanked: 393 times | Joined on Feb 2012
#92
Guys, question.

I had this problem and noticed the /home/user/.config/user-dirs.dirs damn messed up. thanks to default ENV given, I already corrected it..

What the reason behind user-dirs mess up? *.png/*.jpg file in /home/user ? how in the first place pictures can go there?

Seems like Panorama messed up the /home/user/.config/user-dirs.dirs ?
__________________
5800XMN8808N9

Last edited by soryuuha; 2012-12-10 at 17:01.
 
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#93
@soryuuha
Yes, for me it was Panaroma app that messed dirs file. I noticed immediately after I installed it and tried how it works - panoramic shots wont appear in Gallery.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#94
Yup Panaroma at installation has the ability to mess things up but it doesn't do it consistently that is what puzzles me...

I've done 3 re-flashes previously to try to prove it and it corrupted once while didn't disturb things the other 2 times...

The one time where i had a real corruption was quite hard to pick on any app in particular as i had taken the last Panaroma pictures at least 2 weeks before the corruption...


soryuuha, if user-dirs.dirs messes up it leads to path $HOME which is /home/user so isn't it obvious that's why pictures go there

The problem with this file is any app including stock app can corrupt it so its more of guessing instead...

To quote my post from here:
Corruption of ~/.config/user-dirs.dirs is something not related to tracker and could be further investigated by us using block_dump. However, you would need to enable this and wait for the corruption to occur.
So if someone has time on their hands can try to get a corruption with definitive logs to help...
 
Posts: 649 | Thanked: 762 times | Joined on Mar 2012 @ Ohio
#95
I need some help with this. I understand the problem and the fix, but I am having a little problem with the exectution. I have extracted the archived fix, but I don't understand where to put it or how to copy it. I tried to just extract it to and copy from MyDocs, but it wasn't allowed even as root.
I don't know what "root of memory card means" or how the command "cp -f..." could know where to copy from. Obviously I am new to all of this...
Please help!
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#96
Originally Posted by imaginaryenemy View Post
I need some help with this. I understand the problem and the fix, but I am having a little problem with the exectution. I have extracted the archived fix, but I don't understand where to put it or how to copy it. I tried to just extract it to and copy from MyDocs, but it wasn't allowed even as root.
I don't know what "root of memory card means" or how the command "cp -f..." could know where to copy from. Obviously I am new to all of this...
Please help!
You just have to download the .deb file from this post and install it on your n9... Once done, and you don't know whether you have done it right, post the output of, from terminal:
Code:
cat /home/user/.config/user-dirs.dirs
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 649 | Thanked: 762 times | Joined on Mar 2012 @ Ohio
#97
Originally Posted by thedead1440 View Post
You just have to download the .deb file from this post and install it on your n9... Once done, and you don't know whether you have done it right, post the output of, from terminal:
Code:
cat /home/user/.config/user-dirs.dirs
I'm sorry. I just attempted what was updated in the first post and talked about in subsequent posts. I skipped the post you linked to entirely.
Unfortunately, It doesn't appear to have worked...
Code:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/MyDocs"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/MyDocs"
XDG_PUBLICSHARE_DIR="$HOME/MyDocs"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#98
ok just type in terminal:
Code:
nano /home/user/.config/user-dirs.dirs
now edit the file manually to look like:
Code:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/MyDocs"
XDG_DOWNLOAD_DIR="$HOME/MyDocs/Downloads"
XDG_TEMPLATES_DIR="$HOME/MyDocs"
XDG_PUBLICSHARE_DIR="$HOME/MyDocs"
XDG_DOCUMENTS_DIR="$HOME/MyDocs/Documents"
XDG_MUSIC_DIR="$HOME/MyDocs/Music"
XDG_PICTURES_DIR="$HOME/MyDocs/Pictures"
XDG_VIDEOS_DIR="$HOME/MyDocs/Movies"
Do a reboot and see if the changes stick or not...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 649 | Thanked: 762 times | Joined on Mar 2012 @ Ohio
#99
It worked great. Thanks for all of your help!
 

The Following User Says Thank You to imaginaryenemy For This Useful Post:
Posts: 30 | Thanked: 5 times | Joined on May 2012 @ Indja
#100
Originally Posted by thedead1440 View Post
You just have to download the .deb file from this post and install it on your n9... Once done, and you don't know whether you have done it right, post the output of, from terminal:
Code:
cat /home/user/.config/user-dirs.dirs
Gah. Im not following this.
I installed the app. I copied "user-dirs.dirs" into my phone root.
I typed in the 'cat /home/.../user-dirs.dirs' code in terminal. I got a response. A long list with paths and $.

I tried the nano /home/.../user-dirs.dirs - but it says 'nano cannot be found' or something.
Now what?
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:15.