Snipping tool in Ubuntu

November 24th, 2010 1 comment

For quite some time, I’ve been looking for a tool some kind of a “portion-of-a-desktop-screen-grabber” rather than just the print-screen-then-edit-using-Gimp here in Ubuntu. In Windows Vista or Windows 7, there is a built-in snipping tool which is used to grab a specific portion of a screen selected by the user. Well here in Ubuntu, there is also a snipping tool! You just need to fire up your favorite command line and just type in this command:

kenan@kenan-laptop:~$ import filename [dot] whatever_image_format

An example would be kenan@kenan-laptop:~$ import image.png

It must turn your cursor to a cross, or a plus sign. Now, you’re ready to grab and save any portion of your screen just press and drag. :)

If ever there is an error that the command is not found, you should install the ImageMagick package.

kenan@kenan-laptop:~ sudo apt-get update
kenan@kenan-laptop:~ sudo apt-get install imagemagick

import – saves any visible window on an X server and outputs it as an image file. You can capture a single window, the entire screen, or any rectangular portion of the screen.

There are a lot of options available in this command. You can just read its manual pages.

I would just like to share this page, What’s the Difference Between JPG, PNG, and GIF?. It’s fun and cool to read that article, very informative for me, who doesn’t know anything. :P

Categories: FOSS Tags: ,

+63 9064204974 is not me anymore.

November 23rd, 2010 No comments

Hello everyone,

As of today, i’m officially changing my mobile number to a new one. :) If you still wish to contact me or want to know my new mobile number, please feel free to e-mail me at me@kenanbiel.com, kenanbiel@gmail.com or you can send a message to me through my Facebook account!

Thank you for understanding! :)

Categories: Personal Tags:

Kaley Cuoco, Penny of Big Bang Theory

October 25th, 2010 1 comment

L-R: Leonard, Sheldon, Penny

Big Bang Theory is one of my favorite TV shows that is currently airing right now. Only because of the reason, Kaley Cuoco known as Penny in the show is my crush :) My God, she is so hot. I found these pictures recently in my feeds and I’m shocked. Kaley Cuoco of Big Bang Theory is getting sexier and sexier. Now, she’s the cover of Maxim’s latest release. Here are some of her pictures:

Read more…

Categories: TV Series Tags: ,

Troubleshooting Accidental Errors when Updating Linux Kernel

October 22nd, 2010 No comments

A while ago I was updating my system (Ubuntu 10.10 Maverick Meerkat) with the current Linux Kernel when I accidentally rebooted my laptop carelessly while it was installing. Upon restart, I got this error message

udevadm trigger is not permitted while udev is unconfigured
.
.
.
[initramfs]

I panicked because I can’t boot my system. So, what I did.. I Google-d my problem, read some forums and luckily someone already encountered the same kind of problem.. And I just followed what they did. Here are the things I did that worked:

First of all you’ll be needing a Live USB/Live CD. You’ll be booting your system to either of the two.

  1. Boot Live CD/Live USB
  2. Open terminal and type: “sudo fdisk -l” (without the quotes) to find your boot disk – most likely it will have an asterisk in the ‘Boot’ column, in my case it is /dev/sda1
  3. sudo mkdir /media/newroot
  4. sudo mount /dev/sda1 /media/newroot“, change sda1 to whatever your boot disk is.
  5. sudo chroot /media/newroot

Now, the important part:

  1. ls /boot” to find your latest kernel. Mine has 2.6.35-22-generic
  2. sudo update-initramfs -u -k 2.6.35-22-generic
  3. sudo reboot” and smile :)

Well, it only produced these lines:
sudo: unable to resolve host ubuntu
update-initramfs: Generating /boot/initrd.img-2.6.35-22-generic

No need to worry about anything. I’m glad Ubuntuforums is out there for 24/7 support :)

The idea is, there is a special ram-based file system used during the bootup process (ramfs) that is a special image attached to the kernel. If it’s not created properly, this error occurs.