Configuring Java engine

February 13th, 2009

I did not know this until recently — it is possible to configure the java engine used by Ubuntu by running this command:

sudo update-alternatives –config java

You will be asked to select from a list of available java engines. Simply type in the number of your choice and hit enter.

Configure Java engine

Choosing the java engine on Ubuntu 8.10

Bespin

February 12th, 2009

bespin-iconToday I was using Google Docs and lamenting that there is no quality web-based code editing tool. The predictability that web-based tools bring to cross-platform work is amazing. Code editing would be much nicer with the same productive toolset on every platform.

Then I found Bespin.

While I have a lot of questions about this tool/service (like how secure is it to store code in “the cloud”?) I have to admit I am very impressed with the initial preview release and can hardly wait to try it on a real project. Some of the features that really intruige me are:

  • Syntax highlighting
  • Collaborative editing
  • Open source code base
  • A very nice dark color scheme
  • Innovative and productive file browser
  • True cross-platform performance and predictability
  • Fast performance, even on a text file with 30,000+ lines of code

Give it a try at http://bespin.mozilla.com/.

Bespin, a Mozilla Labs code editor

Bespin, a Mozilla Labs code editor

I recently had a problem with Ubuntu 8.10 where my Add/Remove… software window was empty.

My empty Add/Remove software list

My empty Add/Remove… software list

Synaptic and apt-get via the terminal worked great, but Add/Remove… was broken. A bit of searching turned up this little gem that did the trick of restoring the list. Just run these two commands in your terminal:

sudo apt-get remove gnome-app-install
sudo apt-get install gnome-app-install apturl ubufox ubuntu-desktop

I use Google Docs quite extensively. On my laptop I like to eak out every bit of screen real estate I can, so I thought about how I could make my Google Docs experience a little more pleasing by removing stuff that’s not needed, such as the Google logo (which frees up about 25 pixels.) Using Firefox it is very simple to remove unneeded elements. Read the rest of this entry »

Ubuntu shines where OS X fails

February 6th, 2009

Coming from a lifetime as a Mac user you can imagine that I am rather trusting of the OS, especially as a creative tool. In recent years, as Apple has evolved OS X, it has continued to surprise me (in a good sort of way.)

Regarding their OS X server, given that I have used it since 2001, I was rather excited to try it out in my new web software venture. My impression was it would be as easy to run a web site on OS X server as it is easy to manage a creative project.

Wrong.

Read the rest of this entry »

I’m on Twitter :)

February 5th, 2009

twitter-256x256Does anyone care? If you’re interested you can follow me here: http://twitter.com/bejonbee

Installing Fonts in Ubuntu 8.10

February 3rd, 2009

I needed to install some extra fonts in Ubuntu. Drawing from my OS X experience I figured I could just copy the new fonts to a font folder somewhere and sure enough Ubuntu has system-wide and user-level font folders.

System-wide fonts are located at

/usr/share/fonts/

User specific fonts are located at

~/.fonts

To install a font just copy it to either the system font folder or the user font folder. To remove a font just remove it from these folders.

Now you need to let the system know that it has new fonts available. After installing/removing your fonts you will want to update the system font cache by running this command in your terminal:

fc-cache -v -f

google doc iconThe following is an embedded Google Doc where I have kept track of changes made to my Ubuntu 8.10 Linux system as I have configured it with a custom root folder from which Apache2 serves web sites a virtual host that points to the root web folder.

If you liked this article you might want to check out these links:

Meld on OS X

January 21st, 2009

Meld IconSo far the best diff viewer I have used is Meld, which up to now I could only use on my Ubuntu Linux partition. But now, thanks to Macports, I got it running on OS X. Yeah!

Update

I wrote this article about a year ago. As usual, technology advances, and this time it is in our favor. The hack for the .xinitrc is no longer necessary. On my machine I can install Meld straight from MacPorts and it runs straight away.

This took a bit of work, but I finally got Meld to run on OS X. The installation is very easy…just tell Macports to install Meld. In your terminal type:

sudo port install meld

Getting Meld to run on OS X was a bit trickier. When launching it normally I kept getting this error: Read the rest of this entry »

Theming Wine

January 14th, 2009

Tip

Theme Wine apps to better integrate with Ubuntu’s Human theme

Resources

Notes

I had read quite a bit about Wine’s theming capabilities being limited, slow, and rather useless, but thought I would give it a go anyways. I was pleasantly surprised to find that after following these instructions Wine ran just as fast and looked a lot better. Read the rest of this entry »