maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Change desktop contacts shortcuts size (https://talk.maemo.org/showthread.php?t=50598)

qwerty12 2010-06-05 19:46

Re: Change desktop contacts shortcuts size
 
Quote:

Originally Posted by omeriko9 (Post 701444)
Actually I'm looking too for a way to resize a .png image inside the N900, anyone has an idea for a command line tool to do this?

Imagemagick is in -devel, no idea if it's optified...

AlMehdi 2010-06-07 19:10

Re: Change desktop contacts shortcuts size
 
1 Attachment(s)
Quote:

Originally Posted by Schturman (Post 660019)
Neatly....

Change desktop contacts shortcuts size


For changing size of desktop contacts shortcuts, go to:
/usr/share/themes/YOUR_THEME/images

Find the contacts widgets frames:
ContactsAppletFrame.png and ContactsAppletFrameActive.png (backup them)

Resize them to your favorite size and overwrite the originals.
------------------------------------

You also have to resize the default and contact's avatars for it to fit in the new small frame.

The default avatars are in:
usr/share/icons/hicolor/216x216/hildon (Backup them and resize only if you use them on your desktop)

The contact's avatars are in:
/home/user/.osso-abook/photos

Probably, here you see the files without suffix, just copy them to your PC, add to them the suffix ".png", find your contact's avatars and resize them.
After this, delete the suffix ".png" and move them back to your phone (overwrite the originals).

Done !

P.S. This mod can work with any theme as long as the contact frame is resized in the themes image folder.


Thanks to biggzy for tips and to omeriko9 for idea ;)

This doesn't work.. anyway i did not for me. I managed to resize the ContactsAppletFrames to the desired size but when i want to change the contacts images it fails.

I rename the desired contact picture to a .png then i resize it with imagemagick to 90x90. When i remove and remake the contact.. the size of the image doesn't change. Also restarting doesn't help. Even though when i look it up it is 90x90. The ContactApplet still is 144x144 or stretched to it.

AlMehdi 2010-06-07 22:09

Re: Change desktop contacts shortcuts size
 
Did someone actually do this successful or do we need someone like Matan to hack it? I do not know where this should be done as Matan said it was not in hildon-home. I believe that as if you kill hildon-home the contact are still visible when the other things disappear. Maybe it's in hildon-desktop. I am not aware how to find it in gconf but someone els maybe understand and could help out...

So some help would be nice ;)

Schturman 2010-06-07 22:15

Re: Change desktop contacts shortcuts size
 
Hi
I don't tried this, but you can try also change the original contact pic, from where you add them to the contacts (MyDoc/.images) :confused:

AlMehdi 2010-06-07 22:28

Re: Change desktop contacts shortcuts size
 
Quote:

Originally Posted by Schturman (Post 704413)
Hi
I don't tried this, but you can try also change the original contact pic, from where you add them to the contacts (MyDoc/.images) :confused:

Thanks for the reply. I have been trying to do this a couple of hours now and that answer helped me understand i did not do anything wrong.

It would not help to do like that i'm afraid. I suspect it resizes/stretches the image thus making it futile to try. I think we need something similar to what Matan did in this thread: http://talk.maemo.org/showthread.php...801#post703801

Schturman 2010-06-08 00:18

Re: Change desktop contacts shortcuts size
 
I tried now all of this process, and you are right, we have a problem with the contact-pictures that we need to resize them. It's not pic from this folder (/home/user/.osso-abook/photos) :( We need found them...

AlMehdi 2010-06-08 00:55

Re: Change desktop contacts shortcuts size
 
Quote:

Originally Posted by Schturman (Post 704567)
I tried now all of this process, and you are right, we have a problem with the contact-pictures that we need to resize them. It's not pic from this folder (/home/user/.osso-abook/photos) :( We need found them...

Yes it is i am afraid. It is the correct place. Try to remove it and you will see. It will become a general avatar. The only way is to hack the process that handles it. Like in the post i described.

tobylee 2010-06-08 01:26

Re: Change desktop contacts shortcuts size
 
Quote:

Originally Posted by biggzy (Post 620628)
This is what iv come up with ..
Attachment 9186

I had to resize default avatars for it to fit in the new small frame, so adding custom avatars will be to big and wont fit in the frame.

:D

got a link for this background mate?

edit: found it on prismic

AlMehdi 2010-06-11 02:17

Re: Change desktop contacts shortcuts size
 
1 Attachment(s)
Have been looking more on this subject and found one more puzzle bit. It is not enough to just resize the ContactsAppletFrame.png and ContactsAppletFrameActive.png. Also ContactsAppletMask.png need to be resized.

The same problem still exists though.. the actual widget doesn't get resized just the images. It just get transparent.

I attach my screenshot. The marked read are clickable but transparent.

Schturman 2010-06-11 09:13

Re: Change desktop contacts shortcuts size
 
Yes, I know... I tried this too. We need to found how to change the image size :/


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

vBulletin® Version 3.8.8