Thursday, March 22, 2012

Ubuntu 11.10 Unity

It's been about a week since I upgraded to Ubuntu 11.10.  I thought by now I'd be longing for 10.10 back and raving about what a big mistake upgrading was.  I assumed I'd at least switch to the Gnome 3.x desktop but I've been surprised by Unity.  I don't hate it, don't love it either, but it's growing on me.  Don't get me wrong, it has some issues and annoyances (Right Click Context Menus) but I can see where they are going with this.  I've looked at some Youtube videos of the next Ubuntu Release, 12.04, and see that they're addressing some of my complaints, the biggest of which is not having the ability to customize the look/feel of Unity.  I haven't found any "show stoppers" yet so I think I can live with the small issues I've encountered until Ubuntu 12.04 with Unity 5.0 comes out in a month.

I've thought about doing more 11.10 "how to's" but since we are so close to 12.04 I think I'll wait, upgrade early and write some articles for Ubuntu 12.04 LTS instead.

One parting tip... Most of the Unity customization lives in the CompizConfig Settings Manager.  To get to it; open a TERMINAL Window and type;
   ccsm

Sorry about the Blue Tint, it's one of those "annoyances"


Saturday, March 17, 2012

Ubuntu 11.10 Right Click Desktop Shortcut Option.


Ubuntu 11.10 offers no way to create desktop shortcuts with a Right Click.  Let's make it bend to our will.

