Bohemian Blog

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

Archive for the 'Linux' Category

Big Buck Bunny

Tuesday, June 3rd, 2008

If you don’t know, Big Buck Bunny is a free movie published under a Creative Commons license and created with the open source 3-D animation program Blender. Learn more at bigbuckbunny.org and you can watch a decent-res version right here:


Big Buck Bunny from Blender Foundation on Vimeo.

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

Subversion Commands

Sunday, April 6th, 2008

This glossary of Subversion commands is a work in progress.

My primary interest in creating this is to help people like me, that are not formally educated in programming. The abstract concept of version control is not difficult to understand or appreciate, but I have found that learning to use version control applications like Subversion or GIT without guidance is difficult.

You DO have to be familiar with command line basics. Remind me to write a glossary for the command line similar to this one. :D

Don’t forget the excellent Subversion book that is FREE: Version Control with Subversion. There is also the very useful act of typing svn help into the terminal.

Create a Repository
svnadmin create /home/jason/mySVNrepo
Create an SVN repository named “mySVNrepo” in my user directory.
Adding a New Project (Set of Files) to Your Repository
svn import /home/jason/genweb [one space] file:///home/jason/mySVNrepo -m "initial import"
Add/Import the directory “genweb” to the “mySVNrepo” repository with the log message (-m) of “initial import”
Log Message
A Log Message is a description of the changes associated with a particular action. A log message can be
A brief statement: -m "initial import"
An entire text file: -F MyLogMessage.txt
Check Out a Copy from the Repository
svn checkout file:///home/jason/mySVNrepo [one space] /home/jason/MyWorkingCopy
You cannot work directly on the files saved in the repository. To make changes you must first Check Out a copy (like a Public Library) of the files in the repository. The checked out copy will be saved in the directory “MyWorkingCopy”
Command Line Basics
Before you go any further it is important that you understand how to use the command line.

  • The Command Line Interface (C.L.I.) is a way of interfacing with a computer operating system by way of commands that are expressed with lines of text. This is in contrast with the much more common Graphical User Interface (G.U.I.), a way of interfacing with a computer operating system by way of commands that are expressed with graphical menu selections or the movement of the mouse.
  • The CLI generally operates in a certain context: a file directory (or “folder” for those of you coming in from a GUI :D ). In the world of *NIX the most common CLI is called the “Bash Terminal”. In this terminal the context is stated before the flashing cursor: jason@NEWHOTNESS:∼$ This means that the user is jason, the machine is NEWHOTNESS and the is shorthand for the active user’s home directory.
  • You can change the directory in which you are working with the change directory command. For example:
    cd ∼/Desktop will move the CLI context to my desktop directory and indicate that it has done so like this: jason@NEWHOTNESS:∼/Desktop$
  • Similar to HTML, the CLI can refer to files in two ways: absolute locations and relative locations. The change directory command allows you to move to the directory where the files you wish to act on are located. This saves you the trouble of typing out the entire absolute file path every time you execute a command.
  • To accomplish the following, it is necessary to change to the directory of your working copy. Some of these Subversion commands need context.
Check Status
svn status
Will retreive feedback on the status of your working copy files in relationship to those in the repository.
Status/Attribute Shorthand
  • A = Added
  • C = Conflicted
  • D = Deleted
  • I = Ignored
  • M = Modified
  • U = Update
  • R = Replaced
  • X = item is unversioned
  • ? = item is not under version control
  • ! = item is missing
  • ∼ = versioned item obstructed
