Saturday, August 10, 2013

Fix Skype and Dell Webcam Central desktop sharing and video call problem


I updated to latest Skype and when I tried to use video call assisted by Dell Webcam Central, I got this error.

"To use this feature, ensure that the video streaming format is not MJPEG or H.264."

New Skype does not allow Dell Webcam Central to share desktop or even add any effects/animation because of some changes that have apparently "improved" video calls. I wanted to share my desktop through Skype-Dell Webcam Central. This is how I fixed the issue.


Remove latest Skype and install a "Skype Special Edition" (Skype 6.1.999.130)

It should be now compatible with Dell Webcam Central. If there is any issue, go to 'Capture mode' (Change from IM mode) and you will be able to see your own video. Drop down the camera icon below the video window and make sure that you have selected a video resolution lower than 1280x720.

If you want to update Dell Webcam Central, click the question mark on top right corner and click "Check for Software update..."

Reference:

Why can’t I make video calls on the latest version of Skype for Windows desktop? https://support.skype.com/en/faq/FA12252/why-can-t-i-make-video-calls-on-the-latest-version-of-skype-for-windows-desktop

Saturday, July 27, 2013

Pink Comodo Dragon browser back to white


One fine day suddenly the background color of my portable Comodo Dragon browser turned pink. I looked up online and didn't find a right solution. After playing around, I did the following trick and bam!, the browser is back to white!

Go to Settings > Show advanced settings > uncheck "Use hardware acceleration when available" and restart the browser

I can reproduce the problem by checking the box and restarting again. Did you find it useful?


Wednesday, October 3, 2012

BASH: Plot graph with one line command using gnuplot

This is for a quick visual inspection of your job data output as XY plot. The XY data containing is read from the file data_input.dat

    1.00    0.00000
    2.00    0.74103
    3.00    0.79751
      ..     ....
      ..     ....

$ gnuplot
> plot "data_input.dat"

Now a scatter plot will pop up as a window. If you are logged into remote session with ssh, make sure you have forwarded the X. i.e.  logged in with -X flag

$ ssh -X yourhost

Change it to line plot by adding 'with lines'

$ gnuplot
> plot "data_input.dat" with lines

__________________________________________________________

Now for more advanced options:
1) To save the plot as png image:
add set terminal png, set output "plot.png"

-----------------------------------------------------------------------------
set terminal png
set output "plot.png"
plot "data_input.dat" with lines
-----------------------------------------------------------------------------
Now the plot will be saved as 'plot.png' into working directory.
You can open the image from terminal using  eog (eye of gnome)
$ eog plot.png

2) To label the X and Y and plot grid:
add set ylabel "RMS", set xlabel "Time" and set grid
-----------------------------------------------------------------------------
set terminal png
set output "plot.png"
set ylabel "RMS"
set xlabel "Time"
set grid
plot "data_input.dat" with lines
-----------------------------------------------------------------------------

3)  If you want to plot 1st and 5th column in your data_input.dat:
add 'using 1:5' in plot command
 

-----------------------------------------------------------------------------
set terminal png
set output "plot.png"
set ylabel "RMS"
set xlabel "Time"
set grid
plot "data_input.dat" using 1:5 with lines
-----------------------------------------------------------------------------

4) To plot two data series in the same plot and label each line:
add next series after a comma


-----------------------------------------------------------------------------
set terminal png
set output "plot.png"
set ylabel "RMS"
set xlabel "Time"
set grid
plot "data_input.dat" using 1:2 with lines title 'data-1',  "data_input.dat" using 1:5 with lines title 'data-5'
-----------------------------------------------------------------------------

 To plot many series, it's convenient to use the line continuation character, "\" .
-----------------------------------------------------------------------------
set terminal png
set output "plot.png"
set ylabel "RMS"
set xlabel "Time"
set grid
plot "data_input.dat" using 1:2 with lines title 'data-1', \
       "data_input.dat" using 1:3 with lines title 'data-3'  \
       "data_input.dat" using 1:5 with lines title 'data-5'  \
-----------------------------------------------------------------------------

5) Running it from a script

Put all these commands into a script and run if you have to run them several times

-----------------------------------------------------------------------------
#!/usr/bin/gnuplot
reset
set terminal png
set output "plot.png"
set ylabel "RMS"
set xlabel "Time"
set grid
plot "data_input.dat" using 1:2 with lines title 'data-1', \
       "data_input.dat" using 1:3 with lines title 'data-3'  \
       "data_input.dat" using 1:5 with lines title 'data-5'  \
-----------------------------------------------------------------------------

matplotlib is another even better option for advanced graph creation

More examples:
Gnuplot 4.2 Tutorial
http://www.duke.edu/~hpgavin/gnuplot.html

Plot your graphs with command line gnuplot » Linux by Examples
http://linux.byexamples.com/archives/487/plot-your-graphs-with-command-line-gnuplot/

Data visualization tools for Linux
http://www.ibm.com/developerworks/linux/library/l-datavistools/