My personal blog around GNU/Linux

I wanted to set up a personal web server in my home using which I would love to retrieve pages in my smartphone’s browser. If you are a passionate photographer you can host a photo album web app in your personal server and you can give links who ever visits your home they can use their laptop or smartphone to enjoy your photography!

what do you need?
1. Apache web server
2. A wireless router
3. A smartphone or laptop with wifi

To be continued …

Recently i have visited a site that requires and uses WebGL. WebGL is developed and maintained by Mozilla Developers.

I am using Both Mozilla Firefox and Google Chrome browsers in my GNU/Linux. When i visited the site via Google Chrome, i got a warning that “Eventhough   your OS supports WebGL, please check and update your Graphic Cards for it to work “. I visited the same site via Mozilla Firefox and it just worked smooth without any problem (Since it is from Mozilla, Under Firefox it was enabled by default).

For it to work in Google Chrome, we need to enable it. Here are the steps to enable WebGL in Google Chrome.

Step 1: Open Google Chrome

Step 2: Type chrome://flags in the address bar

Step 3: Press Ctrl + f and type ” Rendering list “, “Override software rendering list” should come up, Now click on Enable and restart the browser.

It should work now. 🙂

Well, i am kind of person inspired by science, especially space science. Recently came across the news (website link mentioned at the end of this article) about one of our sibling Planet Venus is transiting its position and comes exactly between Earth and the Sun, so that Venus will be visible in the day while Crossing the Sun, but should not be viewed through naked eye.

I am so curious about to know how it will look like in the sky on June 6th 5:50 Am IST during the Dawn, since it was also informed Venus will be crossing sun  even before sun rises for India. So We Indians will be able to see the 4 hours of this Spectacular sight. This occurs only in 105 and 122 Years, If we miss it now, then we need to wait for next 105 years and this is incredible.

Out of this curiosity, i just installed Stellarium – A Open Source Planetorium software, which brings you the real sky experience and real time happenings in your Computer. You can travel to future and come back to past (meant about viewing sky happenings) using this Software. So i thought of spotting this Spectacular event in Stellarium to see how it will look like and also i post the screenshot which i took using it and the steps to reproduce 🙂

Note:- I assume you have already downloaded and installed Stellarium in your machine and the steps below works irrespective of the Operating System you use (whatever it is GNU/Linux or Windows or Mac OS)

Step 1:- Set your default location

Start the Stellarium Software and now we need to set our place in Stellarium, so that we make sure it simulates exactly as we see from the place which we live in. To set location press F6 and the type the location or scroll and find it in the list available, if your location is not available select the nearest one.

Click to Enlarge the image

Note:- make sure you also put a ‘ tick ‘ at the check box ” Use as default ” at the bottom-left corner.

Step 2:- Travelling to Future

You can navigate directions using Left and Right arrow keys at the ground and Top and bottom arrow keys for aerial and ground view.
Now its time to set the exact time in the software at which according to news released venus is going to transit. Press F5 and now you should be able to get the Date and Time Settings, so change the date to June 6th 2012 (applies for Indian Time Zone) and the time to ” 6 hours, 00 minutes and 00 seconds ” , if you are not sure refer the below screenshot.

Changing the Timezone

Step 3:- Zoom – In, We are done

We are already done, in order to find any object in the sky using this software all we need to do is to press F3 and type the name of the object, Eg:- “Sun” and press enter, in this case we don’t need to search for Venus, as you might already spotted out Sun out there, just scoll your Mouse wheel or make gestures in your laptop’s trackpad to Zoom-In towards the sun and keep on until you see a small black spot over the Sun. Whoa.. this is how it will look like at the above mentioned Date and time on the sky..  Now click on the black spot over the sun and this is Venus. You can get descriptions on the top-left on the objects you have selected 🙂

Click to Enlarge

Friends don’t miss this Spectacular event live on June 6th early morning during Dawn. Be sure not to see it through naked eye. I hope this link should be very useful to you and serves as a guide with loads of information about this event along with tricks on how to see it live on that day 🙂

http://transitofvenusncra.wordpress.com/2012/05/22/hello-world/

Hope you had good time reading this, Keep sharing to others as they enjoy like how you enjoyed this event 😀

I have come across many tools available for recording our desktop, such as Record My Desktop, Desktop recorder, Eidete (this was available only for Ubuntu).
Currently i am using Fedora 16 “Verne” Operating system and needed a lightweight and a fast desktop recorder which renders the video as soon as the video capture is completed.