Subversion uses letters to represent the relationship of your files to those in the repository. The ones that say a file is “unversioned” or not under version control illustrate that the actions of adding, moving or deleting files in the repository must be accomplished with the SVN application rather than your operating system’s file browser.
Update to Match Repository
svn update
Update your source to match the latest version in the repository, notifying you of every updated/added/deleted file as well as updates that may conflict with your own changes to the source.
Resolve Resulting Conflicts from Update
svn resolved '~/DevFolder/sourceFile.py'
After you have resolved the conflicts identified by Subversion, you have to tell it that you have done so.
Create Patch File
svn diff >> PatchName.patch
If you are not on the developer list for a project, you will most likely not be able to commit your changes directly to the repository. In this situation you can email or post a ‘patch’ file. The patch file is a very concise text file containing a description of the changes you have made, what file they are in and where in that file they can be found.

GRAMPS 3.0 Coming Soon!

Saturday, March 15th, 2008

I am dabbling in software development with the GRAMPS (Genealogical Research and Analysis Management Programming System) project. It is a genealogical database building program that is available for Linux.

I got involved with the developer group after struggling to make my genealogy site look great. The markup techniques were outdated or wrong and nothing had an ‘id’ or ‘class’. After recommending the change to the devs, they let me know that it wasn’t a top priority and recommended that if I wanted to improve the output, I would have to do it myself. This would involve working with Python and also looking stupid asking dumb questions about version control and compiling GRAMPS myself to check my work. With a little time and patience (as well as being unemployed for three months in Nashville with just my wife for company) I put myself to the task.

I have been updating the ‘Narrative Web’ plugin, written in Python, that exports your genealogical data into a web site. Mostly I just corrected and updated the XHTML markup that was present amidst the Python. I did hack up the code a little so that the navigation could be styled to indicate the active page or section.

My primary focus was to make the sites more accessible to CSS. In the process I created a few style themes to be distributed with the application. I am quite proud of them and excited to hear feedback from the user community once GRAMPS 3.0 is released. Following is a few screen shots of the site output as it was and the four primary styles that I developed so far.

GRAMPS 2.2 Narrative Web Plugin Output

‘Modern’

GRAMPS 2.2 Modern Style

‘Tranquil’

GRAMPS 2.2 Tranquil Style

GRAMPS 3.0 Narrative Web Plugin Output

‘Basic - Ash’

Basic comes in a variety of color schemes and is based on the original ‘Modern’ style. I hate using the word ‘modern’ outside of discussions of philosophy or fine art. The general public in the U.S. is convinced that it means ‘contemporary’. No doubt this is thanks to decades of marketing professionals trying to make their products sound impressive.

GRAMPS 3.0 Basic Style

‘Nebraska’

I named this after my home state. It was my original stylesheet for the new markup. For that reason a lot of id and class solutions in the markup came out of challenges created by this design. I wanted this design to look fresh and inviting while being very easy to read.

GRAMPS 3.0 Nebraska Style

‘Mainz’

Named so for Gutenberg’s birthplace, this design was created to show off the potential of the new markup. It’s a bit repetitious of me, but for some reason the vision of the website as a sheet of paper is very appealing. I started this one based on the name of one of the original GRAMPS styles: Certificate. The original style didn’t really look like a certificate, but this one does.

GRAMPS 3.0 Mainz Style

Default Print Style

This is probably the style that will be the most overlooked. With XHTML + CSS there is the potential for the browser to automatically switch stylesheets based on the media of representation. You can define one stylesheet as ’screen’ and another as ‘print’ (there’s actually quite few different defined mediums according to the W3C, including ‘mobile’ and ‘projection’). GRAMPS is the first project where I could form a strong argument for using this feature to its full potential. Now anytime someone prints a page from a Narrative Web site, the output will be well designed for print with an emphasis on efficiency and legibility.

GRAMPS 3.0 Default Print Style

There’s still more work to do, but I wanted to get the word out on this great update to GRAMPS that’s just around the corner. Along with my relatively minor contributions, the other developers have been working very hard to make 3.0 an impressive and powerful update. If you are interested in trying it out, do keep in mind that in the open source world ‘.0′ means ’submit final work to users and fix a lot of reported bugs’. So, if you are looking for a perfect application, I recommend waiting for GRAMPS 3.1. ;)

Dell XPS 420 with Linux Review

