Open Chinstrap

March 26, 2008

Installing perldoc on Ubuntu from the Command Line

Filed under: Linux, Perl, Ubuntu — t-roy @ 10:29 pm

perldoc is not installed in Unbuntu 7.10 or at least it is not completely installed.  When I typed:

$ perldoc

I recieved the following message:

You need to install the perl-doc package to run this program.

However, when I type whereis perldoc the system does return the path of the perldoc program.  To install the perldoc package from the command line type:

$ sudo apt-get install perl-doc

perldoc install

Now perldoc should work.

Troy

March 21, 2008

Video Problems with FireFox Plugins

Filed under: Firefox, Linux, Ubuntu — t-roy @ 5:40 pm

The first time I tried to viewing a video using Firefox 2.0.0.12 (on Unbuntu 7.10)I was prompted to install a plugin.  My choices were the Adobe Flash Player and Gnash .  I decided to use the Gnash Player.  Unfortunately I was then not able to play any videos.  The video control was blank.  I could right click on the video control and click play but nothing would happen.

I thought this would be simple enough to fix.  I would simply go into the fire fox addins and remove the gnash player.  The only way I could remove the Gnash player was to uninstall it using the Synaptic Package Manager.  You can find this by select System>Administration>Synaptic Package Manager.  Once you do this just do a search for gnash :

Search for Gnash in the Synaptic Package Manger

Then click on gnash-common package and select Mark for complete removal:

Remove Gnash

Now that Gnash is uninstalled you can open up FireFox and browse to a site that contains a video (e.g. You Tube) .  When you try to view the video you will be prompted to install a flash player.  Chose the Adobe Flash Player and wait for it to install.

Troy

Running Ubuntu on Dell D600

Filed under: Linux, Ubuntu — t-roy @ 6:46 am

I have been running Ubuntu 7.10 (Gutsy Gibbon) for just over 2 months on my Dell D600. The laptop has 1.5 GB of RAM, 1.6 GHz processor and uses a wireless network card. This is one of the few Linux distros where I had no problem connecting to my wireless network (at least a problem on my Dell). I simply downloaded the ISO from the Ubuntu site and burned it onto CD. The only issue I had was setting up printing. My printer is attached to a Windows XP machine so I needed to setup printing to a share.

I just connected to the local CUPS server (http://localhost:631) that installed with Ubunutu and added the printer from their. To add a shared printer first you need to share the printer on the Windows machine. In my case I named the share HPC4100 for my HP printer. I then used the CUPS Interface to set up the printer:

CUPS Setup

Make sure you enter the correct URI. For a windows share using Samba it looks like this:

smb://servername /sharename

In my case it was http://myserver/HPC4100

If the server name does not work you can also try entering the ip address for example: smb://192.168.1.100/HPC4100. However this will cause problems if your printer server’s IP is dynamically assigned. I also recommend printing a test page from cups to make sure it works. If you are prompted for authentication during the setup just enter your username and password or root and the root password.

Troy

Blog at WordPress.com.