Home Linux Blog
 
Linux Blog
Ubuntu 11 and Skype PDF Print E-mail
Written by WebRuss   
Friday, 24 June 2011 11:39

When I upgraded to Ubuntu 11 on my Dell Optiplex 755, I noticed that skype would not work. I use skype quite a bit so I needed to find a solution. I have a Microsoft Lifecam vx700. This is a usb camera and microphone combo. No matter how I tried the camera would not work with skype. Here is my solution gleaned from dozens of other sites. I take no credit for the solution below, I merely brought it all together into one post from bits a peices I found in different posts on the skype and unbuntu forums. One note, I use Ubuntu in classic mode so my directions reflect that gui mode.

Step 1. Open terminal (Gnome Menu-> Accessories->terminal) and use gedit to create a shell script in usr/bin. On the command line copy and paste the following: (minus the pound sign #)

#gksudo gedit /usr/bin/skype.sh

You will be prompted for your user password. Once the text editor opens, copy and paste the lines below into the editor:

#!/bin/bash 
export XLIB_SKIP_ARGB_VISUALS=1
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

 

Save the file and close gedit.

I've seen similar solutions that suggest renaming the actualy skype binary to skype.real and then name the shell file skype. I don't reccomend that solution as future updates from the update manager will overwite your script. This way even if the update manager upgrades your skype install this will continue to work.

 

Step 2. Set permissions on the script file. In terminal chmod the file:

# sudo chmod 755 /usr/bin/skype.sh

Step 3. Modify the skype config.xml

This file is located in your home directory in a hidden directory called .Skype. You can get there a couple of ways. For those a little less comfortable with the command line, you can use the Places Menu and open your Home folder. This will open the Nautilus file manager. From the file manager menu select View->Show Hidden Files. Now you will see lots of folders and files that start with a dot. Look for the .Skype folder and doulbe click to open it. Inside that folder will be another folder with the same name as your user name. Open that folder and inside you will see a file called config.xml. Right click on that file and select "Open with Text Editor" from the menu. At the bottom of the file just above the closing </config> tag paste the following lines:

<Video>
<CaptureHeight>480</CaptureHeight>
<CaptureWidth>640</CaptureWidth>
<RecvPolicy>callpolicy</RecvPolicy>
</Video>

Save the file and close gedit.

Step 4. Modiy the launcher.

We need to change the launcher command to make it use the new script file skype.sh we created in the /usr/bin folder. To modify it, right click on your gnome menu and select edit menus from the list. The Menu Editor program will open and you can click on the Internet icon in the left panel. The right panel will then show all the items in your internet menu. click on the Skype Icon and then select properties. This will open the launcher properties window. Change the command line to the following:

/usr/bin/skype.sh

Click close for the launcher and close for the menu editor. Done! You should now be able to use skype with your camera. Hope this helps you!

 

 

Last Updated on Friday, 24 June 2011 12:29
 
Upgrading to Fedora 12 Via USB PDF Print E-mail
Written by WebRuss   
Monday, 01 February 2010 14:50

I recently upgraded my Fedora 11 box to Fedora 12.  No big deal, download the ISO and burn a CD, reboot and upgrade.  Well then I read a cool article on upgrading from a usb drive.  I thought I would give it a try.  I was not disappointed.

I simply followed the directions over at: Live-USB-Creator and turned my 2GB USB flash drive into a portable Fedora Install Device.

I am recreating the process on my FC-12 box so if you are using FC 11 your package numbers will be slightly different. Following the instructions, I opened terminal, my favorite console window tool, and swithed user to root the typed the apporopriate install command:

# yum install liveusb-creator

On my computer it needed a couple of additonal dependencies. I pressed Y and let it finish the install I then went to the Menu-->System Tools-->LiveUSB-Creator and authenticated as root, the screen popped up.

Screenshot-Fedora-LiveUSB-Creator

 

The process from here was easy I selected the distribution I wanted and let it do it's thing.  A few mimutes later I had a bootable thumb drive with FC 12 on it ready to go.  I have heard that some people have issues with the download of the image.  The tool does provide an option to select an ISO image from your local drive to install.

 

Overall this is a great tool.  I reccomend it.

Regards

Russ

 

 

Last Updated on Monday, 01 February 2010 14:52
 
Distro leapfrog PDF Print E-mail
Written by WebRuss   
Tuesday, 03 November 2009 20:20
fedoralogo

UbuntuLogo

As an avid, some would say rabid, Linux user and all around open source advocate, I  like to try out new distributions and see what is new.  I just recently upgraded my Fedora and Ubuntu computers.  I use Fedora 11 on my development box.  I find Fedora has the edge when it comes to balancing the needs of an experienced Linux user who wants command line and GUI. Ubuntu has the advantage with the new user.

I just recently upgraded my laptop that I use for Linux training to Ubuntu 9.10. This old IBM A31 is a rugged workhorse and is perfect for traveling and presenting.  I also use Yugma and Skype on it to teach remote classes. I'm doing my part to save the environment and drive less and hold on-line training.

For some reason people often give me old computer hardware. I guess it has something to do with my socks and sandals approach to life, but I'm not sure.  I do my best to get this hardware into the hands of people that could really benefit from it.  Any computer I give away I wipe clean and install Ubuntu as it has the best configuration for the beginner.  Besides running really well on minimal hardware, their attention to detail for the new user puts them way ahead of anybody else.

Because I'm always looking at the latest Linux advancements, I've noticed an interesting trend.  Fedora and Ubuntu are playing feature and refinement leapfrog.  My qualitative findings are based on my experience of upgrading and installing each new iteration of Ubuntu and Fedora and using them.  Fedora 10 was ahead of Ubuntu 8.  Ubuntu 9.04 beat out Fedora 10. My recent upgrade to Fedora 11 exceeded the Ubuntu 9.04 version.  Now Ubuntu 9.10 has a slight edge over Fedora 11.  Looking at the release notes for Fedora 12 I think they will exceed Ubuntu.

This is a good thing  The winner in the game of feature leapfrog is the end user.  With each iteration, the spiral upward towards ease of use and user acceptance gets tighter and tighter.  I predict that future feature sets for both open source and propietary operating systems will start to use Fedora and Ubuntu as the standard by which successful inteface design is measured.

Regards

WebRuss

 

 

Last Updated on Tuesday, 03 November 2009 20:20
 
Upgraded to Ububtu 9.10 two ways PDF Print E-mail
Written by WebRuss   
Tuesday, 03 November 2009 19:28

 

A31DockedI just spent some time installing and working with Ubuntu 9.10  I tried the installation two different ways on separate machines. The first attempt was an upgrade from 9.04 on my IBM A31 laptop. I have the IBM docking station and I did the upgrade with the computer docked. That helps to make sure the right drivers are installed. I got the notification of upgrade on screen and clicked through and let the upgrade do its thing. I really appreciate the stability of this upgrade process.  I forgot about it and when I came back a day later it was still waiting for me to finish the install. Usually when you walk away from an install it locks up and you have to start over.  Not this time.  The upgrade finished perfectly and I was pleased with the new look on my laptop.  The entire process took a little over an hour to perform the whole upgrade minus my forgetfulness. One part I really liked is even my Broadcom wireless card was detected and fwcutter properly installed the wireless drivers. One part that still does not work is the two USB ports on the dock.  It will not recognize them and I can't figure out how to get them to work.  For now I have a little USB hub plugged into the top port on the back of the laptop and that will suffice for my thumb drive.

 

The second method I tried was a complete wipe and reload of an Ubuntu 8.0 box.  This is a generic PIII 850 mhz machine with 512mb ofriva-tnt2 ram and a Riva tnt2 video card in the AGP slot. I call this my legacy box.  It gives most Linux distributions fits and they fail to install or at least the video installs wrong.  I will again share that I was impressed with the installer.  I booted from a cd I created from the downloaded image and the install process went off almost without a hitch.  I did have to swap out the old 52x cdrom drive as it would not read the cd.  That was a hardware issue not Ubuntu's fault.  The box performs well with a default installation and loads applications surprisingly fast.  I want to take a moment to expand on the speed; performance is above average.  I am able to load applications quickly enough that I do not get impatient. No it is not as fast as my quad dual processor screaming whizz bang development pc but for a PIII it is snappy.

 

One feature I really like is the Ubuntu Software Center.  This is a great tool and an example of the focus Ubuntu places on the end user experience.

 

ubuntu_software_center

Here the tool provides a clean GUI that allows the novice user to find and install the applications they need.  What I really like is that the apps are arranged by what they provide and can do for the user.  The novice is not going to know the name of the application nor do they really care, they want to know that the personal finance tool is going to let them keep track of their personal finances and checkbook register.  That is the right way to organize the applications.

 

Kudos to you Ubuntu team.  This is a slick distro.

WebRuss

 

Last Updated on Tuesday, 03 November 2009 19:29
 
Working with frames PDF Print E-mail
Written by WebRuss   
Wednesday, 22 July 2009 16:01

I was working on a project where an html page had an iframe inside it. The challenge was to allow the parent page to communicate with the child iframe and the child to communicate with the parent.

Letting the parent talk to the child.

The easiest way I found is using javascript. Let's say the child's (iframe) ID is "child".  Now within javascript all you need is to use is the following:

document.getElementById("child").src = url;

By using the getElementById method you can adjust any element within the child.

 

Letting the child talk to the parent.

You guessed it! Again the simplest way is javascript. Lets say the parent html document has a text box with the ID of "first_name"

parent.document.getElementById("first_name").value = "WebRuss"

This same code can be used in the onclick or onload events of links or buttons.

 

 

 

Last Updated on Wednesday, 22 July 2009 16:21
 
<< Start < Prev 1 2 3 Next > End >>

Page 1 of 3