Reply
Thread Tools
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#1
Hello,

Edit : The request is better defined on post 8

I've already looked on the forum but I can't seem to find an answer for what I'm trying to do.
I've already posted here last year (and forgot about it), and got no answer to this, but now I had my N900 flashed and I am looking to make it as personal as possible.

So to explain what I want to do exactly :
I would like to find the file that tells the system where to look for the icons.
I know that the icons are in :
/usr/share/icons/
/usr/share/themes/
But I don't want to replace them.... I want to point the system for the icons I want to be used in a certain case.

For example I made a new IM status called SIP (as you may see in the other thread linked) where SIP is online and everything else is offline and I want the icons used for IM when I use the status SIP, to display the sip icon (that already exists in /usr/share/icons/... folders).

The idea is to put in that file :

Code:
For the new status "sip" use the icons /usr/share/icons/hicolor/(16x16) (24x24) (32x32) (48x48) (64x64)/hildon/general_sip.png
So I have to change a value in a file (that I can't locate). Where is that file? Or where can I get more info about this?

Last edited by Malakai; 2015-12-15 at 13:10. Reason: Better title
 
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#2
Nobody????
(Sorry for the many "????" / 10 characters)
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#3
Try to put your icons in /.local/share/icons/ with the same name and path as the original icons. So in principle you need to use ".local" instead of "usr". Then this icons get loaded instead of the original ones.

source:
https://wiki.maemo.org/Customizing_Maemo#Icons
 
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#4
Thanks for the response.

The problem is that I don't really want to replace some icons.
In the status area I have for instance the IM status that shows a green dot (as you may see on the second picture here) when I am online or when a custom status is online. What I want to do is customize that green dot to be a sip icon when my custom sip status is online and a facebook icon when my custom facebook status is online, same for skype etc.
Now no matter what is my custom status icon (a house, a ball etc) my status area icon is always a green dot when that status is online.
Where can I change that?
 
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#5
Cant you just put the full path to your icon in the .desktop file for your application?
 

The Following User Says Thank You to nieldk For This Useful Post:
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#6
Maybe here??

Code:
/usr/share/osso-rtcom/google-talk.profile.novoip :
/usr/share/osso-rtcom/skype.profile :
/usr/share/osso-rtcom/sip.profile.novoip :
/usr/share/osso-rtcom/jabber.profile.novoip :
/usr/share/osso-rtcom/jabber.profile :
/usr/share/osso-rtcom/sip.profile :
/usr/share/osso-rtcom/google-talk.profile :
/usr/share/osso-rtcom/facebook-chat.profile :
/usr/share/osso-rtcom/voip-support/jabber.profile :
/usr/share/osso-rtcom/voip-support/sip.profile :
/usr/share/osso-rtcom/voip-support/google-talk.profile :
/usr/share/osso-rtcom/voip-support/facebook-chat.profile :
/usr/share/osso-rtcom/voip-support/nokiachat.profile :
/usr/share/osso-rtcom/nokiachat.profile :
/usr/share/osso-rtcom/nokiachat.profile.novoip :

   IconName = general_presence_online
   IconName = general_presence_busy
   IconName = general_presence_invisible
   IconName = general_presence_offline
 

The Following User Says Thank You to Halftux For This Useful Post:
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#7
Originally Posted by Halftux View Post
Maybe here??

Code:
/usr/share/osso-rtcom/google-talk.profile.novoip :
/usr/share/osso-rtcom/skype.profile :
/usr/share/osso-rtcom/sip.profile.novoip :
/usr/share/osso-rtcom/jabber.profile.novoip :
/usr/share/osso-rtcom/jabber.profile :
/usr/share/osso-rtcom/sip.profile :
/usr/share/osso-rtcom/google-talk.profile :
/usr/share/osso-rtcom/facebook-chat.profile :
/usr/share/osso-rtcom/voip-support/jabber.profile :
/usr/share/osso-rtcom/voip-support/sip.profile :
/usr/share/osso-rtcom/voip-support/google-talk.profile :
/usr/share/osso-rtcom/voip-support/facebook-chat.profile :
/usr/share/osso-rtcom/voip-support/nokiachat.profile :
/usr/share/osso-rtcom/nokiachat.profile :
/usr/share/osso-rtcom/nokiachat.profile.novoip :

   IconName = general_presence_online
   IconName = general_presence_busy
   IconName = general_presence_invisible
   IconName = general_presence_offline
I will have to test that but I think it is what I was looking for.

Thanks.
 
Posts: 175 | Thanked: 210 times | Joined on Mar 2013
#8
Today I had some time to look into this and unfortunately it is not what I was looking for... but your answer made me define more precisely what I am looking for.

So I made a custom IM status named "Test" (with facebook online, sip offline and skype online). What I am looking for is the file that defines that status ; the file where I should find those IM networks defined (with facebook and skype online and sip offline) so I could customize the IM status a little more by editing directly the file.

So the question becomes : where does maemo store the custom IM statuses files?
 
Posts: 1,288 | Thanked: 4,316 times | Joined on Oct 2014
#9
 
Halftux's Avatar
Posts: 862 | Thanked: 2,511 times | Joined on Feb 2012 @ Germany
#10
It could be that a library points to an icon which you can't change so easy. So some hardcoded stuff is tough.

Anyway I think you know best what you are looking for and you need to investigate by yourself.

For example I found the above listed files with a search string "general_prescence".

I used a mighty console tool which I will attach to this post.
Remove zip extension and unpack.
Copy sfk to /opt/sfk/ and make it executable.

command I used(it will search in all files also binary located in /usr):
Code:
/opt/sfk/sfk find -pat general_presence -dir /usr
Attached Files
File Type: zip sfk.7z.zip (454.2 KB, 61 views)
 

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

Tags
customization, icons

Thread Tools

 
Forum Jump


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