1. Install gnome-panel by opening a TERMINAL window and typing the following (it'll ask for your password)
sudo apt-get install gnome-panel

2.  Once Gnome-Panel installs we need to create a Bash Script.
    a. Open gEdit (or any text editor) and type the following;
#!/bin/bash
gnome-desktop-item-edit --create-new ~/Desktop
    b.  Save the Bash file with the name Create-Launcher

3. Copy the Bash File (Create-Launcher) to the nautilus-scripts folder by opening a TERMINAL window and typing the following;
cp Create-Launcher ~/.gnome2/nautilus-scripts

4.  Now change the permission on our new file (Create-Launcher) so that it has Execution permission by opening a TERMINAL window and typing;
chmod +x ~/.gnome2/nautilus-scripts/Create-Launcher

5. Move the new file to the right click/scripts section of nautilus by opening a TERMINAL window and typing;
mv ~/.gnome2/nautilus-scripts/Create-Launcher ~/.gnome2/nautilus-scripts/"Create Launcher"

6. Done!

Now when you Right Click on a blank spot on your desktop you see a Scripts option in the menu that appears that expands to give you a Create Laucher option.

If you select the Scripts/Create Launcher option you get the standard Desktop Shortcut Creator Wizard or to you "die hard" Linux people, the Ubuntu Create Launcher Dialogue Box. 




Monday, March 12, 2012

Made the jump to 11.10 and Unity

I finally made the jump to Ubuntu 11.10 with it's Unity interface.  I don't really want the Unity Desktop and would have liked to have a built-in choice (I know I can install Gnome 3 but it would have been nice to have this choice built-in).

My reason for making this jump is simple; from everything I've read Canonical is committed to Unity and if I want to stay with Ubuntu then it's Unity or custom work every upgrade.

We are getting close to the Ubuntu's Long Term Release and it will have Unity so I'm going to give it a chance.  I have to admit that I have some dislike of Unity going into this but I think most of it is because Canonical has taken away my choice in this matter.  However Canonical and Ubuntu has been good to me over the years since I've started this blog so I'm going to give them the benefit of the doubt, assume they know what their doing and give Unity a fair try.

The upgrade from 11.04 to 11.10 was painless, taking about an hour.  It booted fine and keep most everything I had under 11.04.  For some reason it decided to change my background to a Star Trek theme.  I think I had download this theme once in the past but it was too busy to use.  Since it is still too busy to use the only thing I've done so far is change the background.  I actually put some thought into this; its not Microsoft, its not Apple, and its not the Ubuntu I'm use to, so I went with something different.  I'll post more as I learn.


Wednesday, November 02, 2011

Create a Desktop Shortcut to a VPN Connection

I connect to my Office's VPN all the time.  I don't like the multiple clicks required to do this (Click on your NETWORK ICON in the system tray, Click on VPN CONNECTION, then Click on "NAME OF YOUR VPN").  I want a simple desktop shortcut. To do this I needed to know the TERMINAL command to start and connect to a given VPN.  After some searching I found it!

nmcli con up id "NAME OF YOUR VPN"

If you type this into Terminal your VPN will connect!

So let's make a shortcut to do this for us with just one click (Ubuntu 11.04).

1. Right Click on your desktop

2. Select CREATE LAUNCHER

3. In TYPE set it to APPLICATION

4. In NAME type what you want to call this shortcut

5. In COMMAND copy and paste the following:

   nmcli con up id "NAME OF YOUR VPN"

6. Inside the quote marks replace NAME OF YOUR VPN with what you called your VPN connection when you created it. (mine is Main Office)

7. Add anything you want in COMMENT

8. Click Ok and your done!

NOTE: you can change the icon for your new VPN Shortcut by click on it (Picture of a spring) in the CREATE LAUNCHER window and browsing your hard drive for the icon of your choice.

BONUS NOTE:  You can create a VPN DISCONNECT shortcut by creating a new launcher and replacing the COMMAND (Operation 5 above) with:

nmcli con down id "NAME OF YOUR VPN"


This was done on Ubuntu 10.04 booting to the CLASSIC desktop.  I don't care for UNITY and have no idea if this will work there.

Sunday, September 25, 2011

Learn the Command Line Interface (CLI) through Videos

Want to learn some COMMAND LINE (CLI) goodness.  Here's a cool site that will teach various Command Line usage through videos (WWW.PLAYTERM.ORG).  Most of the tutorials are short and easy to follow so don't be scared to let your inter geek out and impress your friends when you drop your mouse and start pound on that dusty keyboard.

A short post but the good ones usually are.

Wednesday, August 17, 2011

Change the GRUB default boot option

When I upgraded from Ubuntu 10.10 to 11.04 the default operating system selection in the GRUB Boot menu did not work for me. I found a nice program that allows you to change this setting along with a lot of other boot up options.

STARTUP-MANAGER


Let install it and make the change:

1. Open a command prompt and type or paste

sudo apt-get install startupmanager

2. Type in your password when prompted and let it do its thing.

3. After it installs you'll find it under SYSTEM-----ADMINISTRATION----StartUp-Manager

4. Click on it and give it your password when asked.


















5. Under DEFAULT OPERATING SYSTEM pick the boot option you want.

Close and done!

There are probably other ways to do this without installing an application but I wanted it to have a GUI interface to make it easy since it's a bad thing to miss this up.

Upgraded to Ubuntu 11.04 (Natty Narwhal)

Well I've done it now! I upgraded from Ubuntu 10.10 to 11.04, Natty Narwhal, and right from the beginning it gave me trouble.

The upgrade process took about an hour and went smoothly but on the first boot I was presented with the dreaded command prompt. It asked for my user name and password which I gave. It answered me with another command prompt!

Okay, don't panic...What is the command to start the GUI...hmmm...win? no! gnome? no!...gdm? Well I powered it off and rebooted and picked a different GRUB selection on the boot menu. I noticed that the default was "Ubuntu 11.04, kernel 2.6.38-10-generic-pae". I don't remember that -pae part being there on 10.10 so I looked down the list and saw a "Ubuntu 11.04, kernel 2.6.38-10-generic" and tried it. That Worked!!! A GUI...yeah!!! Well, I guess you could call it a GUI, it's the UNITY interface.

I wanted to give Unity a chance but after 10 minutes of looking around I decided it had to go. This IS NOT A DESKTOP GUI. It looks like it was made for low res monitors or netbooks and buries everything. I'll not get into it here but it has to go!!!

Let's change the GUI from Unity to Gnome 2.x or Classic;

1. Click on your logoff/shutdown button in the upper right conner by your user name.
















2. Click on the SYSTEM SETTINGS

3. That opens the below screen. Find the LOGIN SCREEN button and click it.















4. Click the UNLOCK button in the window that pops up and type in your password.

5. Click on the drop down and Select UBUNTU CLASSIC as the Default and close.

Next time you boot up you'll get Gnome 2.x (Classic) instead of the Unity Crap!


Sunday, August 07, 2011

How to Install LibreOffice on Ubunutu 10.10

The jury is still out on Ubuntu 11.04 (Natty Narwhal). I've come to relay on my Ubuntu box too much to upgrade but I wanted to run LibreOffice. Here's how to get LibreOffice on your Ubuntu 10.10 box:



1. Uninstall OpenOffice. Open a TERMINAL window and type:

sudo apt-get purge "openoffice*.*"

Hit ENTER and type Y when asked if you want to remove OpenOffice.



2. Add the LibreOffice Repository (still in the TERMINAL type:)

gksu add-apt-repository ppa:libreoffice/ppa

Hit ENTER

gksu apt-get update

Hit ENTER



3. Download and Install LibreOffice (still in the TERMINAL type:)

sudo apt-get install libreoffice libreoffice-gnome language-support-en

Hit ENTER



4. DONE.


NOTE: Step 3 will download about 140mbs of data from the Internet so be patience.

Tuesday, June 21, 2011

Garmin 305 Forerunner, Runkeeper.com and GPSBABLE

I have a Garmin 305 Forerunner watch which tracks several things about your runs, walks, or bike rides. It tracks the path you take with it's GPS, your distance, time and several other things. I use a nice Linux program to track activity with it, PYTRAINER. I even wrote an article on how to get PYTRAINER working with the 305. The problem is that this data is locked to the local computer and it's not easily shared with your running partners.

Well I found a nice Android App called RUNKEEPER. This App uses your cellphones GPS and it's internet connection to track and share your running session with your friends. I really like and recommend this App but I hate carrying my cell phone while I run and the GPS Tracking eats the phones battery.

I wanted a solution that would use the my Garmin 305 but allow me to put my data on RUNKEEPER. This is where GPSBABLE comes in. Here's how to do it.

1. Follow the instructions for installing PYTRAINER and GPSBABLE
2. Sign up for a FREE RUNKEEPER account at http://runkeeper.com
3. To get a copy of your run data off you Garmin 305 you need to connect it to your computer through it's USB.
4. Once your 305 is connected, open a TERMINAL window and type the following:

sudo gpsbabel -i garmin -t -f usb: -o gpx -F yourfilename.gpx

5. Hit ENTER and type your SUDO PASSWORD and hit ENTER.
6. This will create a file named yourfilename.gpx in your
HOME Directory.
7. Log in to RunKeeper
8. Select ACTIVITIES from the menu on the left.

9. Select POST NEW ACTIVITE (Top Menu)






10. Click on the the ACTIVITY TYPE and
EQUIPMENT TYPE then Click the NEXT Button on the bottom

















11. Click on the IMPORT MAP button














12. Click on the CHOOSE FILE button and select the yourfilename.gpx which you created in steps 4 - 6. This file will be in your HOME directory.
















13. After the gpx file UPLOADS you will see DETAILS Screen where you can change anything you like. When finished click on the SAVE Button.


























DONE!!!

I know that seems like a lot of steps but it's not that hard to do, just hard to explain. The nice thing is that your run data is still on your watch and you can download it to PYTRAINER (or other program) to keep locally.

GPSBABLE can do much, much, more and I encourage you to read its documentation.

Saturday, February 12, 2011

IOS 4.2.1 DBus Error Fix (Iphone)

I've upgraded my Iphone 3gs to IOS 4.2.1 and it quit working with Ubunutu. It gave me the following error;

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

After a little searching I found a solution that worked for me.

1. Goto APPLICATIONS-->UBUNTU SOFTWARE CENTER
2. Once your software center app starts goto EDIT-->SOFTWARE SOURCES
3. Click on the OTHER SOFTWARE tab
4. Click the ADD button
5. In the pop up box type ppa:pmcenery/ppa
6. Click the ADD SOURCE button.
7. Once added, close your Software Center.
8. Goto SYSTEM-->ADMINISTRATION-->UPDATE MANAGER
9. Check for system updated and allow them to install.
10. Plug your Iphone into your computer and it should work.

I hope this helps someone else who's have this problem. I'm running Ubuntu 10.10 32-bit OS with Iphone IOS 4.2.1 on an Iphone 3GS phone. (No Jailbreak)

Sunday, February 06, 2011

A Couple of Nautilus Tips

Nautilus is the FILE MANAGER Ubuntu uses. Here are a couple of quick tips.


How to show File Sizes under the thumb nails Nautilus uses.


1. Start Nautilus

2. Goto EDIT-->PREFERENCES

3. Click on the DISPLAY Tab

4. The top drop down box should say NONE. Change it to SIZE.


DONE!!!!










Tips number two will let you make Nautilus a little prettier.

How to change the background color or make it a texture in Nautilus display window.

1. Start Nautilus
2. Goto EDIT-->BACKGROUND AND EMBLEMS
3. The window on the left will appear.
4. Click and hold on the color or pattern you want
5. Drag that color or pattern onto the area of Nautilus you want to have that pattern or color.

DONE!!!!




I've applied the CORK pattern to the Nautilus' Main Window.

There you have it, two quick tips to make your "File Manager" a little better in Ubuntu. If you really want to get fancy you can add some ACTIONS or EXTENSIONS to enhance Nautilus' usability.

Sunday, January 02, 2011

A working Web Cam

Just a short note but was something I had trouble finding. I wanted a web camera that worked with Skype under Ubuntu. I found the Logitech C270. It has a built in microphone and was truly plug and play.

Just download and install Skype 2.1 Beta for Ubuntu, plug in your C270 and it just works. You will have to go into the microphone selection section and pick the mic on the C270 instead of your microphone port if you want to use the built-in mic.



Go to SYSTEM-->PREFERENCES-->SOUND then click on the INPUT tab and you can pick which microphone you want to use.

The Logitch C270 has a hinge mounting system that is more suited to laptops than LCDs but with a small piece of Velcro it worked with my LCD just fine. The camera head can tilt so you can angle it up or down once you mount it.

The C270 has a very nice picture over Skype too. It is a 720P camera and seams to work nice even in my low light setting. Even using external speakers mounted on my monitor I noticed no feed back while using the cameras mic.

Saturday, December 25, 2010

Virtual Box; Windows XP inside Ubuntu

I use MS Windows at work so I still need a MS Windows machine here at home too. I was going to make my home PC a duel booter but I did not have my MS Windows Install CD when I installed Ubuntu (it is very easy to make a duel boot Ubuntu/MS Windows machine if you have MS Windows installed before you install Ubuntu. If Ubuntu is installed first it get complicated and you can trash your system). Well last week I found my MS Windows XP Pro (Full Install Disc. Yes I paid the $299 or $399 to add XP Pro to a custom build PC once) So I decided to try to make a Virtual Machine.


After a little reading I decided to try out Virtual Box. Let me cut to the chase, it works great. You get Ubuntu and MS Windows XP on the same machine running at the same time and you can switch between them by simply minimizing a program (copy and paste work too).

There are two version of Virtual Box for Ubuntu, one you install from the UBUNTU SOFTWARE CENTER and the other you download as a .deb file. The difference as I see it has to do with OPEN SOURCE / CLOSE SOURCE debate, both version are free of charge. To me the difference that mattered was the fact that the Close Source supports USB and the Open Source didn't.

If you are one of those people that has to have Open Source Software no matter what, follow the red instructions: PART I - Installing VirtualBox OSE.

If you need USB to work
skip the red section and go to the green: PART I - Installing VirtualBox PUEL



PART I - Installing VirtualBox OSE
How to Install the Open Source Version (NO USB SUPPORT):
1. Click on APPLICATIONS Menu

2. Click on UBUNTU SOFT
WARE CENTER

3. In UBUNTU SOFTWARE CENTER do a search for "virtualbox"


4. This will return a result which
contains VIRTUALBOX OSE

5. SELECT "virtualbox ose" and INSTALL it by click on the INSTALL BUTTON.


Done!!! You now have VirtualBox OSE installed and it will show up under APPLICATIONS--->SYSTEM TOOLS on Ubunut 10.10.

YOU DO NOT HAVE USB SUPPORT FOR THE MS WINDOW
S GUEST OS INSTALL THAT WE WILL CREATE IN PART III.



PART I - Installing VirtualBox PUEL
How to Install VIRTUALBOX with USB Support:

1. Goto the this web page and select the package for your version of Ubuntu (I used the 10.10) It should be noted that the i386 package is for 32 bit Ubuntu and the amd64 package is for Ubunut 64 bit (both 64 bit AMD and 64 bit INTEL processors. It's a bad name) FYI: this version of VirtualBox is called VirtualBox Personal Use and Evaluation License (PUEL).

2. Once you've downloaded the right package (a .deb file) install it by simply double clicking on it. This will start your UBUNTU SOFTWARE CENTER where you just click on the INSTALL BUTTON.

3. After your install completes, goto APPLICATION--->UBUNTU SOFTWARE CENTER

4. Click on EDIT--->SOFTWARE SOURCES

5. Click on the OTHER SOFTWARE tab.


6. Click on the ADD button. (this will pop up a box you can enter text into)


7. Paste one of the following lines into this pop up (ONLY USE ONE OF THESE LINES BASED ON WHICH VERSION OF UBUNTU YOU HAVE i used the 1st one, i have 10.10)

deb http://download.virtualbox.org/virtualbox/debian maverick contrib
deb http://download.virtualbox.org/virtualbox/debian lucid contrib
deb http://download.virtualbox.org/virtualbox/debian karmic contrib
deb http://download.virtualbox.org/virtualbox/debian jaunty contrib
deb http://download.virtualbox.org/virtualbox/debian intrepid contrib
deb http://download.virtualbox.org/virtualbox/debian hardy contrib
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib
deb http://download.virtualbox.org/virtualbox/debian lenny contrib
deb http://download.virtualbox.org/virtualbox/debian etch contrib

8. Open a TERMINAL Window (APPLICATIONS--->ACCESSORIES--->TERMINAL) and type the following, on one line, and hit enter:

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

9. Once that is done, typ
e the following in TERMINAL:

sudo apt-get update (HIT ENTER KEY)
sudo apt-get install virtualbox-4.0 (HIT ENTER KEY)

10. Once that is done, type the following in TERMINAL and hit ENTER:

sudo apt-get install dkms


You should be done installing VirtualBox PUEL and you can now run it by clicking on it in APPLICATION--->SYSTEM TOOLS--->Oracle VM VirtualBox.

I know that was harder but you will now be able to run MS Windows applications and get USB devices working too.

Here is a Trouble Sho
oting Guide




PART II - Making a Virtual Machine for you MS Windows to live on.


In Part II we will make a Virtual Machine or VM for your MS Windows Guest OS to live on. We start this by launching VirtualBox (APPLICATION---> SYSTEM TOOLS---> ORACLE VM VirtualBox)

Some things to note before you start:

First, when you create your Virtual Machine it will really just be one very big file stored on you Ubuntu box. I have two hard drives on my system, one is formated in the Linux format ext3. My second drive is format in FAT32. I wanted my Virtual Machine to have 40gb of hard drive space. FAT32 will NOT allow file sizes over 4gb so I had to use my Linux ext3 drive (which was smaller) for my Virtual Machine.

Second, when you create your Virtual Machine you will have to assign it RAM too. I have 3 gb of RAM and I wanted my Virtual Machine to have 1 GB of RAM. So when I start my Virtual Machine it gets 1gb of RAM dedicated to it leaving 2 gb for Ubuntu. If you only have 1gb or worse 512 mb of RAM to start with, you should make a duel boot machine and not do Virtual, it'll be too slow. You can have multiply Virtual Machines running at the same time too but each has to have RAM dedicated to it, so if I wanted to run XP and Windows 7 on my Ubuntu box I would have to give Xp 1 gb of RAM, Windows 7 one gb of RAM, leaving 1 gb of Ram for my Ubuntu, if I had all three running at the same time. Some guides, MS Windows XP runs fine with 512 mb but 1 gb is better, Windows 7 and Vista need a 1 gb but work better with the full 1.5 gb. In Short if you have less than 2 gb of RAM on your system, duel boot don't virtual.

Third you must have a full install disc of whatever OS you want to virtulize. I did MS Windows XP Pro.

On with the show! Let's create a VM (virtual machine).

1. Start VirtualBox

2. Click on the NEW button (This starts a Wizard)

3. Click NEXT

4. Type in a NAME for your Virtual Machine in the NAME box (I used MYGUESTXP)

5. Pick the OPERATING SYSTEM and VERSION of the OS you are installing (I picked MICROSOFT WINDOWS and XP) and click NEXT

6. Use the SLIDER to pick how much memory to give you VM (I pick 1024 mb) Click NEXT

7. Select how much hard drive space to give your new VM (I checked BOOT HARD DRIVE and
CREATE NEW HARD DISK default size 20,480mb) Click NEXT

8. Read the Screen and Click NEXT.

9. Select a DYNAMIC or STATIC Hard Drive. (Dynamic will grow if needed, Fixed will not and you could "fill up" your virtual drive) (I picked Dynamic) Click NEXT

10. You can change how big to make your VM hard drive (I changed mine from 20480 mb to 40000 mb but left the name as the default) Click NEXT

11. This screen will summarize your Hard Drive choices. Confirm them and click FINISH

12. This screen summarizes your entire Virtual Machine Setting Choices. Confirm them and click FINISH.

YEAH!!! You just created a Virtual Machine or VM.

It has a CPU, Memory, Video, Networking, Sound, Serial Ports and USB Ports (if you installed the PUEL version of VirtualBox). What you do not have yet is a GUEST OPERATING SYSTEM. Read Part III for that :-)

Before you get to Part III, select your new VM by single click on it's name inside VirtualBox. Then Click on the SETTINGS Button . You can look around in the various section and change anything you think you might need too on your VM. I found that the only thing I needed to change was under the VIDEO section. I used the SLIDER to give my VM 32mb of video ram so that I could run a 1024 x 768 display with 32 bit color on my VM.




PART III - Installing a Guest Operating System on your new VM.

A computer is good to no one without and Operating System installed on it, even a virtual computer. Let's put an OS on our new VM.

1. Select your VM by single clicking on it in VirtualBox.

2. Click the START button.

3. A wizard will start, read it and click NEXT.

4. Pick the CD/DVD/HARD DRIVE your FULL MS Windows Install disc is located in. (mine was my DVD drive) Click NEXT.

5. A summary window will appear. Read it and Click FINISH.

6. This will start a standard install of whatever guest OS you are installing (mine was MS Windows XP Pro)

7. Complete the standard install of your Guest OS just like you were installing it on a real PC.

You are now done!!!.

You have created a Virtual Machine that runs a Guest Operating System inside Ubuntu.

What to do now? Install whatever software you want to run inside your VM. You install stuff just like you would if your computer was real. Do your updates, active your OS, whatever you would normally do. I've installed XP Pro, Installed Service Pack 3 on it, did all the Security Updates, Installed MS Office 2007, Photoshop CS 2, Hooked up an HP Printer/Scanner, plugged in and used several USB Thumb Drives and Hard Drives and Installed a few freeware apps I use. What I couldn't get working was my Garmin Forerunner Watch (see last post).





SOME CLOSING HINTS


Under DEVICES-->INSTALL GUEST ADDONS will make your VM act like a program running on your Ubuntu box (copy and Paste from it, mouse/keyboard trapping by click not Right-CTRL)

Your Virtual Machine will think your Ubuntu Host is another computer on the same network as it, so you can do network neighborhood sharing with it if you have SMB Sharing on your Ubuntu.

Under SETTINGS in VirtualBox you have to active USB Support and ADD a FILTER for each USB device you connect. The top Right Icon in the below screen shot ADDS a new "catch all" filter. Sometime when using USB Ubuntu will get confused as it will try mount the device too. Beware of data lose.

Wednesday, September 15, 2010

Garmin Forerunner 305 and Ubuntu

I've decided to get into shape (too much time playing with Ubuntu). The problem is I don't have a lot of spare time and I need to know how far and fast I run (mostly walk). That meant that I have to go to a park with a known distance which reduced the workout time.

Enter the Garmin Forerunner 305 Watch with Heart Rate Monitor. It tracks your run/bike time, distance, course, heart rate, and a host of other things. Cool, if I mix running with computers I'll keep at it just to play with the toy. Problem is it comes with MS Windows Software and OS X (Mac) but not Linux. Back to my old friend Google and in two hours (and a mile and a half run) I had my Ubuntu 10.04 tracking, plotting and telling me how slow and fat I am.

There are a couple of tricks to get this working but its not hard, just do the steps in order. I know there are a lot of steps but they are baby steps to make it a 10 minute job. (No making fun of my times either, I was walking :-)

1. Use this link and download gpsbabel_1.3.5-1.1_i386.deb (It has to be this version)

2. This will download a .deb file. Just double click on it to run it.

3. It will tell you that there is a newer version available. Ignore it

4. Click on the INSTALL Button and let it do its thing.

5. Goto your UBUNTU
SOFTWARE CENTER and do a search for PYTRAINER.

6. Install it. (if you did not do step one pyTrainer would install the wrong version of gpsbabel and it won't work with your
Runner).

7. Goto your APPLICATION menu and look under OFFICE and you'll see pyTrainer.

8. Plug in your Forerunner into a USB port.

9. Start PyTrainer

10. In pyTrainer goto the TOOLS-->GPS DEVICE PLUGIN menu item.



11. That will bring up the PLUGINS window. Select GARMIN VIA GPSBABEL 3.5.1. and click on PREFERENCES Button.


12. This will bring up a the PREFERENCES window. Change DISABLED to ENABLED and click OK.


13. Close pyTrainer and disconnect your ForeRunner 305.

14. Take you ForeRunner 305 out for a test jog and get some data in it.

15. Come back and plug in your Forerunner 305 and start pyTrainer.

16. Goto menu FILE-->IMPORT FROM GARMIN GPS DEVICE (VIA GPSBABEL).

17. Within a few seconds you will have imported your data.

Once you import your data pyTrainer allows you to view
how far you went, how fast you went, see your route on Google Maps, Count Calories you burnt, see your heart rate, and see graphs and charts that compare these stats and more. It tracks your workout over one day, one week, one month or one year. It's a very nice program.



The only gotcha was the fact that pyTrainer from the Ubuntu Software Center is version 1.7.1 the newest is versio
n 1.7.2. The 1.7.1 installs GPSBABEL's newest version 1.3.6 which will not work with pyTrainer 1.7.1. 1.7.2 may have fixed this but I don't know.



UPDATE: I upgraded from Ubuntu 10.04 to 10.10 and it updated my GPSBABLE which broke PYTRAINER. I uninstalled PYTrainer and the Newer GPSBABLE, reread my own article, following my own instructions and it didn't Work!!!

It would not detect my GPS but my old data was still there even after the remove/re- install process. Well after hours of tinkering I found that if I followed these instructions for the install AND RAN PYTRAINER as SUDO it worked! So follow these directions for the install but to run PYTRAINER open a terminal window and type:

sudo pytrainer

Hit enter and it will work and you will have your old data.

If you are doing a new install of pytrainer and don't need your old data you can make a desktop shortcut to the PYTRAINER program (open your APPLICATIONS menu find PYTRAINER, right click on it and select ADD THIS LAUNCHER TO DESKTOP) Once you have a desktop shortcut you can right click on the desktop shortcut and select PROPERTIES then edit the COMMAND section to say:

gksudo pytrainer

and your good to go. You can just double click the desktop shortcut and don't have to use the scary TERMINAL Commands.


Wednesday, September 01, 2010

Not Linux but Useful Info BLOGGER

I have this blog associated with an old email address that I do not want to keep so I needed to transfer this blog to another email account. I started searching and after a few hours I was ready to give up and figured it couldn't be done when I found this great article.

Use the link and read the nice article with screen shots so that you get this right. If you mess this up, you will lock yourself out of your Blog.

He is a summary of the above linked article.

1. Log into your blogger/blogspot account with the old user name (old email address).

2. Click on the Permission tab.

3. Click on the Add Author button on the permissions tabs.

4. Enter your new user name (new email address) and send the invite.

5. Log out of Blogger/Blogspot and log into the new email address.

6. Open the email and click on the invite link in the email.

7. Log out of your new email account

8. Log back into your Blogger/Blogspot account using the Old email address as your user name.

9. Go to the Permission Tab again and you should see two email addresses there, your old and your new.

10. Click on the Grant Admin Privileges button beside the new email address.

11. You can now use either email address (user name) to manage your blog.

12. Click on the Remove link beside your old email address (user name).

13. Confirm the remove and log out as your old email address (user name).

14. Log into Blogger/Blogspot with your new email address (user name).

15. Done!

If you get this wrong you will not be able to manage or worse not able to access your BLOG. I encourage you to read the linked to article, if for no other reason than the fact that they have other good how-to article relating to Blogger/Blogspot.

Needed a Cheap Scanner and Got a Printer Too

I needed a cheap scanner that would work with Ubuntu. I had nice little Cannon but it was a MS Windows only scanner. I've looked on and off for about 6 months now, reading on-line about which ones work with Linux and was surprised that there wasn't a lot of information out there on which models work and when I found one, I couldn't find that model for the price I wanted.

I finally stumbled across an HP article which contained a very nice chart that lists what HP printers/scanners/fax/all-in-ones work with different Linux Distros. The chart will tell you what features work and what ones don't. There is a nice how to install the HPLIP software with screen shots and explanations as to what each command does (You will have to use the Command Line but it's not hard) The main thing to remember is not to plug your device into a USB port until the instructions tell you too.



