Skip to navigation

How to use emacs key bindings in Abiword

April 26th, 2007

In ~/.AbiSuite/AbiWord.Profile, in the section that describes the scheme you are using (see top of that file for which one that is), add the line: KeyBindings="emacs". C-a and C-e seem to work fine, but killing and yanking are a bit off (C-k to end of line does not mean you can yank it back. You have to highlight first, then C-k, to be able to yank it).

How to start wifi-radar after suspend in Xubuntu 6.06

April 17th, 2007

Note: I already have a script in /etc/init.d/ called “wifi-radar” that starts wifi-radar in daemon mode. I also have a file /etc/acpi/resume.d/ and no script in that directory that begins with “63”, so I’ll just add a script after, like this:

sudo nano /etc/acpi/resume.d/

Add the following:

# Start wifi-radar daemon, if it is in the boot scripts
if [ -x /etc/init.d/wifi-radar ]; then
/etc/init.d/wifi-radar start

WPA in Xubuntu 6.06

March 21st, 2007

Finally got this to work, following these instructions.

One thing I had to do, and that I hadn’t seen elsewhere, was creating a file /etc/default/wpasupplicant and adding the line: ENABLED=0

A few problems remain

I still have to start nm-applet manually:

nm-applet &

even after I log out and log back in again.

After I enter the key (WEP or WPA), a terminal window shows:

** (nm-applet:6817): WARNING **: Error saving passphrase in keyring.  Ret=2

So now I did:

sudo aptitude install gnome-keyring-manager

Will see wether that helps.


I gave up (didn’t spend much time on) trying to get the gnome keyring to work in XFCE. Without it, network manager was a pain, because I kept having to re-enter the WPA or WEP key by hand. Turns out not just at reboot, but it disconnected every half hour or so and asked for the key. So I got rid of network manager again and got this to work using WPA Supplicant and Wifi-Radar:

Using Wifi-Radar and WPA Supplicant

Installed Wifi Radar and WPA Supplicant. Wifi-Radar is handy anyway for switching between wireless networks. Create a file /etc/wpa_supplicant/wpa_supplicant.conf

I kept it really minimal, like this:


Then, in Wifi-Radar, for that network, under “Use WPA”, I added the following line as driver:

wpa_supplicant -Dmadwifi -c /etc/wpa_supplicant/wpa_supplicant.conf -iath0

Then just hit “connect” in Wifi-Radar.

How to mount a samba share

March 20th, 2007

I have an external harddrive (NAS), the Lacie Ethernet disk mini. Today, I finally figured out how to mount it so that I can rsync to it (thanks to some friendly help on comp.os.linux.misc).

Some info first:

  • The edmini is set up to get an IP address via DHCP. It is then connected to the router (a Netgear box) with a LAN cable. The Netgear is set to reserve the IP address for the hardware address of the edmini’s network card.
  • I want the edmini not to be mounted at boot time, but I want to be able to mount it at any time with “mount edmini”, and then I want to see the data in /home/mpromber/edmini.

Read the rest of this entry »

Remote backups using ssh and rsync

March 18th, 2007

Here’s a mini tutorial on how to do fast backups of important files to a remote server.

This involves three steps:

  1. Getting ssh access to a remote machine,
  2. setting up keypair authentication,
  3. backing up data with rsync.


  • rsync and ssh server on the remote machine,
  • rsync and ssh client on the local machine.

Read the rest of this entry »