Fading Memories

About

Ramblings about books and other things that will soon fade from my memory.

Boudewijn Rempt

index | rss1.0

Check out my sculpture website: www.boudewijnrempt.nl.

There's more...

Creative Commons License
The original artwork is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

Roundabout through identi.ca

    follow me on Identi.ca

    Categories, too

    Find


    Archives

    Other things here at valdyas.org

    2008-12-28

    OpenSUSE 11.1

    I thought it'd be a tolerably good idea to celebrate boxing day with installing OpenSUSE 11.1. After all, given that this laptop is a Thinkpad X61t with built-in tablet, installing a new version of any distribution tends to be interesting.

    And indeed, I ran into two glitches: at first, OpenSUSE 11.1 refused to install my chosen grub configuration. Putting grub on the mbr fixed that, but it was quite a bit of a bother since my laptop didn't boot except from the external cd drive. But it was also my own fault for accidentally pressing the wrong key in the dialog that asked me whether I wanted to revisit my grub options or install anyway.

    The tablet was a bit harder to get working, although the fix is simple and detailed in this bug report -- simply use ttyS4 instead of ttyS0, which used to be the right port to use for a tablet pc. And you know what? The touch screen of this laptop works, too, now! Only I have to use a nail, not my fingers. I think it's time to send Danny Kukawka cookies :-).

    Now everything is fine, and rotating the screen with krandrtray very, very nearly works perfectly: only the wacom input devices aren't told about the rotation yet.

    If I get that configured correctly, I'll be totally happy. Sound works, wireless network works (but it's still more convenient to use ifup instead of network manager, but the 11.0 bug where I'd have to restart the wireless network after booting to get it working is fixed. KDE looks great and feel very stable and I'm already recompiling KOffice.

    Next: give it a try on the kids' laptops.

    Update:

    Of course, don't forget to manually change the device names from Mouse[x] to stylus and eraser in your xorg.conf: otherwise Krita won't work. And the following script, copied & bug-fixed from Thinkwiki makes the rotation work just fine:

      #!/bin/sh
    
    output="(normal left inverted right)" #LVDS
     # if [ "$XROT_OUTPUT" ]
     # then     
     #         output=$XROT_OUTPUT;
     # fi
    devices="stylus cursor eraser"
    
    geomnbr=0
    xrandr=normal
    wacom=normal
    if [ "$1" == "-" ] || [ "$1" == "+" ] || ! [ "$1" ];
    then    
            operator="$1";
            [ "$1" ] || operator='+';
            case `xrandr --verbose | grep "$output" | sed "s/^[^ ]* [^ ]* [^ ]* ([^(]*) \([a-z]*\).*/\1/"` in
                    normal)         geom=0;;
                    left)          geom=1;;
                    inverted)       geom=2;;
                    right)          geom=3;;
            esac
            let geom=${geom}${operator}1+4
            let geom=${geom}%4      
    else    
            geom="$1"
    fi
    case $geom in
            1)      wacom=2; xrandr=left ;;
            2)      wacom=3; xrandr=inverted ;;
            3)      wacom=1; xrandr=right ;;
            *)      wacom=0; xrandr=normal ;;
    esac
    
    echo "xrandr to $xrandr, xsetwacom to $wacom" >&2
    
    if xrandr -o "$xrandr"; then
            for d in $devices
            do      
                    xsetwacom set "$d" Rotate "$wacom"
            done
    fi
    
    if [ "`xsetwacom get stylus Mode`" == '1' ]; then
            for d in $devices
            do      
                    xsetwacom set $d CoreEvent "off"
                    xsetwacom set $d Mode "off"
            done
            { sleep 1;
            for d in $devices
            do      
                    xsetwacom set $d Mode "on"
                    xsetwacom set $d CoreEvent "on"
            done; } &
    fi
    

    My changes are to actually use the $d from the $devices and to add the eraser...


    2008-12-21

    Free software project hosting

    It used to be that there was only Sourceforge and DIY hosting for free software projects. Sourceforge was easy to setup, but incredibly slow. Nowadays it's still incredibly slow, and their download pages are stuffed with advertisements like a Christmas turkey. And DIY hosting is a chore, what with maintaining all the necessities and niceties for an open source project: forum, wiki, source revision system, bugtracker, blog aggregator, news pages, tutorials, downloads.

    Nowadays there are more and more options available: Savannah, Berlios, Github, Gitorious, Google Code...

    But, for a little, Qt-only experimental project of my own, is there one that has all the necessities:

    • Project hosted under it's own domain name, like mycoolproject.org
    • wiki
    • forum
    • bugtracker (bugzilla or mantis, not trac!)
    • static html
    • blog aggregator
    • doesn't need to be free, but shouldn't cost more than about ten euros a month

    Or does this list (especially requirement #1) mean I have to go the DIY route after all? Answers on a postcard please, since I haven't been able to find one that suits me in all respects. Right now I'm leaning towards google code + gitorious, but that doesn't give me my domain name.


    2008-12-19

    I didn't know that Roop and Girish had a blog, too

    But here it is, and shows a nice picture of the app we've been building together. At the same time Nine's Hyves blog about the photouploader was replaced by a more official, but slightly less accurate blog by one of the Hyves founders. It gets downloaded quite a lot, which adds to the general feeling of having done a good job that this Gang of Four share.

    Meanwhile, we are learning about this cross-platform binary release business. Apparently our linux version, which has always been perfectly anti-aliased on our machines, suddenly shed its anti-aliased font rendering on Thomas Zander's computer. And the sound, which works on Ubuntu, doesn't work on OpenSUSE. There's only one real solution, I'm afraid: making it GPL and getting our users to compile it for themselves :-).

    And today? I'm giving Qt 4.5 a try and taking a look at the Qt Creator source code. It's pretty interesting to see the code of a big Qt application that's not part of Qt or KDE, and it makes me think of platforms. I mean, an application like Krita is built on a stack of platforms: Qt, KDE and KOffice. What advantages and disadvantages does that stack give us? But that's a topic for another, longer entry.


    2008-12-18

    Release frenzy

    So, today we not only have Canarias, the second beta of KDE 4.2 (which is seriously cool), and the release of OpenSUSE 11.1 (which is seriously cool), but at Hyves, Arend (ex-Krdc hacker) and me (krita hacker...) released the first version of the Hyves Desktop!

    It's "only" a beta, and right now only Gold Members of Hyves can download it, but they are free to pass installers onto their friends and their friends unto their friends unto the nth generation.

    But we did it! In only about four months we, that is Arend, me, Girish and Roop (of KOffice ODF fame) managed to hammer out a chat application with built-in photo uploader and blog/photo/news viewer. And it runs on Windows, OSX and Linux (though you probably won't have sound on OpenSUSE -- blame the gstreamer backend of phonon)

    I'm a bit dizzy (also because of the celebratory beer) and excited and all that. This has been a cool ride. And now for a nice holiday and then for the final release -- which will be usable and useful for just about half the population of the Netherlands.

    And I even managed very nearly at least one commit to KOffice this week, even though those were small commits :-)