1. Switched from Catorise to ApMeFo

    Maemo5 (which is running on Nokia N900) has application launcher which by default lists all entries in some kind of order. There is a way to move icons but when you have too many of them it becomes not comfortable enough to use.

    There are few ways of dealing with it. First was MyMenu application, then Catorise got born and some time later ApMeFo arrived on scene. Few months ago I installed Catorise, hacked it a bit (and got my changes merged) and it was fine. Automatic sorting of applications worked fine, there was a way to force icons to be placed in other categories then default given. Someone even wrote GUI for moving icons from folder to another.

    But there was also thing which I started to miss one day — no way to create own categories. Or at least I did not found such one. So I asked on IRC one day and got suggestion to try ApMeFo.

    Installed, started GUI and WTF!?! Interface was (still is) disaster. Uninstalled it but promised to get back to it after vacations. And I did. I even keep it installed and use it. But let’s start from beginning.

    How did I moved from Catorise to ApMeFo? First made a backup of setup so I could check which application was in which category. Then used ApMeFo to create basic folders and added one app into each of them. Next step was in ViM where I edited all sub menu files to contain entries from Catorise setup, edited order, moved some into other categories.

    Now I am waiting for ApMeFo author to return from his vacations as I would like to improve UI a bit but sources present in ‘Extras’ repository are not complete (files are generated from *.ui files saved by Qt Designer).

    Written by Marcin Juszkiewicz on
  2. Today is GPRS day

    I wake up quarter past 6 in the morning. Some time later went to my desktop to check does something happened during night. Usually it means IRC highlights or new emails but today it was something other: network outage.

    OK, I told — there are other things to do like buying train tickets, making few calls, breakfast etc. But I returned home 2 hours later and situation did not changed. Cable modem still blinks with “DS” led… After call to isp (UPC) I got information that there are some modernization works in progress and will be ended at the end of hour. But hour later it was still “at the end of current hour”…

    As I had to be at work I took my Nokia N900 from pocket and launched X-Chat to give network outage information to my coworkers. And started to think how to fix situation…

    Lack of sleeping seats in train forced me to change train so I will take my laptop with me to be in contact during trip. So I had to learn how to use N900 as modem anyway.

    So how to do it? Thanks to blog post by Marius Gedminas I had easy way. As I prefer to not have cables hanging and like to have more battery power I had to limit myself to BlueTooth.

    Nokia N900 side: installed “bluetooth-dun” package which starts “dund” so “Dial-Up Networking” appears in list of offered services.

    Desktop side: BlueDevil detected phone but handles only OBEX and Audio profile ;( Thanks to one of comments on Marius’s blog post I installed “blueman” and used it to connect to N900/DUN service. This allowed me to use NetworkManager to connect to internet.

    Laptop side: Also BlueDevil and “blueman” are installed but I did not used them. Instead I altered default routing and got crazy setup: laptop -wifi-> router -ethernet-> desktop -bluetooth-> n900 -gprs-> internet.

    Setup works properly. Modem still blinks with “DS” led…

    Written by Marcin Juszkiewicz on
  3. 25th anniversary of Commodore Amiga

    When I was walking though Prague with my beloved wife the world was celebrating 25th anniversary of Commodore Amiga.

    First time I met Amiga in early 90’s. My friends had Amiga 500/500+ models and another one (Rafał Kotyński) just bought Amiga 1200 to replace ageing Commodore 64. And due to him I got impressed by power of AmigaOS and how much things could be done on limited resources.

    In September 1995 I bought Amiga 600. It was old at that time but allowed to connect hard drive which I bought on 10th October same year. Why I remember that date? My A600 lacked RTC so each time I booted system it set date of creation of system partition as current one. With 1MB of RAM and ~400MB of storage it was nice platform to learn programming.

    My first application was written in High Speed Pascal and it was very simple antivirus as lot of my files was infected with “Happy New Year 1996” crap. I remember that I compared clean and infected file, disassembled both and removed all entries to virus code. Some time later I got Virus-Z and it cured whole system.

    After few years I sold a bit upgraded version (2MB ram) and kept hard drive for Amiga 1200 model. New hardware, new possibilities. Faster cpu, more graphics capabilities which I did not used because my primary display was still 12” green monitor which I used with my 8bit Atari 65XE in a past. 704x260 resolution was not so great so when something got broken again I bought “new” display for my machine: 14” vga mono monitor. Move to 720x480 in 16 shades of grey was big change.

    GuardAmy
    GuardAmy
    BookCon
    BookCon

    I selected all shades to follow MagicWB colour scheme as much as it was possible and converted wallpapers using script in ADPro. Effect was nice and usable.

    For most of time I used this computer for programming, entertainment and many others but games (which for many people were main reason to buy Amiga) never took most of my time. There were two exceptions: Civilisation and Angband (including variants). Those took me hours and hours.

    What I liked in Amiga was operating system. When it appeared on market there was MacOS, Atari TOS and Microsoft did not yet had usable Windows released. Many things were great:

    • multitasking — before it was only in Unix systems
    • DataTypes (think “codecs” for any kind of data — open/save files in different formats without having to use lot of libraries)
    • localisation — currently *.po files shows that idea was right
    • flexible partitioning scheme - no /dev/sdaX, no C: but partitions which could have own names (DH0: by default, SH0: on my system) and filesystem labels (Boocik:, Szafa: were what I used)
    • Magic User Interface toolkit — user could configure look & feel at a level which no other UI toolkit ever provided
    • assigns — all fonts resided in Fonts: but this could be a list of directories (something like $PATH but more advanced)
    • ability to replace any library call with own code — this gave a possibility to improve system behaviour in a ways which authors never thought about
    • screens — hard to describe for those which never used — extra desktops for use with applications does not even give half of it
    • RAM disk which took only required amount of memory
    • Reset proof fixed size RAM disk (which could be used as system boot drive)
    • two stage icons with application configuration stored inside (in tooltypes)
    • comment field in filesystem for any object
    • XPK and XFD libraries which allowed to (de)compress any kind of data with any available method

    And lot more.

    I wrote few applications for AmigaOS. Some of them became popular and I was able to expand my computer with addons with money which I got from registrations (yes, I wrote shareware program). It started with 68000/1MB ram when I had to close code editor (great CygnusEd) to be able to compile to 68040 cpu with 64+2MB of memory at the end. AmigaE was language which was both easy to use and powerful to write programs never mind how complex. Add few libraries to it and you can do anything. Today even ‘hello world’ takes few kilobytes on my Linux system ;(

    I could buy 386sx instead of Amiga 600 but then all I would learn would be how to do things in MS DOS or MS Windows 3.x as there was no x86 people around which would use Linux, BSD or OS/2. This would be lost years as now after few years of using AmigaOS I know what good operating system can give to hardware when resources are very limited.

    A dla tych, co dotarli do końca polecam także post napisany przez Opiego.

    Written by Marcin Juszkiewicz on
  4. Ubuntu/Linaro Platform Sprint in Prague

    This week I spent in the Hildon Old Town hotel in Prague as Ubuntu Platform Sprint took place there. Linaro project was part of it.

    It was good time. I met many developers, connected faces to nick names (as usual) and wrote some patches. Today it looks like my work items for Maverick alpha3 release are “done” — all changes are reported as bugs, linked to my “cross compiler packages” blueprint and discussed with proper developers. The goal of my work is “armel cross compiler” package in Ubuntu Maverick. I know that there are people in team which will make use of it when it becomes available.

    But for next event I really need to take isolating headphones as there are too much noise in room — few groups of people speaking, air condition etc.

    Evening events were interesting — I met Czech developers from OpenEmbedded project, had occasion to listen to Nicolas’s Pitre stories about his developer experience and long discussions on many different subjects. And of course Czech beers ;) Too bad that main one here is Pilsner Urquell as I can buy it in any local shop in Szczecin. But they also had Staropromen which was quite ok.

    Prague is nice city. I did not made lot of sight-seeing but this weekend I will spend with my wife Ania so it will be done ;D We plan to see some of popular places and try to find those less popular ones but due to time limits there will be some left for next visit.

    Written by Marcin Juszkiewicz on
  5. I am old fashioned

    I use KDE since 2004 (do not remember which version it was). Lot of things changed during that time. But not my X11 session use.

    Since beginning of my Linux use (in 2000) I use one set of virtual desktop. Their amount changes from time to time but there are always at least 4 of them (six at the moment):

    1. work area” — terminal, gvim (few copies of each)
    2. web area” — here I have web browser (now it is chromium, was firefox, galeon in past)
    3. mail/news are” — mail/news reader (kontact with kmail/knode, was sylpheed-claws at some time)
    4. misc area” — here I run software which do not fit to first three

    Terminal application changes from time to time. First it was GNOME-Terminal from GNOME 1.4, then Konsole, xterm, uxterm, rxvt-unicode, eterm and few others but after experimenting with many I stayed with Konsole. It has tabs so allows me to run many sessions in one window. Some of tabs have “screen” attached as this allows me to quickly get another shell in working directory and also easy way to log any output (“tee” sometimes got blocked). With recent KDE 4.x changes I started to using “window grouping” to split tabs related to other tasks from main terminal. This gives me one terminal window on screen with few tabbed windows in it which can have own tabs which can have screen sessions in them. May sounds strange but it works. And I always have screen with “irssi” running in it (on local or remote machine).

    As editor I use gVim mostly. I kind of mastered it and do not feel good in Kate, Eclipse, JEdit or other “so called normal” editor. Never tried Emacs but do not plan to.

    During UDS-M when I told that I am using MPlayer for all videos reaction was interesting. I got list of modern video players (mostly GStreamer based ones) which I should switch to. But I really do not see a need for it. MPlayer maybe is pain in the ass sometimes but it plays everything I have, adds subtitles in a way which I like, has controls on keyboard which I remember and allows me to seek instead of fast forwarding during watching film. Ok, on devices like BeagleBoard I probably can get better results with GStreamer based apps but thats due to codecs which can use DSP.

    I never liked Konqueror — always used Gecko based browser. It was Galeon 1.x in past, Phoenix/Firebird/Firefox later, Chromium now. Tried Opera (UI never managed to integrate with look&feel of my desktop) and few other browsers. Chromium is nice but has some drawbacks. Maybe some will be fixed/changed.

    Even removable storage I most of time handle with “pmount” command. It works fine for me and I do not like to have all my pendrives/memory cards/etc to be auto mounted. How will I notice which is which in situation when I plug 2 same ones… And UUIDs or filesystem labels are not solution probably. But maybe I will change that in next months.

    But back to desktops. KDE 4 has widgets on desktops, activities and few other buzz words. I do not use them. Ok, panel has few widgets integrated but it is still panel. I simply do not see a use case on my desktop for most of widgets. Even after trying them.

    So if someone wonder why I do not use something which “everyone is using” then I hope that I gave an answer.

    Written by Marcin Juszkiewicz on
  6. Ubuntu cross compilers

    Some time ago developers from Linaro asked me to provide cross compilers which will target ARM. I did setup two (amd64 and i386) chroots with maverick and started builds.

    Result is available at my area of people.canonical.com server as normal APT repository. Currently I provide gcc-4.4, gcc-4.5 and binutils there + all ARM libraries which are needed. And this is bare toolchain — you can build kernel with it or hello.c but if you want something more complicated then you will need additional libraries.

    Building of those toolchains was easy. Much more time consuming was improving packaging rules. I merged all cross ones into native related so (according to diffstat) over 1600 lines were removed. And that was not all — I am finding new things each day so lot of rebuilds happen. Thanks to Matthias Klose (also known as doko) who is Debian/Ubuntu gcc maintainer all those changes were reviewed, fixed, improved, accepted and released in last versions of “gcc-4.4” and “gcc-4.5” packages in both those distributions.

    UPDATE: all those packages are available in Ubuntu 10.10 (and later) repositories.

    Written by Marcin Juszkiewicz on
  7. Seeking or fast forwarding?

    Two months ago I bought my first television set: 42” Panasonic plasma. And as TV without cable is not so useful I also got cable TV with their set top box. One of features which STB has is possibility to record TV shows. It also automatically record during watching so pausing film just because of something is not a problem.

    But watching already recorded TV shows gives me strange feeling… That’s because of a way of moving backward/forward in the film. It works like in old video tape devices :(

    When I am watching films on my computers I am using MPlayer for it. On cursor keys + PgUp/PgDn ones I have seeking for 10s/1m/10m which is immediately jump. On set top box I got fast forwarding instead which does not allow me to quickly jump over commercials or part of previous show which got recorded before main show. Same problem appears on Philips MCD-712 player which I use to watch DVD/DivX/Xvid films. It gives x1/2/4/8/16/32 playing speed but no seeking to which I am used.

    I wonder when vendors will notice that more and more customers never used tape based devices (never mind video or audio ones).

    Written by Marcin Juszkiewicz on
  8. Switched to ATI Radeon

    Some time ago I mounted my old monitor to the wall and configured my system for dual head. With NVidia 7300GT card setup was easy — Twinview handled it quite ok after fixing configuration so panels were properly setup and located:

    • 24” on the left with 1920x1080 resolution as primary display
    • 20” on the right with 1680x1050
    My monitor setup
    My monitor setup

    But after few days I decided that enough is enough. From time to time I had X11 session where maximizing window == placing it on two monitors (which was pain when second one was off or switched to BeagleBoard output). I do not have to add how uncomfortable it was…

    So after discussion with few friends I decided to give a chance to ATI and bought Radeon HD5450 card. It is nearly cheapest card on that chipset (I bought DDR3 one instead of cheap DDR2 one) but it feels faster then GeForce 7300GT which I was using before.

    But dual head setup is still a problem. Ok, X11 can now start without “/etc/X11/xorg.conf” file (I needed it with NVidia card) but after X session start I need to use XRandR to:

    • switch panels to native resolution (instead of 1680x1050 for both)
    • change orientation (20” on the right to 24” instead of cloning)

    And then I have few strange things in system:

    • KDE panel does not enlarge with resolution change
    • RSIBreak blackout is only on 1680x1050 area of 24” panel

    So it looks like in near time I will continue fight with creation of proper “xorg.conf” file to get my displays configured properly out-of-box. I wonder when situation will change as it looks now that there is no standardized way to tell which display is which in configuration file (both panels are Samsung, both give “SAM” as name in EDID).

    Written by Marcin Juszkiewicz on
Page 49 / 106