As I said I wanted a cheap scanner but found an HP OfficeJet 4500 AIO on Amazon for $59. It has a ADF (Auto Document Feeder), Printer, Fax, Copier and has a network port (wired). So far, I know the printer, scanner, and copier work just fine on Ubuntu 10.04 but I don't have anyway to test the Fax so your on your own there. Don't get me wrong this is a cheap device, it's all plastic, hinges are weak, and scanning at over 300 dpi is slow, but it works and was only $63 delivered.


Since I bought this for it's scanner, I don't really care, but ink is $25 for a tri-color (200 page limit) and $30 for a Black (700-900 page limit). If you were using this for its printer, you would be ahead to just sell it for $20 and buy a new printer every time you run out of ink.

I want to do some OCR work in Ubuntu and scan in some old photos. As I find software and begin working with Linux scanner software I'll document it here.

Sunday, August 22, 2010

OpenOffice Howto: Paste Unformatted Text Shortcut Key

I know OpenOffice is not just for Linux but I've all but replaced MS Office with it even at work (I still have to have Outlook for email).  What I wanted was a way to quickly copy and paste unformatted text.  I know there is already a shortcut key combo for this but it's awkward ( CTRL ALT SHIFT V)  That's 4 Keys!!!  Too many.  

Here's what I did to fix this.  Start OpenOffice Writer then goto Tools --> Customize. Select the Keyboard tab from the Customize window that popped up (Pictured below).   Select Edit in the bottom left list.  Then select "Paste Unformatted Text" from the bottom right list and finally assign the keyboard shortcut you want it to be from the top list.



