Bohemian Blog

  1. About This Blog
  2. Archives
  3. Download Artwork
  4. Home

Archive for the 'OSX' Category

Fresh OpenOffice Templates

Saturday, April 26th, 2008

I was recently installing Ubuntu on an old Dell for a friend. I don’t try to push Linux on people, but if they want something cheap on an old machine I just tell them what a new version of Windows costs. At that point they either go buy a new machine instead or ask me more about Linux.

Once we get to that point I ask a them a few questions about how they use their personal computer. This recent situation called for compact disc booklet templates and a greeting card making application. In order to avoid complexity I rarely tell non-designers/tech geeks to give Inkscape, Scribus or the GIMP a try. What this means is finding some specialized application that makes the desired task super simple. If that isn’t available I turn to OpenOffice.

OpenOffice is surprisingly versatile and effective at the same time. There are also hidden benefits to using it, like dynamically generating letters for a small company with the power of OO’s mail merge tools or using embedded spreadsheets to create tables of data within a layout. Cool stuff that the professional-focused graphics tools leave to more specialized programs.

The end result, anyway, is that I decided to create some templates for OpenOffice. The related templates that the usual search engines pointed me to were not very good, so I thought providing these as free downloads might be helpful to some folks out there. What I have is a CD Booklet and Tray template and a Greeting Card template for OpenOffice Draw. Enjoy.

  1. Compact Disc Booklet + Tray template
  2. Greeting Card template

Nine Inch Nails: OSX Ghosts

Sunday, March 16th, 2008

If you haven’t heard, Nine Inch Nails has a new instrumental album out that is being sold directly by the artist via the web:

http://ghosts.nin.com

I gladly downloaded the free sample tracks to check it out. I’m not quite sure if I’ll purchase more or not. The true test is how entertaining the songs are while I’m sitting still on the interstate trying to get home from work in downtown Nashville.

It’s no secret that Mr. Reznor works on a Mac. I think in one of the boxed sets he’s even distributing the album songs in the GarageBand.app format to make it easy to create remixes. No offense, but I’d be more impressed if he offered them in Audacity format. Him distributing gBand files like that… well he might as well be on Apple’s payroll.

But let’s not be ungrateful bastards. He’s certainly one of the few popular artists today that understands how giving some of his source files away under a Creative Commons License is an excellent way to promote his cult of personality. Hats off.

With that said, finding a folder named ‘_MACOSX’ in the free download ZIP archive is still amusing. I wonder, does the Finder window look really cool when you open this free MP3 folder? Or is this just the side effect of how carefully they prep a ZIP archive for mass distribution? “Oh hey, let’s get that on the site tonight”.

[ right-click/Create Archive]

NIN Ghosts in OSX

X11: Switch Control Key To Apple/Command Key

Wednesday, January 2nd, 2008

Control-Command Keys

One of the major problems with using X11 to run *NIX applications on OSX is switching from using the Apple/Command key to using the Control key as your primary modifier key.

First of all, I don’t understand why the Control key is where it is on keyboards for OS’s that use it as the primary modifier key. It is probably the least ergonomic key to use (unless you have the good fortune of using a Thinkpad, since they don’t include the Windows key). Apple, for all its missteps, gets it right by making the primary modifier key easy to press in combination with other keys. Command, Control, Apple, whatever you call it, put it in a comfortable spot! That one detail almost prevented me from switching to something other than OSX. Seriously.

With that said, it’s no surprise that Apple puts the rarely-used-in-OSX Control key off to the far corners of the keyboard. As to why Apple doesn’t include an option to switch the Control/Command keys in the X11 preferences, I can only imagine.

Second, making this change isn’t for *NIX purists that like it the way it is. Don’t get pissed at me. I’m just trying to help Mac people enjoy the fruits of the Open Source community because I’m frustrated with Microsoft and Adobe (and even Apple). Their customers take a back seat to their interest in making money.

Third, let’s get started!

This is simple and if anything goes wrong, it’s easy to get back to where you started. Here’s the meat and potatoes:

  1. Start the X11 application
  2. In X11 go to X11/Preferences and to the Input tab. Uncheck the following settings:
    • Follow system keyboard layout
    • Enable key equivalents under X11
  3. In X11 go to Applications/Terminal to open up a Terminal window
  4. Type the following in the Terminal window:
    vi ~/.Xmodmap and press Enter. This will open a file named ‘.Xmodmap’ located in your home folder ‘~/’ with the text editor program called Vi. Don’t be frightened.
  5. Vi is run from within the Terminal, so it won’t look much different. Press ‘a’ to switch to Vi’s Insert Mode (I think the ‘a’ stands for Append) and then type in the following text:
    ! ~/.Xmodmap
    clear Mod2
    clear control
    keycode 63 = Control_L
    keycode 67 = Control_L
    add control = Control_L
  6. Now press ‘esc’ or the Escape key to exit the Insert Mode and return to the Command Mode. Now type :wq and press Enter. This command tells Vi to Write (think ‘Save’) the changes you made to the file and Quit Vi itself.
  7. Type xmodmap ~/.Xmodmap and press Enter to complete this process.
  8. Open something in Gimpshop, Gimp, OpenOffice, Inkscape or any X11 application that you use to test if you have successfully switched to the Apple/Command key.

If you suddenly cannot get any of your X11 applications to start, you can delete the .Xmodmap text file from your home directory. To do this, open a Terminal in either the X11/terminal or the OSX Terminal.app: rm ~/.Xmodmap and press Enter. The command rm stands for ‘Remove’. Be careful with this command. There is no ‘undo’ in the command line.

This post uses information found at //extrabright blog and The University of Illinois at Chicago’s Unix 101 pages on Vi. This is my attempt to write a more concise how-to.

IEs4Linux Also for OSX on Intel

Monday, December 3rd, 2007

I have been using the IEs4Linux system for a while now to assist in developing websites. It allows you to install various versions of Internet Explorer in Linux. It’s great for testing websites against the many bugs in IE as you develop them.

Recently they have developed a version for OSX on Intel machines.

http://www.tatanka.com.br/ies4linux/news/49

You have to install Darwine and X11 on OSX to use it, but after that it seems pretty easy. I am not so fortunate as to own an Intel-based Mac, so I can’t test it for you.

Wine info
http://wiki.winehq.org

Darwine info
http://darwine.sourceforge.net/download.php

Wine on OSX info
http://wiki.winehq.org/MacOSX

Find IP Address of a Website in Terminal

Thursday, October 18th, 2007

Here’s the magic word: nslookup

And here’s how to use it:

jasonG5:~ jason$ nslookup www.bohemianalps.com

after pressing ‘enter’ you will get feedback like this:

Non-authoritative answer:
Name: www.bohemianalps.com
Address: 12.34.56.78