Reply
Thread Tools
Posts: 269 | Thanked: 139 times | Joined on Mar 2006
#21
I still would not dare to mess with X terminal that much, plus I would not know how to input the icon. So, please, someone come up with a simply app/widget!
 
Posts: 18 | Thanked: 14 times | Joined on Jan 2010
#22
Originally Posted by Viipottaja View Post
I still would not dare to mess with X terminal that much, plus I would not know how to input the icon. So, please, someone come up with a simply app/widget!
Adding the <your_file>.desktop you won't "mess with X terminal" that much... You won't touch/edit any configuration files/whatever_else you have in the phone, but just adding a new shortcut description to run a certain command in X Terminal... Nothing else...

Of course, you have to understand what you are doing, otherwise I won't suggest to do anything on your phone.

Icon is simple - you can put "general_refresh" to get attached icon for new shortcut.

Let's call the file mprc.desktop:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=MPRC
Exec=/usr/bin/osso-xterm 'tracker-processes --hard-reset'
Icon=general_refresh
After this file added, you'll get a new button in More menu with attached icon, named MPRC
Attached Images
 
 

The Following User Says Thank You to bbhl For This Useful Post:
jkq's Avatar
Posts: 251 | Thanked: 131 times | Joined on Oct 2009 @ USA
#23
Originally Posted by bbhl View Post
Adding the <your_file>.desktop you won't "mess with X terminal" that much... You won't touch/edit any configuration files/whatever_else you have in the phone, but just adding a new shortcut description to run a certain command in X Terminal... Nothing else...
Of course, if you're already in the terminal to add the icon, you could just run the command "tracker-processes -r" (-r is equivalent to --hard-reset) and be done with it.

I believe you need to be root to add the icon.

-jkq
__________________
Class .. : Quiet One
Humor .. : [*********-] Alignment: Chaotic Good
Patience : [******----] Weapon(s): Python scripts
Agro ... : [***-------] Relic(s) : N900
 
Posts: 18 | Thanked: 14 times | Joined on Jan 2010
#24
Originally Posted by jkq View Post

I believe you need to be root to add the icon.

-jkq
Indeed you should...
 
Posts: 269 | Thanked: 139 times | Joined on Mar 2006
#25
Ok. What does "you need to be root" mean? And once I am in the X terminal and "root", I just type in this exactly? Do I hit enter after each line or what? When does the X terminal actually execute the string of lines? See, I am a noob...

And yes, I've run the tracker-processes -r command (my first time in x terminal.. was very exiting), but I have so far managed to get 2 cover arts to show after having run that command maybe 10 times and having a simple button to press would be much more convenient to try to tease the N900 to recognize the pics..
 
jkq's Avatar
Posts: 251 | Thanked: 131 times | Joined on Oct 2009 @ USA
#26
Originally Posted by Viipottaja View Post
And yes, I've run the tracker-processes -r command (my first time in x terminal.. was very exiting), but I have so far managed to get 2 cover arts to show after having run that command maybe 10 times and having a simple button to press would be much more convenient to try to tease the N900 to recognize the pics..
That button isn't going to magically make your art appear, I suspect.

I was going to point you at the thread I made a while back about cover art, but I see you've already posted in there.

How about this?

1. Move folder with music/art to TMP
2a. Delete the contents of the 2 folders mentioned earlier
2b. Reset the tracker database (the "tracker-processes -r" thing)
3. Move the folder back
4. Start media player
5. Wait for indexing to finish

-jkq
__________________
Class .. : Quiet One
Humor .. : [*********-] Alignment: Chaotic Good
Patience : [******----] Weapon(s): Python scripts
Agro ... : [***-------] Relic(s) : N900
 
Posts: 269 | Thanked: 139 times | Joined on Mar 2006
#27
Ok, I'll try that again - I tried before but I had not seen the reference to "two folders" when I tried. Which two are they (I can look it up in the other thread I guess)?
 
jkq's Avatar
Posts: 251 | Thanked: 131 times | Joined on Oct 2009 @ USA
#28
Originally Posted by Viipottaja View Post
Ok, I'll try that again - I tried before but I had not seen the reference to "two folders" when I tried. Which two are they (I can look it up in the other thread I guess)?
These two.

Originally Posted by Kiberneta View Post
Thanks for the tracker-processes tip. I have similar issues with album art. Changing covers in mp3 files didn't change them in Media Player.
I've found that the thumbnails are stored in .thumbnails/cropped and the covers themself in .cache/media-art. Both of them in /home/user of course. So I deleted the entire directories and... worked!
The Media Player now shows the new album covers.
-jkq
__________________
Class .. : Quiet One
Humor .. : [*********-] Alignment: Chaotic Good
Patience : [******----] Weapon(s): Python scripts
Agro ... : [***-------] Relic(s) : N900
 
julieshort's Avatar
Posts: 6 | Thanked: 3 times | Joined on Feb 2010 @ UK
#29
Originally Posted by joppu View Post
Someone should really package the tracker and the album art reset tricks into a easy to use application so the end users can also enjoy these functions,
Someone should, yes please
 
Kajko's Avatar
Posts: 199 | Thanked: 54 times | Joined on Nov 2009 @ Canada
#30
Originally Posted by Kiberneta View Post
Thanks for the tracker-processes tip. I have similar issues with album art. Changing covers in mp3 files didn't change them in Media Player.
I've found that the thumbnails are stored in .thumbnails/cropped and the covers themself in .cache/media-art. Both of them in /home/user of course. So I deleted the entire directories and... worked!
The Media Player now shows the new album covers.
How did you delete those folders? In x-terminal?
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:36.