I Might Be Wrong

Preview of our new Maemo theme

Posted in Maemo, Python by Leif Ryge on September 21, 2008

Ian and I have been working on a new release of our LCARS packages, featuring a number of bug fixes as well as a new theme called “Okuda”:
"Okuda" theme running on N810

If all goes well, we should be ready to release this within the next 48 hours. All four of our themes now include icon templates, which we’re slicing with hildon-theme-slicer (the same way that the main theme template is processed). This is what the icon template for the Okuda theme looks like:
Anyone else wishing to create a hildon-theme-tools (and ThemeMaker) compatible layout definition might find this Python script helpful:

"""Generate a hildon-theme-tools layout from variously sized images.
Edit script to specify desired margin, width, and origin (dx,dy).
usage: hildon-theme-layout-grid-generator.py `find icons|sort|grep png`

__author__ = "Leif Ryge <leif @synthesize.us>"
__license__ = "no rights reserved / public domain"

from sys import argv
from PIL import Image

margin, width, dx,dy = 10, 600, 0,0 # margin, output width, starting coords
sizes = {}

for f in argv[1:]: sizes.setdefault(Image.open(f).size,[]).append(f)

print "[Main]\nTemplateWidth=%s\nTemplateHeight=%s\n\n[Elements]" % (width, \
    sum((h+margin)*(len(sizes[w,h])/(width/(w+margin))+1) for w,h in sizes) )

for w,h in sorted(sizes):
    column = width / (w+margin)
    row = 1 + len(sizes[w,h]) / column
    print "# %s images are %sx%s (%sx%s grid)" % (len(sizes[w,h]),w,h,column,row)
    for i, f in enumerate(sizes[w,h]):
        print "%s=%s,%s,%s,%s" % (f, dx+(i%column)*(w+margin),
    dy = dy+row*(h+margin)

The actual template can then be created from existing images using Nokia’s hildon-theme-regenerator tool.


59 Responses

Subscribe to comments with RSS.

  1. Anthony said, on September 22, 2008 at 7:48 am

    I think from the look it’s very good. Drop me a e-mail When it’s ready..

  2. elhumano said, on September 22, 2008 at 8:20 pm

    It’s like the startrek computer

  3. ACTPOHABT said, on September 22, 2008 at 10:43 pm

    How do I install this theme when it’s out? I love it!!!

  4. app development cost said, on January 11, 2013 at 4:03 am

    Appreciating the dedication you put into your blog
    and in depth information you provide. It’s awesome to come across a blog every once in a while that isn’t the same outdated rehashed information.
    Wonderful read! I’ve bookmarked your site and I’m adding your RSS feeds to my Google account.

  5. Keeley said, on January 30, 2013 at 6:45 pm

    I’ll immediately grab your rss as I can not in finding your e-mail subscription link or e-newsletter service. Do you have any? Please permit me understand in order that I may just subscribe. Thanks.

  6. Women in Waders 2013 Calendar said, on February 14, 2013 at 2:12 pm

    Hi there! I just wish to give you a big thumbs up for your great information you
    have got here on this post. I will be returning to your
    website for more soon.

  7. Outdoor Living Area said, on February 28, 2013 at 10:02 pm

    What you posted was very reasonable. However, what about this?
    what if you wrote a catchier title? I ain’t suggesting your information is not good, but suppose you added a headline to possibly get a person’s attention?
    I mean Preview of our new Maemo theme | I Might Be Wrong
    is a little boring. You should peek at Yahoo’s front page and note how they create article titles to get viewers to open the links. You might try adding a video or a related pic or two to grab people interested about everything’ve got to say.
    Just my opinion, it could make your blog a little livelier.

  8. healthcare organizations said, on March 2, 2013 at 4:48 pm

    I’m not sure why but this site is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later
    and see if the problem still exists.

  9. Doreen said, on March 2, 2013 at 10:48 pm

    I’m truly enjoying the design and layout of your site. It’s a very easy on
    the eyes which makes it much more enjoyable for me to come here and visit more often.
    Did you hire out a designer to create your theme? Outstanding

  10. ebooks on electronics said, on March 3, 2013 at 3:05 am

    Hi there friends, pleasant paragraph and pleasant
    arguments commented at this place, I am genuinely enjoying by these.

  11. GolfScoreGenius said, on March 5, 2013 at 10:43 am

    Amazing! I’m genuinely enjoying the design of your website. Are you using a custom made template or is this freely available to all users? If you do not want to say the name of it out in the public, please be sure to e-mail me. I’d love to get my hands on this theme!

  12. electra vx male enhancement review said, on December 23, 2013 at 4:23 pm

    Currebtly it looks like Movable Type is thee top blogging platform out there right now.(from what I’ve read) Is that what you’re useing on
    your blog?

  13. Boyce said, on May 26, 2014 at 7:51 pm

    Don’t look for it on prepaid carriers; they just recently got
    the Galaxy S2, and it costs more than you probably want to pay up-front
    if you’re going prepaid. However, Samsung has placed a sensitivity feature on its screen. Swarovski cases aren’t cheap
    and often have a cost that might discourage many people but for
    individuals who are definitely into bling cases that do not look cheap
    it might really be a whole lot.

  14. What’s up everyone, it’s my first pay a quick visit at
    this website, and paragraph is actually fruitful designed for me, keep
    upp posting such content.

  15. Hi there, the whole thig is going well here and ofcourse every one is sharing data, that’s
    really good, keep up writing.

  16. mature housewives said, on July 2, 2014 at 1:24 pm

    I just like the valuable information you provijde in your articles.
    I will bookmark your weblog and check once more right here regularly.
    I am rather sure I’ll be told a lot of neww stuff proper right here!
    Best of luck for the next!

  17. how to get laid fast said, on July 5, 2014 at 12:53 am

    My developer is trying tto persuade me to move to .net from PHP.
    I have always disliked the idea because of the costs.
    But he’s tryiong none thhe less. I’ve been using WordPress on a variety of websites for about a year and
    am concerned about swwitching to another platform.
    I have heard fantastic things about blogengine.net.
    Is there a way I can transfer all my wordpress posts into it?

    Any kind of help would be really appreciated!

  18. get laid said, on July 8, 2014 at 5:23 pm

    Heya i’m ffor the primary time here. I came across this board and I find It truly
    helpful & it helped me out a lot. I’m hoping to give somethhing
    back annd help others such as you helped me.

  19. What’s up Dear, are you in fact visiting this site daily,
    if so afterward you will definitely take fastidious knowledge.

  20. plexus slim cleanser said, on July 29, 2014 at 5:14 pm

    Magnificent beat ! I would like to apprentice while you amend your
    web site, how could i subscribe for a blog web site?
    The account helped me a acceptable deal. I had been a little bit acquainted of this
    your broadcast provided bright clear concept

  21. 行銷公司 said, on August 4, 2014 at 3:09 pm

    Admiring the timme and energy you put into your website and detailed information you
    provide. It’s good to come across a blog every once inn a while that isn’t
    the same old rehashed material. Excellent read!

    I’ve saved your site and I’m including your RSS feeds
    to my Google account.

  22. nude humiliation said, on August 9, 2014 at 3:40 pm

    Good post however I was wondering if you could write a litte more on this subject?
    I’d be very thankful if you could elaborate a little bit further.

  23. mgt 300 final exam said, on August 9, 2014 at 4:24 pm

    What a data of un-ambiguity and preserveness of valuable experience
    concerning unexpected emotions.

  24. Wonderful web site. Lots of useful information here. I am sending it
    to several friends ans additionally sharing in delicious.
    And obviously, thank you on your effort!

  25. Ivory said, on August 13, 2014 at 6:28 pm

    Whatever the case, cost should never be weighed against
    what you intend to benefit in the long run. Note
    that you don’t need a high school diploma or GED to enter into online CNA training.
    Skills-enrichment courses for blacksmithing,
    forging, ironwork, and ornamental metal work can broaden the range of industries where he can find work.

  26. sem Value plus said, on August 18, 2014 at 1:50 am

    Hi there! Quick question that’s entirely off topic.
    Do you know how to make your site mobile friendly?
    My website looks weird when viewing from
    my iphone 4. I’m trying to find a theme or plugin that might be able to
    fix this issue. If you have any suggestions, please share.

  27. google chrome youtube downloader said, on August 19, 2014 at 5:52 pm

    I read this piece of writing completely on the topic of the difference of most up-to-date and earlier technologies,
    it’s amazing article.

  28. best creatine supplement said, on August 21, 2014 at 8:41 pm

    Thanks on your marvelous posting! I definitely enjoyed reading
    it, you might be a great author. I will always bookmark your blog and will come back in the foreseeable future.
    I want to encourage you to continue your great work, have a nice holiday weekend!

  29. psn code generator online said, on August 26, 2014 at 11:45 am

    Despite the fact that, via NVIDIA’s GeForce Experience software, and develop these techniques
    playstation network and procedures. One has to be on every iOS version but said the platform.

    1 mobile Internet becomes available, but the overall method is similar for

  30. khloe Kardashian Weight loss said, on August 30, 2014 at 8:44 am

    Hello, everything is going nicely here and ofcourse every one is sharing facts, that’s in fact fine, keep up writing.

  31. Weight Loss - Weight Loss Advice said, on August 30, 2014 at 9:20 am

    […] Source: b […]

  32. muscle building for women said, on September 12, 2014 at 5:39 pm

    Hello, I want to subscribe for this weblog to get newest updates, thus where can i do it please help out.

  33. cherries weight gain said, on September 13, 2014 at 4:02 am

    If you are going for finest contents like me, simply pay a quick visit this web
    page all the time because it offers feature contents, thanks

  34. best muscle building protein said, on September 13, 2014 at 6:43 am

    Hello, all is going fine here and ofcourse every one is sharing information, that’s truly
    fine, keep up writing.

  35. Hi I am so delighted I found your web site,
    I really found you by accident, while I was browsing on Yahoo for something else,
    Regardless I am here now and would just like to say thank you for a tremendous post and a all round exciting
    blog (I also love the theme/design), I don’t have time to browse it
    all at the moment but I have bookmarked it and also added your RSS feeds, so when I have
    time I will be back to read much more, Please do keep up the excellent

  36. muscle Building breakfast said, on September 17, 2014 at 1:37 am

    My brother suggested I might like this blog. He was totally right.

    This post truly made my day. You cann’t imagine just how much time I had spent for this information! Thanks!

  37. Jacquelin F. Bregon said, on September 23, 2014 at 2:17 pm

    I go to see each day a few web sites and blogs to read content, except this web
    site gives quality based content.

  38. Eduardo said, on September 25, 2014 at 5:14 pm

    First off I want to say terrific blog! I had a quick question in which I’d
    like to ask if you do not mind. I was interested
    to know how you center yourself and clear your thoughts prior to writing.

    I’ve had a tough time clearing my mind in getting my ideas out.

    I do enjoy writing but it just seems like the
    first 10 to 15 minutes are wasted just trying to figure
    out how to begin. Any recommendations or tips? Kudos!

  39. Laticia Y. Roussel said, on September 30, 2014 at 5:56 pm

    My family members every time say that I am wasting my time here at net, except I know I am getting familiarity
    daily by reading thes fastidious articles.

  40. Jacquelin M. Shin said, on October 1, 2014 at 4:23 am

    naturally like your website however you need to test the spelling on quite a few of your posts.
    Many of them are rife with spelling issues and I in finding it very bothersome to inform the reality however
    I’ll certainly come again again.

  41. youtube.com said, on October 8, 2014 at 1:10 am

    Yesterday, while I was at work, my sister stole my
    apple ipad and tested to see if it can survive a forty foot
    drop, just so she can be a youtube sensation. My iPad is now
    broken and she has 83 views. I know this is entirely off topic but I had to share it with someone!

  42. coffee shop said, on October 23, 2014 at 2:39 am

    I rarely write responses, but after looking at through some of the responses on Preview of
    our new Maemo theme | I Might Be Wrong. I actually do have 2 questions for you if it’s okay.
    Is it just me or do some of the remarks look as if they are left by brain dead people?
    :-P And, if you are posting on other online sites, I would like to follow you.
    Could you list of the complete urls of all your shared pages like your linkedin profile, Facebook page or twitter feed?

  43. There is certainly a whole lot of info that the realtor or seller
    might be reluctant to reveal to you because it might dissuade you
    against purchasing the exact property. Whilst investing in a lavishness apartment, an individual would concentrate with an unrivalled
    area. Real estate investors need to be cognizant of the trends which may effect their investments and population growth
    is one in the most important to track. Ask for his commission amount right with the outset, so that it is possible to
    compare it with others and also against the standard market rares before agreeing to pay up.

    e-platform whereby sellers can sign up to have their properties listed for a tiny fee.There are
    numerous restrictions which can be directly related to financial dealings.
    The city is large enough to offer a lot of cultural activities, but lacks the
    congestion of cities like Bogota. Fiscal experts counsel how thhe mortgage
    loan payments and also other associated costs should use up about 28% of
    a single’s GMI- Gross Monthly Earnings. It is important to
    make certain that the house is in control from the owner so how the price and the handling
    of the rent, sale and purchase is possible. In regards to homes which are older, it can be hard to understand whether age will be a plus or possibly a detriment
    before too long, though the location from the property can occasionally make it precise.

  44. Belladerm Mtf said, on February 10, 2015 at 4:13 pm

    wonderful points altogether, you simply received a brand new reader.
    What may you suggest in regardrs to your put up that you just made some days ago?
    Any positive?

  45. At this time I am going away to do my breakfast, after having my breakfast coming
    yet again to read more news.

  46. กำจัดปลวก said, on June 10, 2015 at 10:40 pm

    Hurrah, that’s what I was exploring for, what a material!
    existing here at this website, thanks admin of this website.

  47. รถแข่งคลอง5 said, on June 28, 2015 at 4:56 pm

    If you desire to obtain a good deal from this post
    then you have to apply these methods to your won website.

  48. Neal said, on July 8, 2015 at 12:12 am

    After exploring a number of the blog posts on your web site, I truly like your way of writing a blog.

    I book-marked it to my bookmark website list and will
    be checking back in the near future. Please check out my website too and tell
    me your opinion.

  49. Phuket Travel And Vacation Tips said, on September 26, 2015 at 7:47 pm

    Why users still make use of to read news papers when
    in this technological world all is existing on web?

  50. Chapter one The Campus Ladprao 1 said, on October 1, 2015 at 1:14 am

    This excellent website really has all the info I wanted about
    this subject and didn’t know who to ask.

  51. washington.tribe.net said, on October 11, 2015 at 2:04 pm

    The violation of the Children’s Online Privacy Protection Act cost Hershey a $85,
    000 settlement with the Federal Trade Commission (FTC).
    I am surprised by the number of clients I represent who do not want to file a claim with their own insurance company for
    PIP benefits. They are reliable and will serve you in the
    best possible way.

  52. Dragon Ball Z Dokkan Battle Hack said, on October 23, 2015 at 1:14 am

    Hi there to every body, it’s my first go to see of this webpage; this blog carries amazing and in fact fine material in support of visitors.

  53. testosterone booster side effects said, on November 15, 2015 at 11:34 am

    Consume some fat: The study has shown that when you consume lokts of
    total fat, saturated fat and monounsaturated fat you witness a proper increase of testosterone in your body.
    Taken in considerable amounts and paired with a consistent exercise
    and diet plan, these foods may indeed, appear tto
    burn fats. Testosterone replacement therapy is the prinary method of how to
    increase testosterone.

  54. testosteron said, on November 29, 2015 at 9:59 am

    But the entire focus of this program is promoting health.
    One of the myths that you might have heard of is, don’t eat white foods.
    This often leads to a variety of digestive disorders and promotes allergies.

  55. Elwood said, on September 6, 2016 at 9:20 am

    It’s an remarkiable article designed for all the online users; they will
    obtain advantage from it I am sure.

  56. Gpo.email said, on December 1, 2016 at 7:41 pm

    Thanks to my father who stated to me on the topic of this website,
    this web site is actually remarkable.

  57. yoga Instructor said, on December 25, 2016 at 3:26 am

    I like this web blog very much, Its a real nice office to read and find info.

  58. Blythe said, on January 12, 2017 at 3:23 am

    Thhis іs a topic that’s close to my heart… Thank you! Exactⅼy
    whedre aare ypur cotact details tһough?

  59. Love Psychics Work said, on April 22, 2017 at 11:15 am

    Oh my goodness! Incredible article dude! Thanks, However I am going through troubles with your RSS.
    I don’t know why I can’t join it. Is there anybody getting similar RSS issues?
    Anybody who knows the answer can you kindly respond?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: