Bohemian Blog

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

Archive for the 'Computer Hardware' Category

Ubuntu 6.06 on 1.6 GHz PowerMac G5 (part 3)

Tuesday, November 7th, 2006

The first thing to do with Ubuntu on a G5 is reconfigure the X server. By doing this you will be able to expand your allowed screen resolution from 1024 x 8XX to 12XX x 1024 or possibly 16XX x whatever. This was a big issue for me. 1024 is just not big enough.

When doing this make sure you know your G5’s video card and model (my 1.6 GHz G5 has nVidia GeForce FX5200). There are plenty of questions within the set up process where you will simply give the default answer because you don’t know what the hell they’re talking about. If the question sounds over your head, just relax and most likely there’ll be some helpful notes there for you. Open a terminal and enter the following to begin the set up:

sudo dpkg-reconfigure xserver-xorg

After that’s done it’s pretty much business as usual. There are a few sacrifices. The G5 is fast, but I think the video card isn’t being used to it’s potential by Linux. When the screen saver that looks a lot like the standard OSX colored-flare screen saver comes on, it seems to work the machine pretty hard. In fact, any of those more dynamic screen savers run a bit choppy. The G5 should have no problem with those things, but that’s truly the least of my concern.

The other issue is that of sitting at a Mac with a Mac keyboard but not being able to use the ‘Apple’ key like you used to. There is a lot of room for custom key commands, but Linux looks at the Apple-keys as two separate buttons rather than two buttons with the same function. So, the left key can be set up differently than the right key. It makes one wonder about the use of the control key. Well, the location of the control key anyway. The Apple key location makes so much more sense. It’s definitely more ergonomic.

For the record, I plan on reinstalling OSX and selling my G5. I want a Linux-only system and the G5 (with my limited Linux and programming capabilities) is just not the easiest machine to use. There is also the fact that I want a laptop, so my perspective might be distorted. My assessment is similar to others: If you have a Mac, run OSX. There are some things about OSX that I don’t like and there are some things about Linux that I like, want to learn more about and promote. The day the GIMP supports CMYK will be the nail in the coffin for me, but until then I’m going to try hard to make designing for print and the web in Linux work.

OSX: Mounting Digital Cameras, Getting and Deleting Pictures

Thursday, July 13th, 2006

Initially, these cameras were being used with a WindowsXP box. The camera would be connected via USB to the computer, it would mount as an external drive, the files would be copied to the computer’s hard drive, the files would be deleted from the camera drive and the camera would be unmounted and turned off. When the camera is used to take more photos the compact flash disc would be empty and ready for another shoot.

Well, our department changed a bit and the main photographers for the company were now two OSX users. It seemed like a waste of time to continue using the now vacant WindowsXP box just to pull the files off of the camera. I’m all about diminishing silly myths regarding OSX and its support for external hardware. “Puhshaw! Of COURSE it works with a Mac!”

So, we plugged in the camera and tried it out. Everything worked as expected. Once the files were transferred, we hit the ‘Delete’ button on the finder (or Command-Delete or dragged the files from the camera’s folder to the trash) and unmounted the camera and turned it off. Everything’s cool.

When the next shoot was began however, we realized everything wasn’t cool: the files from the previous shoot were still on the camera. Sort of. There were no existing images to browse through, but the available picture counter wasn’t showing its usually capacity. So, we plugged it back in to the Mac and to our surprise the folders on the camera showed that they had no contents. Where were these mysterious files? Well, an obvious clue if you noticed is that those files you thought you had deleted reappear in the Trash when you remount the camera.

To make a long story short, this is an excellent example of how OSX handles deleting files. It was a little frustrating, but after thinking about the process I realized that it’s really a great method for saving people from deleting the wrong file. Here’s how it works:

