Tuesday, 29 September 2015

How to start vncserver in normal view mode in Linux mint 10 - "julia"

Go to the path /root/.vnc/xstartup file and insert the following lines



========================================================================
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
sh /etc/X11/xinit/xinitrc

xrdb $HOME/.Xresources
xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
exec /usr/bin/gnome-session --session=gnome-classic &
gnome-session --session=gnome-fallback &

========================================================================

yep .. done .. 

Good Luck :) 

Monday, 27 July 2015

Dr. Abdul Kalam's ‪#‎Letter‬ to Every Indian








Dr. A P J Abdul Kalam does it again… what he always does best ! Read out his below speech of last month..hats off to this man.....



Dr. Abdul Kalam's ‪#‎Letter‬ to Every Indian


Why is the media here so negative?

Why are we in India so embarrassed to recognize our own strengths, our achievements?

We are such a Great NATION.

We have so many amazing success stories but we refuse to acknowledge them. Why?

We are the first in milk production.

We are number one in Remote sensing satellites.

We are the second largest producer of wheat.

We are the second largest producer of rice.

Look at Dr. Sudarshan , he has transferred the tribal village into a self-sustaining, self-driving unit..

There are millions of such achievements but our media is only obsessed in the bad news and failures and disasters.

I was in Tel Aviv once and I was reading the Israeli newspaper. It was the day after a lot of attacks and bombardments and deaths had taken place. The Hamas had struck. But the front page of the newspaper had the picture of a Jewish gentleman who in five years had transformed his desert into an orchid and a granary. It was this inspiring picture that everyone woke up to. The gory details of killings, bombardments, deaths, were inside in the newspaper, buried among other news.
In India we only read about death, sickness, terrorism, crime.
Why are we so NEGATIVE?

Another question: Why are we, as a nation so obsessed with foreign things?

We want foreign T.Vs,
We want foreign shirts.
We want foreign technology. Why this obsession with everything imported.

Do we not realize that self-respect comes with self-reliance?

I was in Hyderabad giving this lecture, when a 14 year old girl asked me for my autograph. I asked her what her goal in life is..
She replied: I want to live in a developed India.

For her, you and I will have to build this developed India.

You must proclaim.
India is not an under-developed nation;
it is a highly developed nation...

YOU say that our government is inefficient.

YOU say that our laws are too old.

YOU say that the municipality does not pick up the garbage.

Y OU say that the phones don't work, the railways are a joke. The airline is the worst in the world, mails never reach their destination.

YOU say that our country has been fed to the dogs and is the absolute pits.

YOU say, say and say..

What do YOU do about it?

Take a person on his way to Singapore.
Give him a name - 'YOURS'. Give him a face - 'YOURS'. YOU walk out of the airport and you are at your International best.

In Singapore you don't throw cigarette butts on the roads or eat in the stores.

YOU are as proud of their Underground links as they are.. You pay $5 (approx. Rs.. 60) to drive through Orchard Road (equivalent of Mahim Causeway or Pedder Road) between 5 PM and 8 PM.

YOU come back to the parking lot to punch your parking ticket if you have over stayed in a restaurant or a shopping mall irrespective of your status identity…
In Singapore you don't say anything, DO YOU?

YOU wouldn't dare to eat in public during Ramadan, in Dubai ..

YOU would not dare to go out without your head covered in Jeddah.

YOU would not dare to buy an employee of the telephone exchange in London at 10 pounds (Rs..650) a month to, 'see to it that my STD and ISD calls are billed to someone else.

YOU would not dare to speed beyond 55 mph (88 km/h) in Washington and then tell the traffic cop, 'Jaanta hai main kaun hoon (Do you know who I am?). I am so and so's son. Take your two bucks and get lost.'

YOU wouldn't chuck an empty coconut shell anywhere other than the garbage pail on the beaches in Australia and New Zealand ..

Why don't YOU spit Paan on the streets of Tokyo?

Why don't YOU use examination jockeys or buy fake certificates in Boston ???
We are still talking of the same YOU.

YOU who can respect and conform to a foreign system in other countries but cannot in your own.

YOU who will throw papers and cigarettes on the road the moment you touch Indian ground.

If you can be an involved and appreciative citizen in an alien country,
Why cannot you be the same here in India ?

In America every dog owne r has to clean up after his pet has done the job. Same in Japan ..

Will the Indian citizen do that here?

We go to the polls to choose a government and after that forfeit all responsibility.

We sit back wanting to be pampered and expect the government to do everything for us whilst our contribution is totally negative.

We expect   the government to clean up but we are not going to stop chucking garbage all over the place nor are we going to stop to pick a up a stray piece of paper and throw it in the bin.

We expect the railways to provide clean bathrooms but we are not going to learn the proper use of bathrooms.

We want Indian Airlines and Air India to provide the best of food and toiletries but we are not going to stop pilfering at the least opportunity.This applies even to the staff who is known not to pass on the service to the public.

When it comes to burning social issues like those related to women, dowry, girl child! and others what do we do?
We make loud drawing room protestations and continue to do the reverse at home.
OUR EXCUSE?
'It's the whole system which has to change, how will it matter if I alone forego my sons' rights to a dowry.'

So who's going to change the system?
What does a system consist of?
Very conveniently for us it consists of our neighbours, other households, other cities, other communities and the government.
But definitely not ME & YOU.

When it comes to us actually making a positive contribution to the system we lock ourselves along with our families into a safe cocoon and look into the distance at countries far away and wait for a Mr.CLEAN to come along & work miracles for us with a majestic sweep of his hand or we leave the country and run away like lazy cowards hounded by our fears we run to America to bask in their glory and praise their system. When New York becomes insecure we run to England. When England experiences unemployment, we take the next flight out to the Gulf. When the Gulf is war struck, we demand to be rescued and brought home by the Indian government.
Everybody is out to abuse and rape the country.

Nobody thinks of feeding the system.

Our conscience is mortgaged to money.

Dear Indians, The article is highly thought inductive, calls for a great deal of introspection and pricks one's conscience too…..

I am echoing J. F. Kennedy's words to his fellow Americans to relate to Indians…..'
ASK WHAT WE CAN DO FOR INDIA AND DO WHAT HAS TO BE DONE TO MAKE INDIA WHAT AMERICA AND OTHER WESTERN COUNTRIES ARE TODAY'

Lets do what India needs from us.
Forward this letter to each Indian for a change instead of sending JUST JOKES.

Thank you …
Dr. A.P.J. Abdul Kalam
He only passed away but not his words... try to follow his words.... jaihind

Monday, 20 July 2015

Active wireless driver in DELL for Ubuntu 15.04/16.04.1

Prepare the installation:
sudo apt-get update
Update the Ubuntu list of PCI IDs:
sudo update-pciids
Install the driver:
sudo apt-get install bcmwl-kernel-source
Finally, reboot:
sudo reboot 
 
 
Done :) we are good to go .................. 

Wednesday, 25 March 2015

How to active wireless drive in elementary OS.


How to active wireless drive in elementary OS in 4 simple commands:

>open the terminal
> go through the following commands
sudo apt-get purge bcmwl-kernel-source
sudo add-apt-repository ppa:poliva/pof
sudo apt-get update
sudo apt-get install broadcom-sta-dkms

>that's it here we goo...........

Tuesday, 23 September 2014

How to Resolve "Grub Rescue" Using Windows Repair Disc/LINUX Live CD

Some time when you have dual boot installed and then you remove one of the OS, say Linux setup. Then you will end up in the "grub rescue" prompt. Following steps will help you fix the Windows installation media 'grub rescue' using the windows repair disc you have or with the windows installation CD.


1) Get the Windows repair disc ready.
 Repair disk can be created by following steps. Start menu -> control panel -> backup and restore -> in left panel you will fine create a repair disc. Insert a CD and click. That’s it done :)

  
2) Get start the device (please refer to your device for boot option ex: dell -> F12) and choose Boot from CD/DVD option.

3) Then choose “command prompt” from Option list given.


4) Follow the steps, 

>bootrec /fixmbr 
>bootrec /fixboot 
>bootrec  /rebuildbcd

