Skip navigation.

Posts tagged with "laptop"

defaults

, , , ...

I have been asked more than once how Opera on UNIX systems decides which applications are handling which MIME types, and which one of these is chosen as the default handler. Let me start off by saying that this is a jungle: each system, each desktop environment, and possibly each version of the environment handle it in some more or less subtly different way. Freedesktop.org has made some attempts at unifying the system of defaults, and has come some way to deciding how to allow applications to declare which MIME types they can handle - but when it came to define the defaults, unfortunately they could not yet agree. It is work in progress, and managing to have a spec for this will make things much more easy. For the time being we are parsing MIME type handlers, not protocols.


Default handlers

Opera checks the following files to find the default handlers. The XDG_DATA_DIRS environment variable tells us where to find most of those files. Typically in /usr/share/mime/ are

aliases
specifies MIME type strings that are aliases to each other;
globs
aid file for guessing MIME type based on the filename;
subclasses
defines a MIME type to be a subtype of another one, so that any handler of the supertype is also a handler for this type;
application/*.xml
XML file to describe a MIME type;

and we also parse:

mimeinfo.cache
maps MIME types to applications with no specific preference;
defaults.list
GNOME file to specify defaults;
*.desktop
desktop files are available for both applications and MIME types;
mailcap
a configuration file to map MIME types to handlers.

The upcoming kestrel version has improved handling of above resources, and will also handle:

gnome-vfs.applications
lists applications and the MIME types each one supports
kderc
provides among other things the path where to find the KDE settings (typically /etc/kderc)
~/.kde/share/config/profilerc
User specific KDE mapping of MIME types to application (and defaults)

We also parse the index.theme file to make everything look much more pretty :smile:

rPath

, , ,

I have chosen rPath Linux:

rPath Linux is designed to be a stable, high-quality, relatively "vanilla" distribution that closely tracks upstream stable packages and is easy to make a derivative distribution from



  • Binary and source packages are available;
  • Vanilla packages, thus unpatched (did I mention that I hate distros patching their packages?);
  • rPath is one of the fastest at updating packages in its repository;
  • Conary (the package management system, or rather the "distributed software management system") promises to be extremely flexible.


That seems to fulfill my primary requirements. So far installation went extremely smoothly on my laptop - will keep you updated on progress.

A short comment to the suggestions:
  • Ubuntu or Kubuntu (or any other *buntu) as well as any other Debian (based) distro are far too heavily patched, and so is Gentoo - I really am not interested in patched distros.
  • Slackware might be somewhat better in that respect, but there I miss the bleeding edge.
  • Arch is a distro I have been having in mind as an option, and for a long time I was undecided between Arch and rPath, until I finally decided for the latter, for now - but Arch is still a distro that looks interesting and its development is worth being followed.
  • If I'd be to move away from Linux, I'd rather switch to Plan 9 than to other UNIX systems.

turn

, , ,

My current Linux system is something I'd call "based on SUSE 9.3": once upon a time this was SUSE, but has since grown into something very different, where I have manually updated most applications. It has reached a stage where it gets more and more tricky to maintain - the YaST package manager had its final fit today, upgrading a package - that I could not start anymore afterwards because of package dependencies. So I am looking for something else - and before you suggest some other OS: I am interested in Linux.

Requirements:

  • Binary and source packages should be available;
  • they should be as unpatched as possible (I don't like distros applying their own patches);
  • it should have a bleeding edge branch with most-up-to-date packages;
  • the package manager of the distro should be flexible enough to ideally be able to handle manual upgrades of the packages - but at least to allow the installed base to be expanded;

The installed system should offer
  • a fast boot;
  • lightweight system;
  • good hardware support;
  • good support from the community :smile:


I do have some distros in mind, but first, I'd like unbiassed input: I am open for suggestions :smile:

opera olpc edition

, , ,

We decided to release the special Opera OLPC Edition for everybody to test on the target device. This build fixes the nasty javascript freeze that would kill your machine, and comes with its custom skin and toolbar.

What is different WRT a normal desktop build?

  • made with gcc 4.1 (instead of 2.95)
  • Qt 3.3.7 (instead of 3.3.5)
  • custom skin
  • custom toolbar
  • custom opera6rc


Yes, that's all there is different :smile: Many thanks to Helmers and Toman for work on the skin, to Huibk for work on the toolbars, to Eddy for the packages - and many thanks to the full desktop team!

Opera runs smoothly out-of-the-box, and now even more so - at least on the BTest-1 machine we tested it on.

And how does Opera run on your OLPC XO?


P.S. Note that you can run the build also on a normal desktop Linux box - but make sure you read all the warnings first.

more about opera on the olpc laptop

, , ,

After all the initial fun and excitement, work around Opera on the green machine makes progress. A few updates:

We are investigating the nasty freezer that kills the whole machine: our static builds are made with gcc 2.95 (try opera --full-version to see the details) to ensure Opera running also on older distros - a special internal build made with gcc 4.1 does not exhibit the problem. Now we need to see if we find the needle in the haystack that causes havoc, so that it can be properly fixed.

To nicely fit into the Sugar environment Opera is also getting a new skin and a new toolbar setup - you can see a preview snapshot of the work in progress taken with xwd before the OLPC Build update to 212 - after the update I seem not to be able to take screenshots anymore, they all result in corrupted dumps… A few tabs open, including newsfeeds - and yes, I told you: you have all of the desktop features available…

pentium-m or pentium3?

,

To my big satisfaction I managed to find a solution to an issue that had been bugging me for quite some time now: I have not been able to upgrade mplayer since 1.0pre7, as it would crash on about anything.

Turns out that the configure script improved, and now correctly detects my CPU as pentium-m instead of pentium3 - too bad that mplayer would crash on it. I have not yet got around to figure out whether this is a bug in mplayer or rather in gcc (3.3.5 here), but changing the OPTFLAGS in config.mak to -march=pentium3 -mcpu=pentium3 "fixed" it for now, and I am happy to be able to upgrade to 1.0rc1 now :smile:

acerhk - saving the radio kill switch

, ,

On my laptop I use the Acer Hotkey driver for Linux to turn on/off the radio kill switch. I currently run acerhk-0.5.34, the latest public version. The page however seems to have been taken off the public web (anybody has any info?), so updates are not really to be expected. But…

…after kernel 2.6.19 removed the obsolete linux/config.h include, the module would not compile anymore. Many modules might run into this problem, and will need upgrading.

The old linux/config.h didn't have much necessary info anyway, so the simple patch to get this module back alive is to comment out the line

#include <linux/config.h>

in acerhk.c and just compile the module :smile: Works fine, and you have your radio kill switch button back.

Update:

The project seems to have changed location.

opera on the olpc!

, , ,

"Ohhh, it's SMALL!"
"It's - OHH - so GREEN!"
"HOW CUTE!"

Since Håkon came over to our desktop offices with the OLPC we just received, it got really busy: everybody wants to see it, to touch it, to play with it. Invariably, it catches everybody's fantasy and curiosity. And everybody's enthusiasm: it's really great fun!

Opera runs beautifully on it. The machine is not really the fastest, but Opera' performance is excellent - the browsing experience is beautifully smooth: all sites load fine and quickly, and even complex DHTML pages with heavy animations do not suffer - and you will not miss anything you can enjoy in the desktop version, no need to settle for less. In fact, we currently simply are running the static intel-linux desktop build on it: Opera scales very well on slower machines. We are planning to also play with non-Qt desktop versions on the machine, and test and compare performance results - after all, we want to make sure users will have the choice of good browsers. Keep in mind that the additional RAM that now has been added mainly to allow the bundled browser to run, will be removed again.

Multiple tabs, mouse gestures, keyboard shortcuts, zoom-in on any page and never be afraid to get any horizontal scrollbars, low memory footprint… it all works perfectly - except for when it comes to a very odd and nasty JavaScript freezer that pulls the whole machine down with it…

Well, I guess debugging that will be our Christmas gift for this year :smile: And it's great fun browsing the web on the machine! Stay tuned!

opera on the olpc?

, , ,

Intsalling Opera on test machines is easy.



:wink:

linux on the acer extensa 3000

, ,

It isn't really the newest hardware, but since searching for feedback about how Linux runs on the Acer Extensa 3000 notebook returns virtually no relevant information, I thought I'd do a minimal documentation about my setup - Linux has now been happily running on the hardware for several years.

So there you go: Linux on the Acer Extensa 3000 is a happy penguin.

The directory listing has more technical details, and dmesg, ver_linux and friends are updated to the latest reboot (which generally occurs only at kernel upgrade) - and so is the kernel .config file.

November 2009
S M T W T F S
October 2009December 2009
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30