When you tell OSX to delete a file on any drive you’ll notice that the files are quickly removed (unless it’s a network drive. In that case, after telling OSX to delete the file you will be reminded that the files will be completely deleted and asked if that is indeed what you had intended.) This process is quick because the files are simply moved to a folder on the same drive named ‘.Trashes’. The specified trashes directory is hidden on every drive. Any file whose name starts with a ‘.’ will be hidden in OSX and all Linux OSes as well. This is a little confusing since anything you trash on any locally mounted drive shows up in the ‘Trash’ on your dock. The Trash would seem to be one location on the computer, but in reality the ‘Trash’ is a collective display of the contents of all .Trashes folders in all locally mounted drives. If you’d like to see these hidden files in Linux it’s usually an option under ‘View’ in the file browser. OSX’s Finder doesn’t have that option for the general user, but it’s easy enough through a simple command in the Terminal or the use of an AppleScript to run the Terminal for you. Anyway, here’s what you need to see hidden files in OSX.

This method works flawlessly as long as your mounted drives do not get moved or unmounted very often. You know that those files won’t be deleted until you remove them from the Trash. So, the secret to working with any digital camera or external drive is to move the old files to the Trash and be sure to empty the Trash before you unmount the camera or drive. That action will completely delete the files. No more mystery files on your camera.

Now, this brings up an issue with using OSX’s Trash as a holding place for files you are not quite ready to completely delete. If you want to delete files from your camera those files will be permanently deleted as well. To avoid interrupting this method of using OSX’s trash I create a folder inside my home folder and I name it ‘Not Quite Trash’. I then drag it to the dock and set it right above the ‘real’ Trash. This way you can still drag files to it just like the ‘real’ Trash. It’s not perfect, but it’s pretty good.

Finally, I have to say that OSX should probably ask the user about what to do with the contents of the Trash that are associated with any drive they are attempting to unmount. That would make the above post completely unnecessary. However, Xubuntu 6.06 doesn’t even have a trash mechanism. You just delete the file and it’s gone forever. Definitely getting some use out of my ‘Not Quite Trash’ folder on this system.

iPod as OSX/Windows/Linux USB drive

Sunday, May 14th, 2006

iPod MiniTake advantage of your iPod as a cross-operating system file transfer or backup usb drive. If you’ve read my ‘About’ page you know that I employ OSX and Ubuntu Linux at home and use WindowsXP at work as well. Having a usb drive to plug into all three of them is what makes using three different operating systems livable. Hopefully this short post can save you all of the time I spent reading on the net about this idea. In the end it was so simple I vowed to start my own site where I could give advice to other power users that don’t want to sell their soul to the tech-geek gods.

First: What is the operating system you use to alter the music/video content of your iPod? Windows or OSX? I use OSX. If you use Windows this is going to be very easy. In the iTunes preferences make sure your iPod is set to ‘use as external drive’ or whatever (sorry I don’t have the exact wording).

Second: Something to keep in mind is the file system that the two different operating systems employ:

  • Windows: FAT32 or NTFS
  • OSX: HFS+

When an iPod is first used on either operating system it is reformatted with either a 3-partition HFS+ file system or a 2-partition VFAT (which I can only assume is another name for FAT32 or some relative of FAT32) file system. (The iPod may technically not be reformatted depending on the format it is initially formatted in. The difference is irrelevant to the issue at hand.)

Linux uses its own file system (usually ‘ext3′). However, Linux has been working with Windows for a long time and apparently it has no trouble reading FAT32 file systems. The same goes for OSX because, let’s face it, when you’re 3% of the personal computer market you adapt to work with the competition. So, you guessed it, if you already use Windows to manage the content of your iPod you don’t have to do a thing. Just plug your iPod into either a Linux or OSX box and it will mount as a removable drive. With Linux this experience can vary depending on the version of the Linux Kernel being used as well as the distribution of Linux. With Fedora Core 4 I had to manually alter a text file to allow the system to mount the drive. However, with Ubuntu 5.1 usb drives mount automatically. (NOTE:If you think the word ‘terminal’ is usually associated with some sort of illness, I recommend installing Ubuntu.) In OSX you’ll see a generic usb drive icon instead of the iPod icon. That’s easily corrected with a simple trip to the ‘Get Info’ window of the iPod and copy/paste of the correct iPod icon.

