In some of my development and training guides, I like to use screen record and then post the videos online. It can show you rather than reading instructions,(as they say a picture says a 1000 words).
In doing so I use Ubuntu alot and find that a simple screen capture tool to use is XVidCap, this can usually be found in the repositories and can be installed.
Quick Tip:
On most of the installations, it has not worked, you press the record button and nothing happens. A solution to this is to add some different libraries, go to the Synaptic Package manger and install the libavcodec-unstripped-52 package, this should hopefully sort out the problem, also there have been reports of disabling the audio (not that I have found this feature yet)
When I was first starting to use GIMP as a image editor it was full or pwerful features and for free. I was messing around and what I really needed to do was remove the white backround from images and make it transparent so I could use it in multiple instances on a website with different background.
This is a very simple approach and I am sure there are others, but this is how it do it:
Open up the imgae using the GIMP editor
From the menu select Layer -> Transparency -> Add Alpha Channel, You will notice that nothing happens, this is ok, it adds transparency information to the layer
Some images I find that Add Alpha Channel is greyed out, so use Delte Alpha Channel then redo the above step
Now, go to Select -> By Colour, then click on the white background in your image, you will see that it has selected all the white background area
To remove this and make it transparent, all you need to do is Edit -> Clear, you should now see that where the white background once was is now the grey tiles which show you it is transparent
Now Save your image
Any issues, or further suggestions, please let me know
Okay, people trying to take shortcuts and give the /etc file directory full rights will find that Linux does not like this at all (I did it once…and never again)!
If you are having that propblem, you do not need to re-install (I use Ubuntu alot by the way).
First of all if you have this problem, the best way is to reboot and enter the GRUB (on Ubuntu this means pressing ESC at the start), then you should have a selection available to you, enter Rescue Mode (or Recovery mode), this gives you root admin access.
At the line prompt type:
chmod 0440 /etc/sudoers
You should then be able to reboot and all the settings are back.
With the world of programming and application design taking off, I found one of the best ideas is to use Virtual Machines. I currently run VMware Player on Windows 7 and run a few Ubuntu VMs in it.
One of the issues I had starting was how to create a Virtual Machine without buying any software so here are the steps:
Now you want to get a virtual disk, if you have bought certain software you can make your own ones, or I have found a few on the net you can download, there is a good one at Forever for Now
I would suggest creating a directory at the high level for your VMs (make it easier), e.g. C:\vm
Copy the .vmdk file you just downloaded into this directory
Now you need a file that makes the VM work, this is a .vmx file, yet again without the software to make one you can copy and paste the below script into a text editor and save it as a .vmx file:<
To reflect the disk you have downloaded and placed in the vm directory.
Also read through the .vmx file and adjust any settings you think you need, for instance the memsize in the above example is 1024, you might want to increase or lower this depending on the size of your PCs RAM
After this you should now have a folder with the .vmdk file and the .vmx, you should now be able to double click on the .vmx file and this should boot into the Virtual machine through VMware Player
For those who want to get Ubuntu set up, download the latest ISO from the Ubuntu website and place it in the vm folder, then you need to edit the .vmx file, change the line
ide1:0.fileName="D:"
to reflect the iso image, for example
ide1:0.fileName="ubuntu-9.04-desktop-i386.iso"
If you have any issues, please comment and I will aim to respond ASAP
Some time ago a friend found a way to convert all his avi files that he had acquired and turn them into .mov files for his Apple TV, this allowed him to then add the filed to ITunes (something that is nor easily done with avi files). this script added a 1 second clip to the .avi file and renamed it .mov, and this seemed to pass the checks by ITunes
However, he then realised, that this did not necessarily work in other players, and wanted to remove the file to recreate the original avi. The guys at macscripter have written some awesome code to do this, See their post here: http://macscripter.net/viewtopic.php?id=27423
The code is as follows: Though read their blog post, there is more information on there than just code
property mytitle : "remsec"</code>
on open droppeditems
try
set droppedfiles to {}
repeat with droppeditem in droppeditems
set iteminfo to info for droppeditem
if not folder of iteminfo thenset droppedfiles to droppedfiles &amp; (droppeditem as Unicode text)
end if
end repeat
if droppedfiles is {}thenreturnset countdroppedfiles to length of droppedfiles
set stringlist to ""
repeat with i from 1 to countdroppedfiles
set droppedfile to item i of droppedfiles
if i is not equal to countdroppedfiles thenset stringlist to stringlist &amp; (quoted form of POSIX path of droppedfile)&amp; space
elseset stringlist to stringlist &amp; (quoted form of POSIX path of droppedfile)
end if
end repeat
set foundationtoolpath to quoted form of POSIX path of (((path to desktop)as Unicode text)&amp; "remsec")-- a more convenient way to operate the script is to place the remsec foundation tool right inside the script bundle:
--set foundationtoolpath to quoted form of POSIX path of (((path to me)as Unicode text)&amp; "Contents:Resources:remsec")setcommand to foundationtoolpath &amp; space &amp; stringlist
set output to do shell script command
on error errmsg number errnum
tell me
activate
display dialog"Sorry, an error occured:"&amp; return&amp; return&amp; errmsg &amp; return&amp; "("&amp; errnum &amp; ")" buttons {"OK"} default button 1 with icon stop giving up after 30 with title mytitle
end tell
end try
end open
Okay, for the three people who have asked me in the last week how to edit the JAVA_HOME variable here is the answer, oh and no it doesn’t matter if you are playing on a VM
In Ubuntu open up a terminal window,
The folowing command will let you know if you have a JAVA_HOME variable set, and it will show its location:
echo$JAVA_HOME
If nothing appears, you need to set the variable, and then the path, to do this you type the following (and remember to set the /examplepath to your java director, most commonly found in usr/lib/
Reading CNET this morning, they have a snippet on the new HTC Android phone that may be launched later this year, they call it the Lancaster.
Like the HTC Dream, this model comes with a slide-out keyboard, though the front looks similar to the design of the newer HTC Magic.
According to the specifications, it will come with HSDPA connectivity, Bluetooth, and a 3-megapixel camera, though rumour is that the display functionality is lacking, I hope this is not the case, as it would put it further behind the Iphone
Also, for those who have seen any details around the HTC Hero device, this phone hopes to have some of the social media capability.
I am sure we will see many more Android devices this year, which will hopefully boost Android as an OS for mobile devices.
After seeing a twitter post come up on my screen about google mapping the universe, I had to click and see what the fuss was about.
I was extremely impressed to find that google had used their Android mobile platform and the use of the compass, level, and GPS to create a program called Skymap (search for it on the android app market)
This lets you point your phone at the sky and using the data of location, level, and bearing it will tell you what constellations you are looking at…Now everyone can be an astronomer!
Check out the vid below or goto the blog site here