The above mentioned Record My Desktop, Desktop recorder, consumes more time to render the video after recording. When i searched through the repository of Gnome applications in Fedora Repository, i came across “BYZANZ” and found it very lightweight command line utility which records the video in “.ogv, .webm, .mp4, .flv , etc” formats and renders the video very faster. Here, i will show how to install and use it in your Fedora system.

Step 1 – To Install, Open Terminal and type the below command:

sudo yum install byzanz

or

su –
yum install byzanz

Step 2 – To see the options available to use:

byzanz-record –help

Step 3: To record the video without audio:

byzanz-record –duration=20 -c testing.webm

The above command will record the video in .webm format with ‘testing.webm’ as file name and for 20 seconds and -c indicates where the cursor moves the video will be captured to that window.

Step 4: To record the video with audio:

byzanz-record –duration=20 -c -a testing.webm

‘-a’ indicates recording of audio.

Ruby conf India 2012

Attended Rubyconf 2012 at Pune and will be updated soon

Most of them during installation of Fedora on HP or other laptops would have encountered the problem that after the installation of the Operating system, Backlight of the laptop display would have been disabled, and it would be difficult to pass through initial steps to complete the installation, and i somehow managed to complete those steps by taking my laptop to a place full of brightness like house windows or terrace (during morning) and with the help of the reflection of that light completed those steps and then logged in successfully.

After you have done that, here is the solution to fix this issue when you will face next time you log in:

Step 1: Open your Terminal

Step 2: Type the following in your terminal

cd /etc/default

sudo gedit grub

Step 3: The grub file would have opened now with the Gedit text editor, now find the line which starts with ” GRUB_CMDLINE_LINUX =” and append the following text somewhere in the middle or at last or even at the first”

acpi_osi=Linux acpi_backlight=vendor

Step 4: Now save the file and close the text editor and get back to terminal and update the grub as follows

grub2-mkconfig -o /boot/grub2/grub.cfg

Step 5: After grub has been successfully updated, reboot the system and check whether are you getting the backlight working like charm and it should definitely work on HP laptops, even it should work on other laptops too. If not please comment below, we can seek for better solution.

Recently i have updated my laptop running Fedora 16 with kernel version 3.1.2-1.fc16.i686 and after updating got a update for kernel from 3.1.2-1.fc16.i686 to 3.1.4-1.fc16.i686 and after this update my wireless driver is not shown in Network applet of Gnome 3 and Wireless driver also did not work even though it worked fine in previous kernel version after installing broadcom-wl package and still it exist.

So here is the solution to solve this issue.

Requirements: You need to have a wired internet or internet via Mobile phone or USB Modem connected to your laptop.

Update from Jeff Zapotoczny:

Those who do not have wired internet connection and still wanted to use Wireless connection to solve this problem for new kernel, then you can boot into previous kernel version during system boot and can access wireless and follow the below steps and after done, now you can reboot your system and boot using latest kernel.

Step 1: Open the terminal, and run the following commands in terminal

sudo yum install kernel-devel broadcom-wl broadcom-wl-PAE

sudo yum install akmod-wl

Step 2: After installing these packages, now you have to load the wireless driver to get into action, run the following command in the terminal

sudo modprobe wl

Step 3: Your wireless driver should be up and working, if not reboot your system and it must be up or else check whether Wi-fi switch in your laptop is set ON.

Post under modification and Re-construction . . .

More details are being updated with proper reason for the problem.

 

You can get a lot of stuff regarding the configuration of your Processor in your system. Its very simple do it in your terminal:

Step 1: Open the terminal and type the following command:-

cat /proc/cpuinfo >> info

In the above command, the ‘cat’ is a shell command which concatenates text and the ‘cpuinfo’ is a simple file that has already stored the information about your processor. We use the “>>” insertion operator so that the contents of the cpuinfo are copied to a new file called ‘info’.

Step 2: To view the details

cat info

This slideshow requires JavaScript.

Similarly you can check your Memory status using ‘cat /proc/meminfo’

Recently when i logged in into my Ubuntu 11.10 system, i could not found my Unity – Launcher or sidebar, so i was unable to start any application.

But anyhow i managed to start my browser because i have installed gnome-pie in my system so that i could launch any application via that.

This slideshow requires JavaScript.

Now open your terminal and follow the simple steps below:

Step 1: type the following command

ccsm

Step 2: When Compiz Configuration settings manager opens, search for ” Ubuntu Unity Plugin ” under Desktop section

Step 3: If it is not been enabled click on the check box and enable it. You should now get it or reboot to get it.