maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Themes (https://talk.maemo.org/forumdisplay.php?f=49)
-   -   resizing the program icons on desktop? (https://talk.maemo.org/showthread.php?t=52474)

AlMehdi 2010-05-12 11:30

resizing the program icons on desktop?
 
I am sure the answear are laying around here somewhere... but anyway. I would like to make my theme more minimalist. The program icons/widget on the desktop is to large for my likening. Does anyone know a simple way of minimize them?

I don't know where to look and what config file i need to edit...

(Am using the Humanity-theme)

AlMehdi 2010-06-05 14:11

Re: resizing the program icons on desktop?
 
1 Attachment(s)
I am still trying to find this but am not able. I tried to change the size from 96px to 48px without success.

Do anyone know the answer to this?

Attaching an image of it:

AlMehdi 2010-06-05 14:18

Re: resizing the program icons on desktop?
 
I want the buttons to be the size of the black ones in the screen shot.

Crogge 2010-06-05 14:24

Re: resizing the program icons on desktop?
 
That would be nice :o

AlMehdi 2010-06-05 15:57

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by Crogge (Post 701100)
That would be nice :o

Yeah! And shouldn't be that hard to do. I just need to find a theming wiz that know it. I am guessing there is a global config file or something that you just put 48px instead of 96 like it is now. There need to be a place where to regulate the size of this.

Matan 2010-06-05 17:29

Re: resizing the program icons on desktop?
 
It is not configurable, it is hard coded in hildon-home.

AlMehdi 2010-06-05 18:15

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by Matan (Post 701320)
It is not configurable, it is hard coded in hildon-home.

Damn.. no wonder why i didn't find it. Are you sure about this? Cause widgets and other stuff can be resized.. It sounds strange to hard code something like that. I was thinking it might be possible to edit it through gconf in some way and as i have no experience at that.. was not able to find it.

So the only way to accomplice this is to use Queen Beecon. Hope someone make an easier way to do this. It would be awesome to configure this and other items.

anaskr 2010-06-05 18:18

Re: resizing the program icons on desktop?
 
can we resize these contact ?!! its to big eating a lots of space !! duh

AlMehdi 2010-06-05 18:31

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by anaskr (Post 701383)
can we resize these contact ?!! its to big eating a lots of space !! duh

Yes.. it is explained in this thread. http://talk.maemo.org/showthread.php...268#post690268

biggzy 2010-06-05 18:33

Re: resizing the program icons on desktop?
 
i resized the square that sists at the back of the icons, ill put some screens up in a bit, there not tiny but are smaller than the stock 1s.

zoner 2010-06-05 18:54

Re: resizing the program icons on desktop?
 
1 Attachment(s)
I use the QueenBee widgets to script a call to a certain number

See the icons on the lower left - office, farm, & rach

it's a one-click call. I'm sure you could do the same thing to launch applications and you can size the icon to whatever you like.

the queenbee code for a call
Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"$NUMBER" uint32:0
edit- sorry op, just saw you didn't want to mess with the widgets...it works though /edit

AlMehdi 2010-06-05 19:08

Re: resizing the program icons on desktop?
 
Yeah, the reason why i do not like that is the extra job of remaking the icons and the plausible extra battery drain. But thanks anyway ;)

biggzy 2010-06-05 19:54

Re: resizing the program icons on desktop?
 
1 Attachment(s)
heres the screenshot ..
Attachment 10693

there smaller than the stock, i can make it smaller tho.

AlMehdi 2010-06-05 20:16

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by biggzy (Post 701505)
heres the screenshot ..
Attachment 10693

there smaller than the stock, i can make it smaller tho.

I guess you did the same trick as me by resizing the "background" though i made mine at the size i wanted it. Or did you do some other trick?

Does someone have the knowledge and will to do an app to make this happen? It could be pretty basic.

1. It would need to have a drop down with the applications from program menu.
2. A slider for resizing.
3. maybe an option to change to a custom icon.
4. Important to use as little power as possible (for battery).

Basically just a more slimmed QBW...

biggzy 2010-06-05 20:21

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by AlMehdi (Post 701537)
I guess you did the same trick as me by resizing the "background" though i made mine at the size i wanted it. Or did you do some other trick?

Does someone have the knowledge and will to do an app to make this happen? It could be pretty basic.

1. It would need to have a drop down with the applications from program menu.
2. A slider for resizing.
3. maybe an option to change to a custom icon.
4. Important to use as little power as possible (for battery).

Basically just a more slimmed QBW...

Yes i just resized the two images in the theme folder, thats the only way to do it at the moment i think.

biggzy 2010-06-05 22:18

Re: resizing the program icons on desktop?
 
1 Attachment(s)
Iv resized mine again, i think there small enough now ..

Attachment 10697

AlMehdi 2010-06-05 22:34

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by biggzy (Post 701681)
Iv resized mine again, i think there small enough now ..

Attachment 10697

That looks better.. but not small enough. I need them to be about 48px. By the way.. could you attach your ApplicationShortcutApplet? I like the background ;)

