Talpadk’s Blog

August 4, 2010

Finger friendly matchbox theme, now as a Debian package

Filed under: Embedded — talpadk @ 11:23 am
Tags:

 

YouTube video of the theme

 

Edit: The package is apt-get able from the official  pkg-fso.alioth.debian.org

The package is not include in the official  pkg-fso.alioth.debian.org repository yet, but you can download the files HERE.

I still need to figure out if is okay that the changes file is labeled as i386 or what I need to do differently.
But at least it passes “lintian -i -I –show-overrides –pedantic matchbox-theme-finger-friendly_7svn_i386.changes” without any problems.

August 2, 2010

Finger friendly matchbox theme

Filed under: Embedded — talpadk @ 8:15 am
Tags:

YouTube video of the theme

Finger friendly window manages presents special challenges mostly caused by the need for larger controls due to inaccurate finger tapping.
On small screen devices like mobile phones this presents another challenge, we do not want to use too much of our small screen for controls.
On the Neo/Freerunner this is made even more complicated as the bezel around the screen makes it hard to tab the edges.
And the edges are where we normally put the controls.

But Nokia seemed to have succeeded in making the Matchbox window manager finger friendly on the 770.
And while the 770 does have a larger screen, why not our Freerunner?

I am not graphics artist so I am pretty sure that it could have been made to look nicer but here is what I have done.

  • The top window border have been enlarged to 48px, no other border needed.
  • The window chooser and close buttons have been made larger and moved away from the left and right edge.
    (But the entire area left or right of the icon can be clicked)
  • Only a small area above the window chooser displays the window title (also activates the chooser)
  • The font size used for the chooser and application launcher has been increased to allow using them with your fingers
  • The remaining space is used to “dock” the matchbox-panel , so it does not have to use valuable screen estate.

There are still plenty of things that remain to be done most importantly create a Debian package to allow others to install the theme easily.

And since there MUST always be one window open to show the  launcher I should probably while(true) spawn either zhone
or some sort of home window in .xsession.

And something must be done to the launcher, as it does not show half of my installed applications including any terminal (shiver), I could either:

  • Fix the launcher config files, I do belive that can be done…
  • Remove the launcher from the panel and replace it with the “home window” thing.
    This would also free the panel space for extra notification icons

July 31, 2010

Bleading edge the freesmartphone killer?

Filed under: Embedded — talpadk @ 12:24 pm
Tags:
A Winchester knife

Photo courtesy Photos8.com

Ok, maybe not the killer but then at least the delayer.
But it did get your attention right?

As usual I am struggling just to get the phone working as a receiver of SMS messages.
Trying to figure out where gsm0710muxd writes it log files by default I fetched the source.

I know it is sort of deprecated but I’m trying to get my Debian based install up and running.
And the Debian dependency graph lists it as a dependency of fso-frameworkd…

gsm0710muxd states: THIS_IS_DEPRECATED_USE_LIBGSM0710MUX
libgsm0710mux states: DEPRECATED_PLEASE_USE_CORNUCOPIA
And of course there is also
fso-abyss.git the “GSM 07.10 Multiplexer (NG)” (which is deprecated in favour of cornucopia)

To sum it up we have 4 different implementations of a GSM multiplexer… no wonder I am a bit confused which to use.

But why not just “apt-get install cornucopia” and leave the past behind?
Well I would but unfortunately it seems that the bleeding edge phone software needs a bleeding edge “valac 0.9.3-3″
which even the vala developers consider a development release which prevents it from entering the Debian unstable distro.

Being a fan of C and C++ (if you can spare the “disks” space for the std. library)
I sure would have preferred if the more proven and stable platform  C were used than this new kid on the block valac
which I did not even know existed prior to its usage on the Neo/Freerunner.
It sure would make it easier to port it to other distros than SHR.

And then there is SHR and the whole home-grown Illume 1and 2 issue, focus bugs, all new bugs in V2 (I have not tried it as the mailing list scared me away).
Being slightly conservative with regard to this whole new software ting. What is wrong with say matchbox as far as I know it mostly just works.
Okay it is not thumb friendly per standard, but a little themeing seemed to do the trick for Nokia and the 770/800/810.
And GTK seems to do the trick for my desktop PCs, and it seems slightly more stable that the fancy Enlightenment tool kit.
At least I can not remember having any problems giving focus to a text input field.

But is  SHR not the  most advances phone distro?
It is, however it lacks the diversity of available packages of Debian, and I find the the build system beaks way to easily for my taste.

Why do I believe that all this may be harmful?

  • If there are lots of things that do not work you are more tempted to not use the FSO phone this includes UI misfeatures.
    I once used it as my primary phone but have reverted back to an ancient Nokia 6100.
  • Using new tools makes it harder to gain support from the community as less people know them.
  • Lots of rewrites causes bad documentation, as no one has the time to write it.
    It also makes it harder for the occasional hacker to get anything done as everything is new at each rewrite.
    It also puts an increased strain on other distro maintainers as they have to keep up, not only with the new services but also the new dependencies.

Last but not least:
Remember the ones writing the code is always right.
If you don not agree with them do not write blog entries, write code.

To: Michael ‘Mickey’ Lauer, the SHR and Pkg-FSO team
Keep up the good work, I can not imagine how you get any real life activities done as well as coding this much.

July 18, 2010

Renewing your Dovecot SSL certificate

Filed under: Notes — talpadk @ 9:23 am

On my Debian box the following were used:

/etc/ssl/certs/dovecot.pem and /etc/ssl/certs/dovecot.pem were the default locations check your /etc/dovecot/dovecot.conf before running.

openssl req -new -x509 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem -days 3650

/etc/init.d/dovecot restart

I got tired of renewing the certificate so I issued one that lasts 10 years.
(apparently it does not take that much to make me tired)

April 25, 2010

Trapped in a Moko world

Filed under: Embedded — talpadk @ 10:49 am
Tags:

Photo by OZinOH

I am currently trapped in a OpenMoko world, trapped between SHR and Debian.

SHR
Has all the latest and greatest phone software.
And even the latest and greatest phone UI and FSO stack does not have the stability or speed of even the cheapest feature phones yet.

So I want the latest in phone software, even trough it always makes upgrading a risky buisness.
Unfortunately often I can not get the OE build system working , even if my life had depended on it.

No problem I just install the needed software for development on the phone SD card right?
In theory it should work, but even basic things like subversion is missing from the SHR repositories.
(and git and cvs for that matter as well)

Debian
Has all the development toys I could dream of.
Development is easier that pie, just apt-get the things you need and work as usual.
Sure it does not compile as fast as my dual core 2 desktop, but eventually it finishes, and it “just works tm”.
(Actually it compile acceptably fast, even Emacs runs acceptably on it)

But here is the catch…
The Debian maintainer team just can not keep up with the ever changing list of requirements and broken versions of software.
So one is stuck with older versions of the primary software for the phone… The phone software…
This would not be so bad if we had a basic stable semi fast baseline

Conclusion/Final words
I have recently put SHR on my SD card replacing the Debian install that used to reside there.
But this does not quite satisfy me.

I suppose I have a big itch and now I just need find some time to scratch it…

Give a man a program, frustrate him for a day. Teach a man to program, frustrate him for life.

October 10, 2009

Progress not always for the better…

Filed under: Embedded — talpadk @ 3:49 pm
Tags:

I have “ported” my rotozoomer from the Nokia 770 to the FreeRunner/Neo

For a video output speed comparison I have made a video of it running on a Nokia 770, a Neo and a FreeRunner side by side.

Rotozoomer Demo

Rotozoomer Demo on YouTube

The result is somewhat sad, but judge for your self.
Just remember that the 770 has 1.25 times the pixel count of the Neo and it is a lot older too.

Sources are obtainable from the Maemo Garage page.

August 22, 2009

Standup for your freedom…

Filed under: Embedded — talpadk @ 9:25 am
Tags:

I finally got feed up with having my FreeRunner laying flat on the table.
So I decided that it was time to construct a stand for it.

I had some 3mm extruded polystyrene laying around (which I use for building model R/C planes).
It is actually just floor insulating material…

The parts

The parts

Created a simple design for a cradle/stand for the Freerunner.
Sources are include, batteries are not needed.

The assembled stand

The assembled stand

The parts glued together.
(Using “UHU Por”, but regular wood glue would have worked as well.)

The paper was intentionally left on as the floor insulation has groves on one side.

MokoStand after 2 coats of acrylic paint

MokoStand after 2 coats of acrylic paint

Painted the stand to hide the paper and give it a more uniform look.

July 28, 2009

A tale of swap

Filed under: Embedded — talpadk @ 10:19 am
Tags:

A couple of days ago I ran an apt-get operation on my newly reinstalled Freerunner.
Around 30% it paused.
At first I did not think much of it as the first apt-get operation after a boot usually takes longer as the files it uses are not cached in RAM.

After some time I started to get annoyed, apt-get had obviously hung it self.
Tried to start top, everything was bogged down, finally it started.
First thing that struck my eye, a load of 6!
Second thing, most of the processes did not use that much CPU.
Third thing, no swap.

I issued the swapon command, almost immediate improvement.
Something had started eating memory and fast, swap usage climbed like a R/C glider.
It did however level out at some 20-30MB, and best of all apt-get started moving again.

Conclusion:

  1. Swap can improve the operating speed of a Freerunner (might wear the SD card faster, but who cares?)
  2. I hope the next generation free cell phone has more RAM
  3. Apt seems to have some sort of slow fall back in case it can not malloc the RAM it wants. (kudos to the developers of apt for this feature)

June 21, 2009

Debian and the Freerunner

Filed under: Uncategorized — talpadk @ 11:04 am
Tags:

Some time ago I bought a Freerunner as an upgrade for my Neo 1973, I was going to wait for the GTA03 but as you all know it got delayed indefinitely.

Why Debian.
Q) Why Debian?
A) Well I like the fact that it comes with a ton of pre compiled software. Also it behaves just like my regular desktop computer: Development environment, just apt-get install a gcc compiler on the phone and you are set.

Q) Why not a Debian base distro like Neovento?
A) Yet another Debian distro, not again… Also it seems to be geared towards installation onto the internal flash, and I like to install large silly things like emacs, compilers, pcb, gschem, kicad. Also it uses LXDE and I just happen to like Matchbox for embedded devices.

Some historic events
Of course I had bought two Kingston SD-C02G 2GB microSD cards for the Neo 1973 which fails with I/O errors on the Freerunner typically me…
However there is a fix which works for me, well except that the Debian installer at that exact point in time was broken.
Quick fix: Just copy my Neo 1973 install using dd. Install the config for gta02. Works like a charm.

The actual “review”
I bought a Kingston SDC4/8GB as I would like to run the SD controller at full speed, I have not tested this yet but:
The Debian install went smoothly…

The Good

  • Comes pre installed with matchbox, my favorite  window manager
  • Trayer is installed and works just fine
  • openmoko-panel-plugin is installed as default

The not quite so good

  • No way of launching additional applications (no panel app with a start menu installed)
  • I just can not seem to get the WLAN GUIs to work (they anr not installed by default either), command line WLAN works just fine.
  • The default is still running the phone as root. Can not blame Debian as this is still the up stream/FSO way,  I just do not like it that is all.

Conclusion:
The Debian install had included some extra features as default since my last install.
How ever I would like some way of launching additional programs as default, if I just wanted to use zhone I could have installed a number of other distributions.
This can easily be fixed by installing additional software, I guess it is a matter of minimalism to allow the freedom of choice.
Debian still provides a good minimal install for customising your phone, also I like the apt-get upgrade option instead of the eternal complete  re-flash cycle I know from my Nokia N770

April 11, 2009

So you think you need a blog?

Filed under: Misc — talpadk @ 1:59 pm

Well I did would have prefered one that ran on my primary webpage talpa.dk but this was faster to setup.

Why I would want one you ask?
Well as a quick way of writing down notes/hints and to inform the world of the progress of my software project, altleast the part of the world that might care.

« Previous Page

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.