Home | Profile | PSN | OpenMoko

Wasi.li - OpenMoko (with Debian)

Debian Installation and Configuration

I'm a debian user, so my OpenMoko needs a debian system too. I'd install it on the 8GB (class 4) MicroSD card from SanDisk by using the Debian Install Guide. Don't forget the Swap partition if you want to use a lot of applications at the same time!

Create a user and make it "bootable"

By the standard installation the system creates just the user "root" and them password to "". Change this password as soon as possible.
  1. Create a new user and add it to the following groups: audio,dialout,floppy,video,staff.
  2. Change all "USER=root" with your new username in /etc/init.d/nodm and run # dpkg-divert --add /etc/init.d/nodm to get this values on a restart.
  3. Change "allowed_users=console" to "allowed_users=anybody" in /etc/X11/Xwrapper.config (Or use # dpkg-reconfigure x11-common).
  4. Copy /root/.xsession into ~username/.
  5. To use phone functions with a none-root do the following to steps
    1. copy /etc/dbus-1/system.d/frameworkd.conf to /etc/dbus-1/system.d/my-frameworkd.conf
    2. open /etc/dbus-1/system.d/my-frameworkd.conf and replace all instances of 'user="root"' with 'user="youruser"'

Keyboard with F1-F12

I'm using the matchbox and this haven't any F-keys by default. There are some console-based applications that need these keys by default configuration (mc p.e.). But I'd just change the keyboard.xml from /usr/share/matchbox-keyboard/. There is a "uml.."-key but this button change just to keys. So I added the following line on each key right from Esc: <mod1 display="Fx" action="fx" /> (x are the numbers from 1 to 12.) And changed the Display on this "uml.."-key to "Fx".

Nice Applications

It's a good way if you use console-based applications on your OpenMoko debian system. I'm using screen to manage sessions. For file view and modification i need nano. mc is my filesystem manager. For my songs i prefer moc. Webapps are links2, xchat ...

Powered by Geekweb.org