I notice that the F4 key (Function Key F4) is unassigned so I used it and went from a 4 key combo to 1.  

Wednesday, July 21, 2010

How to get Google Services working with Evolution V2.28.1 +

How do I get Evolution to use ( Sync with ) my Gmail Account?

How do I get Evolution to Sync with my Google Calendar?

How do I get Evolution to Sync with my Google Contacts?

These are good questions and the same one's I asked myself tonight.  Since this is a very "Googlie" post, I Googled for the answer.  Well I'll save you the trouble of sorting through all the Google articles and just give you the link to the site that solved all those problems for me.  Here's the link.  I saw no reason to rewrite what is already an easy to follow how-to.

My version of Ubuntu is: 10.04 LTS - the Lucid Lynx.
My version of Evolution is: 2.28.3

Tuesday, July 06, 2010

WINE. What I've got working.

I've found Linux equivalents of almost every application I want or need.  For the ones I just can't live without, there's WINE.  With WINE you can install and run MS Window's applications (but you have to tinker with them to get them right).

For me, the the App I really had to have was Photoshop.  I have Photoshop CS2.  I know it's not the most up-to-date Photoshop, but I own it and am use to it. I now have it running completely on Ubuntu with most of my plug-ins too.  In addition I have Omniforms 5.0, GSAK (GEOcaching application) and IE6 (only use it for GSAK) running like they are native Linux apps.

So how do you do it?

First you install WINE into your Ubuntu build (mine is Ubuntu 10.04 LTS Lucid Lynx)  by going to APPLICATIONS-->UBUNTU SOFTWARE CENTER.  Then type WINE into the search box.  Once you find the WINE application, install it.

You should now have WINE installed and see a WINE menu item under you APPLICATIONS Menu.  There will be a single program under APPLICATION-->WINE-->PROGRAMS-->ACCESSORIES and that will be NOTEPAD.  You can launch it now and see what WINE Apps will look and feel like.

Now WINE, like Ubuntu, has some add-ons that you'll have to install to make it useful.  Some of these things are copyrighted (you've been warned).  You can get everything you need in one package, WINETRICKS.  To install WINETRICKS, Open a TERMINAL windows and Type the following:

sudo wget http://www.kegel.com/wine/winetricks (Press Enter)

Then you need to install CABEXTRACT by typing:

sudo apt-get install cabextract (Press Enter)

Now to run WINTRICKS type:

sh winetricks (Press Enter DO NOT sudo this command)
You will then be presented with a list of packages you can check mark and install.


As you can see there are a lot of packages you can add.  Simply CHECK the ones you want and click OK.  But which ones do you want?  Good question.  That depends on which MS Windows application you want to run.


For Photoshop CS2, I install COREFONTS and VCRUN6.  I also installed the MS TOHOMA FONT or you can check the ALL FONTS box.

