maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   Gallery issue? (https://talk.maemo.org/showthread.php?t=87751)

TheTranceGamer 2012-11-07 04:26

Gallery issue?
 
So- this is the problem. Everytime I try to save images from the net using browser, the images get saved to 'file manager', but don't appear in the gallery. Even screenshots I take using an app don't appear in the gallery.
Photos I take using camera do appear in my gallery. Damn weird.

Any suggestions? :confused:

dcastrog 2012-11-07 05:30

Re: Gallery issue?
 
Quote:

Originally Posted by TheTranceGamer (Post 1291323)
So- this is the problem. Everytime I try to save images from the net using browser, the images get saved to 'file manager', but don't appear in the gallery. Even screenshots I take using an app don't appear in the gallery.
Photos I take using camera do appear in my gallery. Damn weird.

Any suggestions? :confused:

there is a thread with the answer. The problem is because the tracker got corrupted, you have to replace the file with a new one using file box. Use The search button with the keywords tracker gallery n9. Good Luck.

zlatko 2012-11-07 06:46

Re: Gallery issue?
 
@TheTranceGamer
Read CAREFULLY through this thread: http://talk.maemo.org/showthread.php?t=84054
Have in mind that resetting tracker will make your contacts and messages disappear after reboot! So you as a last resort.

efion 2012-11-07 07:17

Re: Gallery issue?
 
in my case, just replacing the user-dirs file will resolve the problem

thedead1440 2012-11-07 07:45

Re: Gallery issue?
 
Quote:

Originally Posted by efion (Post 1291344)
in my case, just replacing the user-dirs file will resolve the problem

Yup just fix the user-dirs.dirs file then re-add your content for it to index it...

TheTranceGamer 2012-11-09 01:37

Re: Gallery issue?
 
Quote:

Originally Posted by efion (Post 1291344)
in my case, just replacing the user-dirs file will resolve the problem

Okay- how do you do that? :/

Dazsa 2012-11-09 01:46

Re: Gallery issue?
 
Quote:

Originally Posted by TheTranceGamer (Post 1292131)
Okay- how do you do that? :/

Here you are: read this

zacaaron 2012-11-09 03:45

Re: Gallery issue?
 
Quote:

Originally Posted by Dazsa (Post 1292136)
Here you are: read this

Just do the changes to the file & test it out by saving pics from Web browser.

A bit fat warning, do NOT run tracker-control -r. That is used as last resort as it will DELETE all your contacts, messages, & notes

TheTranceGamer 2012-11-09 04:13

Re: Gallery issue?
 
Quote:

Originally Posted by zacaaron (Post 1292156)
Just do the changes to the file & test it out by saving pics from Web browser.

A bit fat warning, do NOT run tracker-control -r. That is used as last resort as it will DELETE all your contacts, messages, & notes

Okay- I'm kinda worried now. Cause I don't want to lose my contacts.
I'm trying to make double sure- what do you mean by "do the changes to the file"?

zacaaron 2012-11-09 06:40

Re: Gallery issue?
 
Quote:

Originally Posted by TheTranceGamer (Post 1292158)
Okay- I'm kinda worried now. Cause I don't want to lose my contacts.
I'm trying to make double sure- what do you mean by "do the changes to the file"?

Basically what I meant was just make changes to the file mentioned. You can do it in 2 ways, one is editing it yourself in a text editor, or use the ones supplied in the link then copy overwrite the old ones in place.

For me I just edit the config file in terminal with vi command. It's very easy as you'll notice what is missing in the config file when you open it.

Editing this file will not make you lose anything. Don't worry about that.

Running any tracker-control commands though is a different story & should not use done unless you know what you're doing.

thedead1440 2012-11-09 06:41

Re: Gallery issue?
 
Simply fix the file, remove the media from your device and re-add them to your device, reboot and should work...

TheTranceGamer 2012-11-09 14:59

Re: Gallery issue?
 
Sorry- but I'm not understanding the fix.

I'm trying to open terminal directly and type in "home/user/.config/user-dirs.dirs" to which I get a "Permission Denied" response. Am I doing something wrong?

Mybad. Dunno much.

thedead1440 2012-11-09 15:00

Re: Gallery issue?
 
Quote:

Originally Posted by TheTranceGamer (Post 1292359)
Sorry- but I'm not understanding the fix.

I'm trying to open terminal directly and type in "home/user/.config/user-dirs.dirs" to which I get a "Permission Denied" response. Am I doing something wrong?

Mybad. Dunno much.

Code:

nano home/user/.config/user-dirs.dirs

TheTranceGamer 2012-11-09 19:07

Re: Gallery issue?
 
Quote:

Originally Posted by thedead1440 (Post 1292360)
Code:

nano home/user/.config/user-dirs.dirs

/bin/sh: nano not found

thedead1440 2012-11-10 04:45

Re: Gallery issue?
 
Quote:

Originally Posted by TheTranceGamer (Post 1292450)
/bin/sh: nano not found

as root,

apt-get install nano

Discoveryellow 2012-12-19 18:54

Re: Gallery issue?
 
Hi all,

This is a great thread that talks about same issue I have with my N9 - it suddenly stopped showing in the Gallery my new screenshots or images created from other apps, while still showing the old ones. Then the Gallery also stopped showing some of my photos too :( The good neww is that the images and photos are still in the phone and accessible via USB.

Did you figure out what is the way to fix it?

Thanks!!!

AMD 2012-12-19 18:57

Re: Gallery issue?
 
Quote:

Originally Posted by Discoveryellow (Post 1306145)
Hi all,

This is a great thread that talks about same issue I have with my N9 - it suddenly stopped showing in the Gallery my new screenshots or images created from other apps, while still showing the old ones. Then the Gallery also stopped showing some of my photos too :( The good neww is that the images and photos are still in the phone and accessible via USB.

Did you figure out what is the way to fix it?

Thanks!!!

devel-su
rootme
apt-get install nano
nano /home/user/.config/user-dirs.dirs
show me the output

AMD 2012-12-19 19:01

Re: Gallery issue?
 
Oh and all the steps I told you or will tell you are already mentioned before here by thedead, if you misunderstand something reread the previous page.

Discoveryellow 2012-12-20 15:54

Re: Gallery issue?
 
Quote:

Originally Posted by AMD (Post 1306149)
Oh and all the steps I told you or will tell you are already mentioned before here by thedead, if you misunderstand something reread the previous page.

First and foremost: thank you for engaging!

Now, allow me to clarify the assumption here, that no everyone who knows how to post in maemo.org know what "devel-su" actually means and what to do with it. ;) Luckily I started my maemo with N900 and had to do lots of terminal from scratch. Yet I an still a big nOOb.

Also, things mentioned before didn't tell to start with "devel-su".

And lastly, I #FAIL, because having just tried your advice terminal asks me for password :( IDK

AMD 2012-12-20 16:00

Re: Gallery issue?
 
Quote:

Originally Posted by Discoveryellow (Post 1306375)
First and foremost: thank you for engaging!

Now, allow me to clarify the assumption here, that no everyone who knows how to post in maemo.org know what "devel-su" actually means and what to do with it. ;) Luckily I started my maemo with N900 and had to do lots of terminal from scratch. Yet I an still a big nOOb.

Also, things mentioned before didn't tell to start with "devel-su".

And lastly, I #FAIL, because having just tried your advice terminal asks me for password :( IDK

when they say 'as root' they mean, start with devel-su and then continue. Because devel-su roots your device.

Discoveryellow 2012-12-20 16:01

Re: Gallery issue?
 
Okay! "rootme" is the password!!! and I have to disable the auto-capitalization when typing it in.
Now there has been much text on the screen, among which "failed" was one of the words. Then text disappeared and I got: "GNU nano 2.2 New Buffer Modified" at the top and then blank screen.
What am I doing with this get nano, by the way? And do we know why N9 starts to fail to index pictures in the first place? I think it shouldn't happen that a user needs to use developer mode, which I never used on the N9 before.
Thanks!

AMD 2012-12-20 16:04

Re: Gallery issue?
 
Quote:

Originally Posted by Discoveryellow (Post 1306378)
Okay! "rootme" is the password!!! and I have to disable the auto-capitalization when typing it in.
Now there has been much text on the screen, among which "failed" was one of the words. Then text disappeared and I got: "GNU nano 2.2 New Buffer Modified" at the top and then blank screen.
What am I doing with this get nano, by the way? And do we know why N9 starts to fail to index pictures in the first place? I think it shouldn't happen that a user needs to use developer mode, which I never used on the N9 before.
Thanks!

Then your user-dirs.dirs is corrupted. You need to replace it with a new one.
and dev mode is made for the end-users who are even afraid to look or open such apps as terminal and the peoe who want those can activate dev mode. It is just a secure way to use it. I know this from Mrs. jen ;)

