Monday, July 23, 2012

How to burn ISOs to CD-RW/DVD-RW in Linux

How to burn ISO files to CD-RW/DVD-RW in Linux

List the devices to write with:
cdrecord -scanbus

After running this command, match the "dev=NUM,NUM,NUM" with the next command to make sure your are writing the ISO with the correct device.
cdrecord -v -pad speed=1 dev=0,0,0 FILE.iso

-v - verbose(shows my information)
-pad speed=1 - change the write speed
dev=0,0,0 - this is your device

How to erase CD-RW/DVD-RW in Linux

How to wipe a CD-RW/DVD-RW on linux

Run this command to make sure that the cd is unmounted:
umount /dev/cdrom

Use the "cdrecord" command to quickly erase the CD-RW/DVD-RW
cdrecord dev=/dev/cdrom blank=fast

How to remove EXIF data from Images in Linux

Ubuntu Linux

Install jhead:
sudo apt-get install jhead

To see all the extra data that is stored in the JPG, run this:
jhead -v FILE.jpg

To remove the extra data such as "geo-tagging(location data)", your name and the type of phone or camera that look the picture, run this command on the image:
jhead -purejpg FILE.jpg


Mac OS X

Install exiftool:
http://www.sno.phy.queensu.ca/~phil/exiftool/install.html

To see all the extra data that is stored in the JPG, run this:
exiftool -v FILE.jpg

To remove the extra data such as "geo-tagging(location data)", your name and the type of phone or camera that look the picture, run this command on the image:
exiftool -all= FILE.jpg




Thursday, July 19, 2012

How to take screenshots on your Android Phone

How to take screenshots with Android 4.0(Ice Cream Sandwich)

Simply hit these buttons at the same time:

Power Button + Volume Down


Wednesday, July 11, 2012

How to fix random Youtube sound glitch in Ubuntu

How to fix Adobe Flash Player on Youtube

It seems that sometimes when I upgrade my Abode Flash Player, both of my web browsers, Firefox and Chrome, seem to have their flash player's play obscure videos. In Chrome, the flash videos on Youtube are "fast-forwarded" and in Firefox, they are very choppy and unbearable to watch.

Try Fix 1:
System Settings > Sound > Hardware Tab > Profile > Select "Off" and then Turn it back to its previous setting.

Try Fix 2:
sudo apt-get install pavucontrol
And then run "PulseAudio Volume Control" and repeat the steps in "Fix 1".

Saturday, July 7, 2012

How to Extract a .7z file in Linux

How to extract a .7z files

To install the packages:
sudo apt-get install p7zip


In Linux, when you would like to extract a ".7z" file, you need to open your terminal and type this in:
7za e FILE.7z

How to install Microsoft Fonts for LibreOffice on Ubuntu

How to install Microsoft fonts

When installing Ubuntu, it may not come with Microsoft Fonts such as "New Times Roman" and "Verdana". Therefore, Ubuntu applications such as LibreOffice will not have them.



To install them:
sudo apt-get install msttcorefonts

Thursday, July 5, 2012

How to use crontabs in Linux

How to create a crontab

Open your terminal and run:

crontab -e
This will be for your user. 

Usually this should open up your crontab file in nano. Today, we will run our crontab to execute hourly:
0 * * * * /bin/sh /PATH/TO/SCRIPT
Now, this runs hourly shell scripts(/bin/sh).

 If you would like to run other scripts, obviously you simply change the "/bin/sh" to whatever you would like(python, perl, bash, etc...).

minute 0-59
hour 0-23
day 1-31
month 1-12
day-of-week 0-7 (0/7 Sunday, 1 = Monday, 2 = Tuesday, etc...)
command-line the command to execute