You should now be able to put your Photoshop CS2 Install CD into your CD Rom, open it, right click on the SETUP.EXE and select OPEN WITH WINE WINDOWS PROGRAM LOADER.  Your Photoshop should now install.  Once it's done, it will be located in the APPLICATIONS-->WINE-->PROGRAMS menu.  You can install you plug-ins with the same RIGHT CLICK Method.  Here is a Wiki link to where I got most of this information.

Last thing to do to make Photoshop CS2 work fully is make the ALT key do what it is supposed to do in Photoshop.  Go to SYSTEM-->PREFERENCES-->WINDOWS and under Movement Key, pick "Windows Logo" instead of "Alt". (this tidbit killed me for a month until I found that Wiki Link above).

How to get GSAK working.  Run WINETRICKS (sh winetricks) again and install ie6. Reset your computer (really, reset it).  Then download and install GSAK using the RIGHT CLICK Method.  You may get an error but once you add a few caches to it, it will be fine.  Also do not turn off the SHOW TIPS at startup.  This caused me to crash.  If yours does not work, reset your computer, that is the third time I've told you!

If all went well, you can now get your favorite MS Windows programs running side by side with your Ubuntu Linux stuff.  Here is a screen shot of Photoshop CS2 running.  I know the colors suck, but you can change them, a lesson for later.

 
 