Saturday, January 19th, 2008

Dell XPS 420Well, it’s not perfect. I think my big mistake was not going with the more expensive NVIDIA video card. Actually, I’m fairly certain that any problems I am having have everything to do with the video card: ATI Radeon HD 2400. On the whole it’s exactly as advertised. Following are some things that I feel are important features.

Packaging

I was disappointed that the box for this beast was so big. I’ve seen the recent Mac Pro tower boxes and they are not much bigger than the machine itself. The XPS 420 box is HUGE. This does mean that the machine arrived in pristine condition though.

Dell is definitely close to Apple in presentation with the XPS systems. Here’s what came with the machine:

  • 1″ thick User Manual
  • Small quick start manual
  • Very nice noise-canceling ear bud headphones
  • Velcro straps to help you keep your many wires and cables under control
  • Dust Towel for the everyday necessity of wiping the dust off the glossy black finish
  • Faux-leather XPS-stuff collection book-ish thing to hold this stuff
  • Dell Multi-media keyboard (extra $25 I think) It’s very nice
  • Dell 2-button mouse with scroll (I am using my trusty Logitech MX310 instead)
  • REAL WINDOWS VISTA INSTALL DISC (not a stupid ‘from recovery partition disc’)
  • ATI Driver disc, basic Dell software disc, Adobe Photoshop and Studio Elements, Microsoft Works

I also bought a $50 speaker set from them with these nice, small speaker panels to put on your desk and a 12″ box sub-woofer to put on the floor. Sounds great, but would rather just have the table speakers alone.

Fit and Finish

The XPS 420 seems well built and solid. Surprisingly, it’s just about as big as my G5. However, it weighs no where near as much. Also, this thing runs very quiet. Now I realize how loud the G5 was. I think I remember them advertising the G5 as a quiet machine, but maybe I’m crazy.

Dell XPS 420 tower tray
There’s a nifty rubber-bottomed tray on top of the tower that is an excellent fit for all of those gadgets that usually end up on top of your tower: Portable Media Player, Digital Camera, and I put my wireless router there as well. They also provide some thin slits to hide you USB cables that run from the devices to the much-appreciated SIX USB PORTS on the back of the XPS. I don’t think Apple would ever do this, but I love it.

Dell Multimedia Keyboard
The Dell keyboard feels good and the multimedia keyboard comes with an attachable palm rest. I highly recommend spending a little extra for this keyboard. The multimedia keys all work in Linux except for the ‘Volume Dial’ which apparently does not have a ‘button push’ input. If you Google it, somebody has written a script to handle the input, but I just remapped the big arrow keys on the left to control the main system volume instead. It’s nice to have keys specific for media player (next track, previous track, play/pause). There are a few additional buttons that can be used for pretty much anything. I was able to set the ‘Close Window’ button to ‘Eject’ the optical drive disc. My wife likes the Calculator button. Also, someone other than Apple has finally caught on to the idea of putting USB ports on the keyboard. That’s excellent.

GNU/Linux Experience

Thanks to the video card, installing Ubuntu wasn’t very slick. Eventually I used the Alternate install disc with the text-based installer and was sure to specify only my optimal screen resolution, a few smaller resolutions and nothing larger than what I planned to use. Once I figured that out everything went fine after installing Envy and getting the direct ATI video driver.

Everything works aside from things related to the video card. What doesn’t work?

  • Fast User Switching: I get a black screen and Ctrl+Alt+Backspace doesn’t help
  • Hibernate and Sleep: Appears to go to sleep fine, but won’t wake up
  • Compiz Fusion with dual-display: It does work, but doesn’t feel stable and playing video suffers with it on

The only thing I use Compiz Fusion for is the Exposé-like window picker and I think the Alt-Tab app switcher in Compiz looks nicer and is larger. So, not a huge loss and I’m confident these issues can be resolved with improved driver offerings from ATI. Fast User Switching would have been nice also.