Now, for those of you using OSX to manage your iPod content. You need to reformat your iPod for Windows. Don’t worry, you can still use your iPod with iTunes in OSX. I do it all the time. File transfers are a little slower with FAT32 (VFAT) but the benefits of going between operating systems outweighs the cost in file transfer speed. The other issue has to do with file name length and possibly a limited use of certain characters in file names. Seems like a small cost.

The trick is finding a Windows box to use for the reformatting. Find a friend with Windows and bring a $7 six-pack of beer with you.

Next, you’ll need to download the appropriate ‘iPod Updater’ for Windows from Apple.com. Try this page:

www.apple.com/ipod/download/

This will have to be installed on the Windows box. Then you’ll plug in your iPod and start the program to reformat your iPod. NOTE: Backup any music or files you have on the iPod prior to this step. Reformatting will erase the iPod’s drive and create a new file system. If you have music on the iPod that you don’t have on your computer, download this applescript to pull those songs off of your ipod :)

Import iPod Audio Files Applescript

Once that’s done you’re ready to go. The reformatting is easy. You will now be able to take files in between different operating systems.

Linksys router + ZyXEL DSL modem = suck

Sunday, May 7th, 2006

Linksys Router I was excited to finally upgrade to DSL from dial-up. Before I got home I went ahead and bought the Linksys WRT54GS. My laptop only has an 802.11b wireless card but I figured I’d be prepared for the future while I’m at it. I did some brief research and checked reviews of this particular model. I’d helped my girlfriend and her roomates set up their older 802.11b Linksys router and I liked the interface. So I went ahead and spent high dollar (approximately $90).

I got home and plugged it in between the DSL router and the old iMac in the office. Suddenly I no longer had internet on the iMac. I could, however, bring up the admin page for the router. For some reason the internet specifically wasn’t coming through. I spent some time fiddling with the ip addresses and later called my ISP for help and they suggested changing the default 192.168.1.1 ip address to 192.168.2.1 in order to avoid any conflict with the ip address of the DSL modem. I tried that with no success. At one point I was even able to bring up the admin page of the DSL router through the Linksys, but internet remained unavailable.

All of this could be due to a lack of knowledge on my part, but I don’t think a router should be this complicated for such an expected setup. I just wonder what someone less technically savvy would do in this situation. The Linksys is very Windows-specific. The setup CD included will walk you through setting it up apparently. The instructions say to just put the CD in and let it take care of itself. Unfortunately, this is strictly for Windows. There’s a pdf in there but it wasn’t much help. The older Linksys router that I mentioned above actually had a paper manual with some generally helpful information about ip troubleshooting and more.

In an attempt to better understand my situation I unpacked my slightly older D-Link router (not wireless) and plugged it into the same situation that the Linksys was in. I let the DHCP reconfigure itself on the router and the iMac and then I immediately had internet. Everything just worked. This did not include any setup whatsoever. It looked like different hardware might be the solution. The Linksys’s wireless worked great, I had a strong signal down in the basement and everything. Just the detail of actually getting internet to pass through the router didn’t work. I think this may be a unique problem having to do with the way the ZyXEL modem and Linksys router interact as unlikely as that would seem.

My hardware setup is unusual (original iMac running OSX 10.3.9 and an old laptop running Ubuntu 5.1), but TCP/IP and the wireless protocols are standards that are not proprietary, so that isn’t an issue as much as the tech-dorks at the stores would like to convince me otherwise. Fortunately Staples accepts returns and in my agitation I most likely told them more than they cared to know about my situation. Now I have a Belkin in my car that I hope will ‘just work’ (especially since it cost $50 less than the Linksys). I’ll update this comment with the outcome.