Shutter is a feature-rich screenshot program. You can take a screenshot
of a specific area, window, your whole screen, or even of a website –
apply different effects to it, draw on it to highlight points, and then
upload to an image hosting site, all within one window. Shutter is free, open-source, and licensed under GPL v3.
http://shutter-project.org
Monday, September 10, 2012
Monday, August 6, 2012
Read & Remove EXIF Data From the Command Line
Most digital cameras will insert metadata into images. This metadata is stored using the exchangeable image file format
(EXIF) and can contain camera specifications, exposure settings,
thumbnails, GPS coordinates and more. This article outlines some Linux
command line tools you can use for reading, editing and removing EXIF
metadata from images.
ExifTool is powerful a Perl program that can be used to read and edit EXIF metadata in images. To install ExifTool as /usr/bin/exiftool on Fedora, install the perl-Image-ExifTool package:
Alternatively, you can use CPAN to install ExifTool in /usr/local/bin/exiftool.
After installation, you will have the exiftool command available in /usr/bin or /usr/local/bin. To view the EXIF metadata in an image, just past the image as an argument to exiftool.
Here is a snippet of the output from the above command:
ExifTool has many options for editing and removing EXIF metadata in images. To see the available options, use the --help switch or read the ExifTool documentation.
Reading EXIF Metadata with Jhead
Jhead is a command line tool for displaying EXIF data embedded in JPEG images. On Fedora, use Yum to install Jhead:
Now, use /usr/bin/jhead to read EXIF metadata:
Here is an example of the output produced by the jhead command:
Removing EXIF Metadata with ImageMagick
If you need to strip the EXIF metadata from images, use ImageMagick's mogrify command. To install ImageMagick on Fedora, use Yum:
After ImageMagick is installed, you will have /usr/bin/mogrify available. The mogrify command can be used to strip Exif data from images.
If you need to process a large number of files, use find and xargs:
- Reading and Editing EXIF Metadata with ExifTool
- Reading EXIF Metadata with Jhead
- Removing EXIF Metadata with ImageMagick
ExifTool is powerful a Perl program that can be used to read and edit EXIF metadata in images. To install ExifTool as /usr/bin/exiftool on Fedora, install the perl-Image-ExifTool package:
su -c 'yum install perl-Image-ExifTool'Alternatively, you can use CPAN to install ExifTool in /usr/local/bin/exiftool.
su -c "perl -MCPAN -e'install Image::ExifTool'"After installation, you will have the exiftool command available in /usr/bin or /usr/local/bin. To view the EXIF metadata in an image, just past the image as an argument to exiftool.
exiftool dsc_0790.jpgHere is a snippet of the output from the above command:
ExifTool Version Number : 7.60
File Name : dsc_0790.jpg
Directory : .
File Size : 4.4 MB
File Modification Date/Time : 2008:07:16 09:45:20-07:00
File Type : JPEG
MIME Type : image/jpeg
Exif Byte Order : Big-endian (Motorola, MM)
Make : NIKON CORPORATION
Camera Model Name : NIKON D200
Orientation : Horizontal (normal)
X Resolution : 300
Y Resolution : 300
Resolution Unit : inches
Software : Bibble 4.10a
Modify Date : 2007:06:23 22:00:14
Exposure Time : 1/40
F Number : 2.0
Exposure Program : Aperture-priority AE
ISO : 100
.
.
.ExifTool has many options for editing and removing EXIF metadata in images. To see the available options, use the --help switch or read the ExifTool documentation.
exiftool --helpReading EXIF Metadata with Jhead
Jhead is a command line tool for displaying EXIF data embedded in JPEG images. On Fedora, use Yum to install Jhead:
su -c 'yum install jhead'Now, use /usr/bin/jhead to read EXIF metadata:
jhead dsc_0790.jpgHere is an example of the output produced by the jhead command:
File name : dsc_0790.jpg
File size : 4654488 bytes
File date : 2008:07:16 09:45:20
Camera make : NIKON CORPORATION
Camera model : NIKON D200
Date/Time : 2007:06:23 22:00:14
Resolution : 3880 x 2608
Flash used : No
Focal length : 50.0mm (35mm equivalent: 75mm)
Exposure time: 0.025 s (1/40)
Aperture : f/2.0
ISO equiv. : 100
Exposure bias: 1.00
Whitebalance : Auto
Exposure : aperture priority (semi-auto)
GPS Latitude : ? ?
GPS Longitude: ? ?
======= IPTC data: =======
(C)Flag : 0
DateCreated : 20070623
Time Created : 220014
Record vers. : 4Removing EXIF Metadata with ImageMagick
If you need to strip the EXIF metadata from images, use ImageMagick's mogrify command. To install ImageMagick on Fedora, use Yum:
su -c 'yum install ImageMagick'After ImageMagick is installed, you will have /usr/bin/mogrify available. The mogrify command can be used to strip Exif data from images.
mogrify -strip imagename.jpgIf you need to process a large number of files, use find and xargs:
find ./folder_of_images -name '*.jpg' | xargs mogrify -striphttp://hacktux.com/read/remove/exif
Saturday, July 28, 2012
How to enable/disable mobile broadband from terminal?
Example,
nmcli con up id <id> & or nmcli con up uuid <uuid>'nmcli con list id|uuid <name>''nmcli dev list'
http://www.sakoman.com/GNOME/how-to-control-networkmanger-from-the-command-line.html
http://manpages.ubuntu.com/manpages/oneiric/en/man1/nmcli.1.html
http://askubuntu.com/questions/137815/how-to-enable-disable-mobile-broadband-from-terminal
Monday, July 16, 2012
Important Tweaks/Things to do After install of Ubuntu 12.04 Precise Pangolin
http://www.noobslab.com/2012/04/important-things-to-do-after-install_26.html
http://www.webupd8.org/2012/04/things-to-tweak-after-installing-ubuntu.html
http://www.techdrivein.com/2012/06/25-things-i-did-after-installing-ubuntu.html
http://www.omgubuntu.co.uk/2012/04/10-things-to-do-after-installing-ubuntu-12-04
http://howtoubuntu.org/things-to-do-after-installing-ubuntu-12-04-precise-pangolin/
http://www.webupd8.org/2012/04/things-to-tweak-after-installing-ubuntu.html
http://www.techdrivein.com/2012/06/25-things-i-did-after-installing-ubuntu.html
http://www.omgubuntu.co.uk/2012/04/10-things-to-do-after-installing-ubuntu-12-04
http://howtoubuntu.org/things-to-do-after-installing-ubuntu-12-04-precise-pangolin/
Intel GM45 driver installation
https://launchpad.net/~xorg-edgers/+archive/ppa
http://askubuntu.com/questions/85318/how-can-i-get-my-intel-integrated-graphics-to-be-recognized-in-system-info
http://askubuntu.com/questions/129227/how-do-i-install-intel-hd-graphics-driver-on-ubuntu-12-04
http://intellinuxgraphics.org/index.html
Note:
Downgrade Mesa libraries,
http://askubuntu.com/questions/85318/how-can-i-get-my-intel-integrated-graphics-to-be-recognized-in-system-info
http://askubuntu.com/questions/129227/how-do-i-install-intel-hd-graphics-driver-on-ubuntu-12-04
http://intellinuxgraphics.org/index.html
Note:
Downgrade Mesa libraries,
sudo apt-get install libgl1-mesa-dri=8.0.2-0ubuntu3 mesa-common-dev=8.0.2-0ubuntu3
Link
CompizConfig
Delete .Xauthority in my home
rm -rf .compiz-1
rm -rf ~/.config/compiz-1/compizconfig/*
sudo apt-get purge compizconfig-settings-manager
sudo apt-get install compizconfig-settings-manager compiz-fusion-plugins-extra
unity --reset
Link
VAAPI driver for Intel G45 & HD Graphics family
https://launchpad.net/ubuntu/+source/intel-vaapi-driver/
Thursday, July 5, 2012
How to Install New Kernel on Ubuntu
How to install Linux Kernel 3.4 in Ubuntu 12.04. WARNING This isn't
worth doing unless you're having problems with the old kernel or you're
adding new hardware which is unsupported in old Kernel 3.2, such as
nVidia Kepler (600 series) or AMD HD 7000 series Graphics cards.
Improvements in Kernel 3.4:
Reduced Power Usage
Speed improvements for BTRFS file systems
More wireless network drivers from Ralink and Broadcom added
Support for nVidia Kepler chipsets (600 series)
Support for AMD Southern Islands GPUs (HD 7000 series)
Support for AMD Trinity Processors
Ubuntu Kernel Website: http://kernel.ubuntu.com/~kernel-ppa/mainline/
Look for the latest Kernel
Download linux-headers-3.4.x-xxx-all.deb, plus the headers and image for your system architecture.
e.g. linux-headers-3.4.x-xxx-i386.deb, and linux-image-3.4.x-xxx-generic-i386.deb for 32bit systems.
Open Terminal
cd ~/Downloads
sudo dpkg -i linux*.deb
Reboot
Check the new kernel is running with either System Monitor or "uname -r"
If you have any problems with the new kernel reboot and select "Previous Versions" on the Grub Menu (hold down Shift key if Grub doesn't show by default)
Remove auto updating old Kernel:
In Synaptic remove: linux-generic, linux-headers-generic, linux-image-generic
You can also remove any older kernels to free up some harddrive space.
http://www.youtube.com/watch?v=traegZveTKo
http://askubuntu.com/questions/142192/can-i-install-linux-kernel-3-4-in-ubuntu-and-kubuntu-12-04
Improvements in Kernel 3.4:
Reduced Power Usage
Speed improvements for BTRFS file systems
More wireless network drivers from Ralink and Broadcom added
Support for nVidia Kepler chipsets (600 series)
Support for AMD Southern Islands GPUs (HD 7000 series)
Support for AMD Trinity Processors
Ubuntu Kernel Website: http://kernel.ubuntu.com/~kernel-ppa/mainline/
Look for the latest Kernel
Download linux-headers-3.4.x-xxx-all.deb, plus the headers and image for your system architecture.
e.g. linux-headers-3.4.x-xxx-i386.deb, and linux-image-3.4.x-xxx-generic-i386.deb for 32bit systems.
Open Terminal
cd ~/Downloads
sudo dpkg -i linux*.deb
Reboot
Check the new kernel is running with either System Monitor or "uname -r"
If you have any problems with the new kernel reboot and select "Previous Versions" on the Grub Menu (hold down Shift key if Grub doesn't show by default)
Remove auto updating old Kernel:
In Synaptic remove: linux-generic, linux-headers-generic, linux-image-generic
You can also remove any older kernels to free up some harddrive space.
http://www.youtube.com/watch?v=traegZveTKo
http://askubuntu.com/questions/142192/can-i-install-linux-kernel-3-4-in-ubuntu-and-kubuntu-12-04
Friday, June 1, 2012
How to Back Up and Restore a MySQL Database
|
Subscribe to:
Posts (Atom)