maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Where does maemo store the custom IM statuses files (locate the file that indicates the icons to be used) (https://talk.maemo.org/showthread.php?t=96242)

Malakai 2015-12-09 18:55

Where does maemo store the custom IM statuses files (locate the file that indicates the icons to be used)
 
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?

Malakai 2015-12-11 19:20

Re: Locate the file that indicates the icons to be used
 
Nobody????
(Sorry for the many "????" / 10 characters)

Halftux 2015-12-11 19:55

Re: Locate the file that indicates the icons to be used
 
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

Malakai 2015-12-12 14:03

Re: Locate the file that indicates the icons to be used
 
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?

nieldk 2015-12-12 15:29

Re: Locate the file that indicates the icons to be used
 
Cant you just put the full path to your icon in the .desktop file for your application?

Halftux 2015-12-12 22:37

Re: Locate the file that indicates the icons to be used
 
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


Malakai 2015-12-13 10:36

Re: Locate the file that indicates the icons to be used
 
Quote:

Originally Posted by Halftux (Post 1491344)
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.

Malakai 2015-12-15 13:08

Re: Locate the file that indicates the icons to be used
 
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?

nieldk 2015-12-15 14:00

Re: Where does maemo store the custom IM statuses files (locate the file that indicates the icons to be used)
 
You might want a peek on this

http://sourceforge.net/p/extraplugin...i/master/tree/

Halftux 2015-12-15 20:52

Re: Where does maemo store the custom IM statuses files (locate the file that indicates the icons to be used)
 
1 Attachment(s)
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


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

vBulletin® Version 3.8.8