|
2012-06-03
, 18:49
|
Posts: 5,795 |
Thanked: 3,151 times |
Joined on Feb 2007
@ Agoura Hills Calif
|
#2
|
|
2012-07-22
, 22:02
|
|
Posts: 148 |
Thanked: 216 times |
Joined on Jul 2010
@ Yerevan
|
#3
|
|
2012-07-22
, 22:23
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#4
|
Installing squeeze on n810
This is what I did
A Desktop environment
At this point I was able to run debian commandline programs or X programs which are displayed on maemo's xserver. To be honest, I believe this is all you ever need, but just for the hell of it I decided to install a desktop environment.
Installing lxde is certainly not difficult. It is a bit more tricky to start a second xserver, but again qole had already solved this issue with the hostwin program, which creates a window into which the xephyr x-server will draw. The trickiest part was to get all the calls and callbacks into a single script.
Another difficulty was getting the keyboard right. I ended up fetching the .xkb file from a maemo session and installing it into a xephyr session. The nice thing is that all my xmodmap hacks are faithfully reflected in this single file. I added a function postInstall() in debitz which does this copying (and replaces KP_Enter by Return).
Once this was done I could launch lxde. I Changed some settings, made the fonts bigger, all nice an shiny, but a few things were bothering me:
So I googled around for the "most lightweight linux desktop" and was introduced to GNUstep with windowMaker as its window-manager. After two days plaing with it I am quite happy with it:
Sceenshots
The main wmaker panel (wmprefs) with some stuff in the background and the dock to the right.
Switching windows can be done with the keyboard
The Menu can be invoked and naviagted by the keyboard. The debian menu is kept up-to-date by the system, the other entries were made by me.
You can create a hotkey (F6 of course) to launch
wmctrl -r :ACTIVE: -n toggle,fullscreen
which saves you a lot of real eastate
What the scripts do
Debitz runs a debian command from maemo. It has three configurable variables at the top (the partition, the fs-type and the mountpoint of your debian installation). Change as neeed.
debitz -u cmd runs cmd as user
debitz -r cmd runs cmd as root
debitz -x runs a command in xephyr (debitz -x wmaker launches GNUstep, debitz -x lxsession launches lxde.)
debitz postInstall creates /home/user/debitz.xkb
debitz-debian records (most of) the installations I did on the debian side. You need to uncomment things you want installed.