N.B. If you're looking for my main blog, it lives at: http://bjkeefe.blogspot.com/

-------------------------------------------------

Wednesday, September 27, 2006

PATH problems

Status: unresolved

I need to figure out a way to get my PATH set upon login -- sys default is mostly okay, but I'd like to add ~/bin to it. Modifying .bash_profile didn't seem to do the trick. Is it another file that needs it, like .bashrc, say? Or do I need an "export" command or something similar? Or should the properties of the terminal be set so that it runs a login process?

See http://www.debian.org/doc/manuals/reference/examples/_bashrc for a starting point.

Emacs toolbar, cursor control

Status: resolved (but not yet written up)

I managed to suppress the stupid toolbar in Emacs. Need to add the notes here.

Also, came across a nice trick that makes the cursor move out of the way when the point approaches it, and then move back when the point moves past that area. Need to add the notes here.

Emacs fonts

Status: unresolved

The initial appearance of Emacs was pretty horrid. After fiddling around for way too long, I managed to get it to use a font that is tolerable. I'd like it to use the same font as is used in the terminal window.

In general, the fonts on Ubuntu are not so great. The default serif font in Firefox, for example , is UG LEE. Whatever was set by the template for this blog presents as a pretty appealing sans-serif font when viewing it from my Ubuntu machine, but it looks like the same (default) serif font when viewing it from my Mac or PC.

resolv.conf rebuilt on reboot

Status: unresolved

The file resolv.conf, as originally appearing on the system, is somewhat broken. Contents:

search domain.invalid nameserver 192.168.254.254 nameserver 192.168.254.254

I have a little script that fixes this by writing a new resolv.conf file that specifies the nameservers used by my ISP and which eliminates the "search" line. However, upon every restart of the system, the original file reappears. I'm guessing it's something to do with the fact that I have DHCP set up -- all my machines go through an ISP-supplied gateway/router/modem, and they all run DHCP, and I think Ubuntu detected this during installation. There are some scripts in /etc/dhcp3/ that seem to have something to do with the creation of resolv.conf, but I haven't grokked them fully yet.

Questions:

  1. How do I prevent my new resolv.conf file from being overwritten on reboot?
  2. What's the deal with "domain.invalid"? This seems like an issue from some other config file that I need to address.
  3. How would I go about fixing things so that the DHCP config scripts do their thing, but create a proper resolv.conf file?

P.S. Why is the above list not numbered? I used an <ol> tag. Must be something in the template.

Evolution launched by Firefox

Status: unresolved

When pressing CTRL-m while Firefox is active, an email composition window is launched. Currently, Evolution launches, when I want Thunderbird to launch. I thought I had specified that Thunderbird was to be the default mail client. What's going on?

New Blog

Hi, everybody.

This is an experimental blog that I've started, in part to test out Google's beta version of their new Blogger/Blogspot services. It will focus on my trials and tribulations encountered while coming up to speed with Ubuntu Linux.

I expect that this blog will start off as a dialog with self. At the beginning, a lot of posts will be mostly of the form: "How do I do this?" As time progresses, I'll be posting the answers that I have found. Or so it is to be hoped.

If you're looking for my thoughts on other matters, please see bjkeefe.blogspot.com.

Your input, here and there, is most welcome.