biggzy 2010-06-05 22:47

Re: resizing the program icons on desktop?
 
1 Attachment(s)
Quote:

Originally Posted by AlMehdi (Post 701692)
That looks better.. but not small enough. I need them to be about 48px. By the way.. could you attach your ApplicationShortcutApplet? I like the background ;)

If i make them smaller the icons will have to be made smaller also as it will not sit behind them right, here is my ApplicationShortcutApplet images my friend .. Attachment 10698

I have made my whole UI match the ApplicationShortcutApplet icons, the dial pad, the onscreen qwerty etc, i will post it all once iv finished it.

YoDude 2010-06-05 23:21

Re: resizing the program icons on desktop?
 
2 Attachment(s)
For a quick and dirty reduction in size why not just use a clear image for ApplicationShortcutApplet. (attached)

As you pro'ly know by now .desktop files look for the associated icon in the N900:\usr\share\icons\hicolor\64x64\hildon directory.
Even if you found a way to change this behavior globally for it then to say look in N900:\usr\share\icons\hicolor\48x48\hildon instead, the icons are not there and would have to be built anyway.

What I used to do on my N800 was manually reduce the size of each icon to 48 x 48 with a program like PaintShopPro or Gimp and then change the canvas size (background) of that now smaller icon back to a clear 64 x 64 background...

It was repetetive and tedious work but it kept me off the mean streets and I think I may have avoided hard jail time because of that. The N800 made me a better person. :p

EDIT: Attached zipped file because clear images are hard to grab... Doh!

AlMehdi 2010-06-06 11:55

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by YoDude (Post 701725)
For a quick and dirty reduction in size why not just use a clear image for ApplicationShortcutApplet. (attached)

As you pro'ly know by now .desktop files look for the associated icon in the N900:\usr\share\icons\hicolor\64x64\hildon directory.
Even if you found a way to change this behavior globally for it then to say look in N900:\usr\share\icons\hicolor\48x48\hildon instead, the icons are not there and would have to be built anyway.

What I used to do on my N800 was manually reduce the size of each icon to 48 x 48 with a program like PaintShopPro or Gimp and then change the canvas size (background) of that now smaller icon back to a clear 64 x 64 background...

It was repetetive and tedious work but it kept me off the mean streets and I think I may have avoided hard jail time because of that. The N800 made me a better person. :p

EDIT: Attached zipped file because clear images are hard to grab... Doh!

If thats the case i will need to change the icons in scaleable and 96x96 for the n900 i think. I have been thinking about this but wanted a more "automagic" way. But maybe thats the only way right now.

AlMehdi 2010-06-06 14:24

Re: resizing the program icons on desktop?
 
2 Attachment(s)
Ok.. now i have found the wonders of Imagemagick. To do this automatically i have installed it. "apt-get install imagemagick". And then gone to resize all in the folders using. "mogrify -resize 48x48! *.png"

It would be possible to do a script for making this even more comfortable but i do not dare to do it. Here is some reference material: http://www.perturb.org/display/Image...ze_images.html

Edit1: I'll be coming with a more complete howto and a screenie if i am successful.

Edit2: It was not successful. I managed to resize the icons but not the space. So the icons decreased but not the actual place where you press. So the space that are not occupied by the icon is now transparent. In the screenie i have put some "brackets" to illustrate this. It would be the same if i resize the brackets too.