Command prompt will show successful message.....


Using Ubuntu Live cd:


  1. sudo mount /dev/sdaX /mnt
    Here, sdaX is your boot partition. You can get a list with sudo blkid like this,
    /dev/sda1: LABEL="Windows" UUID="BISBHBIUBYIVBI5968" TYPE="ntfs" 
    /dev/sda3: LABEL="Ubuntu 14.04" UUID="naskfjsdb-sdfsdf" TYPE="ext4" 
    /dev/sda8: LABEL="ENTIES" UUID="23534HDJFDB345" TYPE="ntfs" 
    /dev/sda9: LABEL="DATA" UUID="23432BVFGRDG" TYPE="vfat" 
    
    Note: sdaX must be Linux partition.
  2. sudo grub-install --boot-directory=/mnt/boot /dev/sda
  3. sudo update-grub


:) done ...restart the Machine and check. Good Luck :) 
 

Monday, 1 September 2014

C++ libraries that would help you..........

If you require finding out implementation of a particular functionality of C++ language, you don't need to waste your time searching on Google. Here we provide you a comprehensive list of top ten open source C++ libraries.

Generic 

* Boost - It's a large collection of generic libraries

* Dlib - This library contains information on networking, threads, graphical interfaces, data structures and more.

* JUCE - It's a mature cross-platform C++ tool kit

* Reason - It provides knowledge on xml, xpath, regex, threads, sockets, http, sql and so on.

* Folly - This Facebook Open-source Library is designed with practicality and efficiency in mind.


Communication 

* C++ RESTful framework - This is designed to be embedded into a wide range of applications.

* C++ REST SDK - This is a HTTP client and listener.

* Cpp-netlib - This is one of the best C++ Network Libraries.

* Boost.Asio - It talks about asynchronous and synchronous networking, timers, serial I/O

* POCO - It shares knowledge about networking, encryption, HTTP and Zip files

Graphic user interface 

* FLTK -
 provides modern GUI functionality

* nana - A modern C++ GUI library

* WXWidgets  - C++ library that lets developers create applications for Windows, Mac OS X, Linux and other platforms

GTK+ 

* gtkmm - C++ Interfaces for GTK+ and GNOME

* goocanvasmm - canvas widget for GTK+ that uses the cairo 2D library for drawing.

* libglademm 

* libgnomecanvasmm 

Qt 
* Qt

* qwtplot3d 

* qwt5 

* libdbusmenu-qt

General Multimedia 

* SFML (Simple and Fast Multimedia Library) 

* SDL (Simple DirectMedia Layer) 

Graphics 

* cairomm 

* nux 

* pangomm 

* gegl 
* plotutils 

Audio 

* soundtouch 

* chromaprint 

* libofa 

* libmusicbrainz 
* audiofile 

Video 

* crystalhd 

* mjpegtools 

* libmatroska 

* libVLC 

* gstreamermm 

3D Graphics 

* Ogre3D

* OpenGL 

* GLEW 

* GLFW 

* assimp 





Source: efytimes

Monday, 7 July 2014

Looking To Check Linux Hardware Info? Use These 10 Commands...

Lately, we have embarked on a journey to make you aware and familiarize with the different Linux commands out there. There are simply so many of them that it's real tough to bring them all together, therefore we decided to break them up and categories them into the various uses they are meant for. Today it's the turn of Linux system hardware info...

1.lscpu
Reports info about the cpu and processing units.

2.lshw
Reports detailed/brief info about multiple hardware units like cpu, memory, disk, network adapters etc.

3.lspci
Lists out all the pci buses and details about the devices connected to them.

4.lsscsi
Lists out the scsi/sata devices (hard drives/optical drives).

5.Inxi
10K line mega bash script that generates a GOOD looking report based on hardware details from multiple sources and commands.

6.lsblk
Lists block devices.

7.df
Reports various partitions, mount points and the used/available space on each of them.

8.mount
Mount/unmount and view mounted file systems.

9.free
Checks the amount of used, free and total RAM.

10.hdparm
Reports info about sata devices (hard disks. etc)

Resource: EFYTimes