thedead1440 2012-12-20 16:06

Re: Gallery issue?
 
Discoveryellow,

You don't need to use nano to check the file; that's for editing it...

Do this in terminal and post the output:
Code:

cat /home/user/.config/user-dirs.dirs
Basically you need to ensure your output matches the below and no if not in open mode no devel-su for /home/user/ files:
Code:

~ $ cat /home/user/.config/user-dirs.dirs
# 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"


AMD 2012-12-20 16:08

Re: Gallery issue?
 
Quote:

Originally Posted by thedead1440 (Post 1306382)
Discoveryellow,

You don't need to use nano to check the file; that's for editing it...

Do this in terminal and post the output:
Code:

cat /home/user/.config/user-dirs.dirs

I wanted him to fix it so I used nano.

Discoveryellow 2012-12-20 21:27

Re: Gallery issue?
 
Quote:

Originally Posted by thedead1440 (Post 1306382)
Discoveryellow,

You don't need to use nano to check the file; that's for editing it...

Do this in terminal and post the output:
Code:

cat /home/user/.config/user-dirs.dirs

Okay I am getting a bit lost in all the options here. I have tried the solution by @AMD
"devel-su
rootme
apt-get install nano
nano /home/user/.config/user-dirs.dirs"

But that didn't get my problem resolved, although it seems I have installed something on my phone (it said "installing" this and "failed" that in the code)