Edit3: Made another screenie how it looks now. The same problem still exists but got it almost as i like it. The Chrome icon are in svg so it was not possible to resize. It scales automatic to the global size.

D4rKlar 2010-06-07 11:05

Re: resizing the program icons on desktop?
 
Maybe I've got the wrong end of the stick here but I've found that if you keep the icons in the same folder but just change the size you can edit the icon size on the desktop.

For instance my fmms icon in 64x64 Hildon I've re-sized to 48x48 without any issue.

mackan1 2010-06-07 11:11

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by biggzy (Post 701505)
heres the screenshot ..
Attachment 10693

there smaller than the stock, i can make it smaller tho.


lol nice song :)

AlMehdi 2010-06-07 11:28

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by D4rKlar (Post 703309)
Maybe I've got the wrong end of the stick here but I've found that if you keep the icons in the same folder but just change the size you can edit the icon size on the desktop.

For instance my fmms icon in 64x64 Hildon I've re-sized to 48x48 without any issue.

That is what i have done in the above screenshot. The problem in this procedure is that even though the visual part is 48x48 the transparent/clickable part still is 64x64. You can test this by clicking just beside the icon.

This would not be a problem if you have a singualar shortcut but when you do as I and put the side by side. The chance of misclick is high.

biggzy 2010-06-07 11:37

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by mackan1 (Post 703319)
lol nice song :)

lol one of my guilty pleasures, i do listen to some crap i must admit.

Matan 2010-06-07 11:47

Re: resizing the program icons on desktop?
 
With this hildon-home, you can set the size of the shortcut widgets with the command
Code:

gconftool -s /apps/osso/hildon-home/task-shortcuts-size -t int 64
You should restart hildon-home after changing the size.

http://my.arava.co.il/~matan/770/n90...+0m5_armel.deb
http://my.arava.co.il/~matan/770/n90...6-2+0m5.tar.gz

No!No!No!Yes! 2010-06-07 11:57

Re: resizing the program icons on desktop?
 
Please have a look to this post for the matter...

AlMehdi 2010-06-07 12:39

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by Matan (Post 703358)
With this hildon-home, you can set the size of the shortcut widgets with the command
Code:

gconftool -s /apps/osso/hildon-home/task-shortcuts-size -t int 64
You should restart hildon-home after changing the size.

http://my.arava.co.il/~matan/770/n90...+0m5_armel.deb
http://my.arava.co.il/~matan/770/n90...6-2+0m5.tar.gz

Thank you so much! I guess the string for me would be..
Code:

gconftool -s /apps/osso/hildon-home/task-shortcuts-size -t int 48
Will do some experimenting when i get home ;)

AlMehdi 2010-06-07 12:53

Re: resizing the program icons on desktop?
 
I could of course not wait.. and tried it. Worked flawlessly. Thanks again Matan. Guys like you are the real heroes of Maemo ;)

AlMehdi 2010-06-07 14:58

Re: resizing the program icons on desktop?
 
Matan: Would i be able to do the same with the contact-shortcut? Or does the .deb need to be hacked again?

Matan 2010-06-07 15:31

Re: resizing the program icons on desktop?
 
I don't know. I don't see anything about contact shortcut widgets in hildon-home.

AlMehdi 2010-06-07 16:20

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by Matan (Post 703640)
I don't know. I don't see anything about contact shortcut widgets in hildon-home.

Cool! I found it in another thread. There is no need for a hack as it seams. Don't know if it works but seams like it. http://talk.maemo.org/showpost.php?p...9&postcount=16

AlMehdi 2010-06-07 16:28

Re: resizing the program icons on desktop?
 
1 Attachment(s)
Mission accomliced! Thanks to Matan and some Imagemagick. This how it looks now.

bugelrex 2010-06-07 16:33

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by zoner (Post 701425)
I use the QueenBee widgets to script a call to a certain number

See the icons on the lower left - office, farm, & rach

it's a one-click call. I'm sure you could do the same thing to launch applications and you can size the icon to whatever you like.

the queenbee code for a call
Code:

dbus-send --system --type=method_call --print-reply --dest=com.nokia.csd.Call /com/nokia/csd/call com.nokia.csd.Call.CreateWith string:"$NUMBER" uint32:0
edit- sorry op, just saw you didn't want to mess with the widgets...it works though /edit

How did you get the calender to show on your desktop in that montly format? Looks awesome

AlMehdi 2010-06-07 16:56

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by bugelrex (Post 703707)
How did you get the calender to show on your desktop in that montly format? Looks awesome

A pretty simple QBW. Acctually NONONOYES! and a google search on date time formats did it for me.

Code:

echo "<span font=\"15\"><b>`date+"%A, %-Y-%m-%d - Week %V"`</b></span>"

AlMehdi 2010-06-07 17:26

Re: resizing the program icons on desktop?
 
1 Attachment(s)
How to shrink your application shortcuts

1. First you need to download the customized hildon-home by Matan.
http://my.arava.co.il/~matan/770/n90...+0m5_armel.deb

(Note: Sometimes the Application manager wants to upgrade hildon-home. Don't. That will just install the stock hildon-home)


2.1 Then in terminal to install: sudo dpkg -i /home/user/MyDocs/Download/hildon-home_0.3.66-2+0m5_armel.deb
2.2 Set it to the size you want: sudo gconftool -s /apps/osso/hildon-home/task-shortcuts-size -t int 62 (Where "62" will need to be the size you choose of the AppletShortcut images.)

3. Then install ImageMagick: sudo apt-get install imagemagick

(The complete step 4 can be done diffrently. Chose your preferred way. This is how i did it.)
4.1 Install Openssh-client to download the complete icon and theme folders to your desktop computer:
4.2 sudo apt-get install openssh-client
4.3 scp -r /usr/share/icons user@ip-number:/home/n900
4.4 scp -r /usr/share/themes/<your theme> user@ip-number:/home/n900

Look in the different folders on your desktop computer on what to change. Then go back to the n900 and use:

(4.5 To send the files back to the n900 from the n900: scp -r user@ip-number:/home/n900/theme/file.png /usr/share/icons/where the original file where/)

(If you want to find a single png file on the n900: find /usr/share/icons/ |grep <file>)

(examples)
5.1 cd /usr/share/icons/hicolor/64x64/hildon/
5.2 sudo mogrify -resize 48x48! *.png (this will change all the png in the /hildon folder)

(i have the humanity theme so i will edit the shortcut background in the humanity folder)
5.3 cd /usr/share/themes/humanity/images/ApplicationShortcutApplet.png And sudo mogrify -resize 62x62! ApplicationShortcutApplet.png

5.4 cd /usr/share/themes/humanity/images/ApplicationShortcutAppletPressed.png And sudo mogrify -resize 62x62! ApplicationShortcutAppletPressed.png

(change the location and file that complies to you in #5)

6. Restart Hildon-home to see the change: sudo pkill hildon-home

If something got wrong and you don't know how to get it back. First change to another theme. Then reinstall your theme: apt-get remove --purge humanity-theme and apt-get install humanity-theme

When it is done:

zoner 2010-06-07 19:26

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by bugelrex (Post 703707)
How did you get the calender to show on your desktop in that montly format? Looks awesome

it's in the repositories - simplecal desktop calendar widget

CepiPerez 2010-06-07 19:54

Re: resizing the program icons on desktop?
 
@AlMehdi:
Something is missing in your post:

http://i48.tinypic.com/2wh1m4o.jpg

A little help please

AlMehdi 2010-06-07 20:02

Re: resizing the program icons on desktop?
 
Quote:

Originally Posted by CepiPerez (Post 704110)
@AlMehdi:
Something is missing in your post:

http://i48.tinypic.com/2wh1m4o.jpg

A little help please

Ahh.. yes. Forgot to put in Matans gconf string.. ;) sorry. I'll edit the howto.

Code:

sudo gconftool -s /apps/osso/hildon-home/task-shortcuts-size -t int 62

Mike Fr 2010-06-07 20:36

Re: resizing the program icons on desktop?
 
Thanks for all the tips guys! Although it is not that easy, it is certainly worth it and I will give it a try later.


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

vBulletin® Version 3.8.8