NOTE:  


DO NOT USE IE6 FOR ANYTHING OTHER THAN GSAK.  IE6 IS FULL OF SECURITY HOLES.  IT IS DANGEROUS TO USE FOR GENERAL SURFING.

Last Minute Note:  If your photoshop hangs on the splash screen while loading, just press ENTER.  That works for me.

Monday, May 17, 2010

Converting WMA to MP3 (LAME and XCFA)

Version Ubuntu 10.04.

First you have to be able to play MP3s and WMAs (or DVDs for that matter).  Since this article is about conversion not making them work I will just give you a link to Ubuntu itself which will tell you how to get them working.

Once they're working, it's easy to get them converted.  There are probably several ways to do this and a lot of TERMINAL methods but I wanted a mouse point and click solution.  So go to APPLICATIONS-->UBUNTU SOFTWARE CENTER and search for LAME.  Install LAME by clicking on the INSTALL button. Note this search will return several packages. The one you want is LAME AN MP3 ENCODING LIBRARY (front end).  Now search for XCFA. This stands for X Convert File Audio.  This search will just return one result.  Install XCFA by clicking on the INSTALL button.  Close the Software Center your done installing.

To use XCFA to convert from WMA to MP3; first select the FILES TAB (yellow 1 in the pic) then CLICK the IMPORT button (yellow 2) and select your files you wish to convert (use shift and ctrl to select multiple files).  CLICK in the FILE DESTINATION box to pick where you want your new MP3 files to go (yellow 3).  Next CLICK the RED BOX's under the MP3 column on all the wma files you want to convert (yellow 4).  Last, CLICK the APPLY THE CHANGES button at the bottom left (not pictured).

Your now done.  The conversion will take some time to complete but you'll see a progression bar to keep you informed.

NOTE:  You can install other CODEXs that will allow you to convert to other formats.  You can see on mine that I can do WAV, FLAC, WavP, OGG, MPC, and MP3.  I can not covert to APE,M4A, or AAC because I do not have those codexs installed.