Stand With Ukraine

Thursday, July 15, 2010

Video started to work with skype))

Yesterday I noticed that after update of my ubuntu box I did not have sun java installed and went to look for it. In order to install I added the repository link to my source list:


sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"


and then after reload I pressed update and it updated skype. I decided then to check video in skype and it worked)) with my camera Microsoft Corp. LifeCam VX-3000 on my Ubuntu system (Linux san-laptop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 08:03:28 UTC 2010 x86_64 GNU/Linux). So I am very happy now that I eventually can use my camera without rebooting to windows after a year of struggle ))

Wednesday, July 7, 2010

Set up alarm using crontab

I used crontab in order to get waked up in the morning (here at 7:50) by some song from youtube I like.
In home directory I created 2 files: alarm.sh and mycrontab. And then just issued the command:
crontab mycrontab

Contents of mycrontab:

50 7 * * * cd $HOME && ./alarm.sh

Contents of alarm.sh:

#!/bin/bash
export DISPLAY=:0.0
/usr/bin/firefox "http://www.youtube.com/watch?v=ebBBdJSHzJk&feature=PlayList&p=C262E364FC4756AF&playnext_from=PL&index=18&playnext=2"