The ATI Catalyst Controller application for setting up the video card works well enough. Setting up a second monitor with a combined desktop space was simple. It’s seems a little out of wack though. I wouldn’t fiddle with it too much.

Performance

My system sports the Intel Core 2 Quad 2.4 GHz processor with 3 GB of RAM. This machine is fast fast fast. I’m pretty sure most of the speed comes from just one instance of the 2.4 GHz processors. The Quad proc does flex it’s muscles when exporting/converting/compressing video and audio. I don’t have numbers for you, but I was exporting some MP3 files from audio recordings I had made a while back with impressive results. I started the process on my 1.6 GHz 1 MB RAM G5 just to compare. The MP3 compression was at least twice as fast using the latest version of Audacity on both machines. And if you watch the processor activity graphs, the old G5 was peaking the whole time while the Core 2 Quad just hummed along on two of it’s four cores.

Running virtual machines with it is an excellent experience. As mentioned earlier, my wife likes to watch ABC shows online. I tried the Firefox-for-Windows-Over-Wine trick, but that’s not working right. Instead I set my wife up with a Windows XP VM using VirtualBox. I know VMWare is king in virtualization, but installing VMWare server, after agreeing to the legal mumbo-jumbo is a pain and apparently I can’t install VMWare Player via Synaptic on my system (I don’t get it). VirtualBox, because they offer a full open source version, is much easier to install. The performance is good too. I hear the big difference is in networking and that’s not really why I need a virtual server anyway. Regardless, my wife can enjoy a full-screen ABC.com HD video experience on my Linux system via Windows XP via VirtualBox. Fantastic!

Windows Vista

For starters, Windows Vista runs just fine on a VirtualBox VM with plenty of allotted RAM. However, now that I’ve had some time to look around, I find Vista to be very cluttered. The main menu has too much stuff displayed immediately and there’s so much crap on the initial desktop including the widgets that I felt claustrophobic. I can only imagine what a less savvy user would think on initial start. I’m confused. I thought they were trying to minimize menus and everything to focus on the average user with the capability to customize for an advanced user. They’re so inconsistent. Windows XP was actually looking good in my opinion. As a Mac user I felt a little threatened at the time. I think Vista may be a step back.

On the other hand, the install experience was a big improvement, but unfortunately most of their users won’t ever experience it. The loading and log in screens look great too. I’m starting to wonder if I should start fiddling with the Linux Gnome log in screen. Somebody, a designer, needs to step in and make it cool like what Windows Vista and Mac OSX offer. Currently the standard ‘enter username and password’ screens can look nice, but the ‘list of users with avatars’ screens look like crap on a stick.

Login Ubuntu Login CleanX
Login OSX Login Windows Vista
Login Linux Gnome User List

Complaints

  1. I can only wait for ATI to improve their Linux driver. Supposedly more ‘openness’ is coming down the pipe. Worst case scenario: I’ll buy another video card. However, it seems like the best open source video support goes to Intel’s integrated video hardware. Since ATI is owned by AMD and NVIDIA is owned by Intel I’m pretty sure Intel is sharing info about the integrated video because it’s their low-end hardware. Somebody tell me what a good 3D and dual-head capable video card is for Linux. It all looks bad outside of older hardware that has been reverse engineered.
  2. The black gloss looks great in photos but is a bitch to keep clean in the real world. Anybody that’s owned a black car knows that.
  3. Frickin’ Windows Sideshow display is completely worthless, even if I was running Windows.
  4. Too many wires and cables. I definitely appreciate why people pay a lot for an iMac.

Dell XPS 420 Lots of Wires

Overall

I’m very pleased with this system. It’s extremely nice and it’s a pleasure to finally use a high-powered machine with plenty of screen real estate to run my favorite open source graphics programs. I apologize for the long review (took WAY too long to finish) but there were a lot of relevant details. I hope this review is helpful for Linux users looking for new hardware especially.