Now I tried the solution above and get the following result... :(

Code:

BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)

Enter 'help' for a list of built-in commands.


~ $ cat /home/user/.config/user-dirs.dirs

# 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 yyyis 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/"

~ $


thedead1440 2012-12-21 04:04

Re: Gallery issue?
 
Discoveryellow,

As you can see your output differs from mine meaning you have to change your file to reflect the same as what I had posted... Use your favourite text editor to make the changes and then reboot to see if the changes stuck...

Once the changes stuck, transfer all your media to your PC, delete them from phone, reboot and then transfer them back to your phone... They should all be detected now ;)

Discoveryellow 2012-12-21 06:24

Re: Gallery issue?
 
Quote:

Originally Posted by thedead1440 (Post 1306496)
Discoveryellow,

As you can see your output differs from mine meaning you have to change your file to reflect the same as what I had posted... Use your favourite text editor to make the changes and then reboot to see if the changes stuck...

Once the changes stuck, transfer all your media to your PC, delete them from phone, reboot and then transfer them back to your phone... They should all be detected now ;)

Thanks! It works great now!
Wow, it's like the duh! moment as this solution so simple to apply:

In Filebox app locate the file at address /home/user/.config/user-dirs.dirs and make sure it looks like this, and if not copy to MyDocs folder (via Filebox) and then edit with a computer via USB and then copy back and overwrite again with Filebox. It works!

~ $ cat /home/user/.config/user-dirs.dirs
# 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"

Discoveryellow 2012-12-21 06:31

Re: Gallery issue?
 
Quick follow up how do I undo the earlier attempt at solution where I rooter the device and installed nano?

thedead1440 2012-12-21 09:37

Re: Gallery issue?
 
Quote:

Originally Posted by Discoveryellow (Post 1306517)
Quick follow up how do I undo the earlier attempt at solution where I rooter the device and installed nano?

Two things:

1) You didn't root your device... devel-su with password rootme is default for all n9s... Its called root not in Android terms but in GNU Linux terms whereby root gives you escalated privileges over user to modify system files or anything higher than the /home/user/ partition...


2) Developer mode gave you the terminal; you can disable developer mode if you want to remove whatever it installed including nano. In reality, nano is an integrated text editor in terminal which is an alternative to the built-in vi(m). You can choose to keep developer mode and remove nano by typing in terminal as root "apt-get purge nano". The file you edited by plugging into PC could be edited in nano too saving the time to transfer to ~/MyDocs, plug into PC, edit and transfer back to origin... However, that's an individual preference so feel free to do what suits you better ;)

andy_con 2013-02-25 17:28

Help just formatted N9
 
Just formatted/cheers my n9 which was a great move as its now working so much better, but...

i copied all mg photos, when i put them back in the dicm coder or what ever its called they are not showing up in the phone gallery .

why not?

andy_con 2013-02-25 19:20

Re: Gallery issue?
 
small update after reading the first page, just done this

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

restarted the phone but no joy, photos still arent in my gallery

ThisIsZedd 2013-02-26 10:05

Re: Gallery issue?
 
guys i have a problem regarding my gallery. After flashing my n9, i registered all my accounts (like facebook, gmail and else) and once i take a picture it doesn't show myself as a tag, but it does with my friends. I mean, even when it shows my name, clicking on it won't work, cuz still appear the --->"?".
Anyone knows why and how to solve it?

andy_con 2013-02-26 12:37

Re: Gallery issue?
 
can anyone help with getting the gallery to pick up pictures in the dcim folder?

andy_con 2013-02-27 17:35

Re: Gallery issue?
 
still no anwsers, i thought the forum knew all the anwsers :(

imaginaryenemy 2013-02-27 20:49

Quote:

Originally Posted by andy_con (Post 1325354)
can anyone help with getting the gallery to pick up pictures in the dcim folder?

You need to remove the pictures and then put them back on the device. If you fixed your user-dirs.dirs correctly, they will be properly indexed when put back on your device.

andy_con 2013-02-27 23:28

Re: Gallery issue?
 
nope didnt work

jmsarriat 2013-03-25 21:54

Re: Gallery issue?
 
Quote:

Originally Posted by thedead1440 (Post 1292194)
Simply fix the file, remove the media from your device and re-add them to your device, reboot and should work...

I got hit by this. I changed the .dirs file accordingly (it was corrupted) but, is there a way to solve the issue without copying everything again? Or should i only copy the "missing from gallery" stuff?

[EDIT] Yes, only the missing stuff is needed.


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

vBulletin® Version 3.8.8