Tuesday, 15 October 2013

Must Have Application in Ubuntu


As an Ubuntu Advocate every person whom i recommend ubuntu as best and free operating system for their system, they always ask me one simple question what are the basic things i need to install on my Ubuntu system, so in this blog post i will try to suggest few application that every user must have on there system.

As i said these are basic application according to me, its on you which application you want to install in your system.

First Thing

After installation of latest operating system, we also need to update for the newest patch and fix for system. open the terminal and enter following command.

sudo apt-get update && sudo apt-get upgrade -y




VIM

vi is default installed in most of linux distro, vim is improved version and most popular text editor.

sudo apt-get install vim vim-common -y



Enable Workspace.

The first "Feature" that attracted me to Ubuntu was the multiple workspaces thing, I know, it's kind of silly but workspaces are still very important to me.
in Ubuntu 13.04 the workspace is disabled, but you can enable by going System settings>appearance (Behaviour tab) Tick on enable workspace.



Everpad

Already Explain Every Think about Everpad Here.


GIMP

Every User require basic image editing software and Gimp is One of The Best Image Editing software more info on gimp read my previous post.

sudo apt-get install gimp gimp-data gimp-plugin-registry gimp-data-extras

Ubuntu Restricted Extra

This will enable your system to play popular file formats like mp3, avi videos etc.

sudo apt-get install ubuntu-restricted-extras -y

Link Here direct download from software center.


Medibuntu

Medibuntu is a packaging project dedicated to distributing software that cannot be included in Ubuntu for various reasons, related to geographical  variations in legislation regarding intellectual property, security and other issues, some examples of packages included in Medibuntu we find libdvdcss package from VideoLAN, FFMpeg codecs not supported in multiverse, and the external binary codecs package (commonly known as w32codecs) used by MPlayer and xine.


sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

To play encrypted DVDs, install libdvdcss2

sudo apt-get install libdvdcss2 -y && sudo /usr/share/doc/libdvdread4/./install-css.sh


Compiz Config Settings Manager (CCSM)


CCSM still has some interesting tweaks for example zoom effect and more, that will discuss more about in my next post.

sudo apt-get install compiz compizconfig-settings-manager compiz-plugins -y


Ubuntu Tweak


Ubuntu Tweak is an application to config Ubuntu easier for everyone. It provides many useful desktop and system options that the default desktop environment doesn't provide. Using Ubuntu Tweak you can install all needed applications with a simple click, you can change the window buttons from Left to right or clean unwanted cache and old archive files in one click (using Janitor) and much more.


sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update && sudo apt-get install ubuntu-tweak -y



Google Chrome Stable


Most of time i use firefox as default browser in Ubuntu, but the second choice for me is chrome.

sudo apt-get install google-chrome-stable -y

CPU/Memory Indicator Applet


Useful CPU/Memory load indicator applet that will reside in your top panel.

sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update && sudo apt-get install indicator- multiload -y




Installing Archive Management Application

Archive management application will help up you to open most of archive type files.

sudo apt-get install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller -y


Y PPA Manager


I always use repository command to manage PPA but Y ppa manager is one of the best GUI base application with will help you to add, remove or purge & search PPAs in all launchpad ppa’s in separate list file more info can be found on Launchpad.

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update && sudo apt-get install y-ppa-manager -y



Wine

"Wine enables Linux, Mac, FreeBSD, and Solaris users to run Windows applications without a copy of Microsoft Windows. Wine is free software under constant development. Other platforms may benefit as well.”

sudo apt-get install wine winetricks -y


VLC Player

Free and opensource cross platform multimedia application that can play almost any multimedia file.

sudo apt-get install vlc -y


Java 7

Well there is two options available for Java for common users they can install Openjdk it’s open source java version, i don’t know why but there are some issue for development android apps and complicated Java app in Openjdk, for Android app development you need to install oracle JDK.

To install OpenJDK use following command.

sudo apt-get install openjdk-7-jdk -y

And the following command for Oracle JDK

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-java7-installer -y



Filezilla

Only one and the best ftp client.

sudo apt-get install filezilla


Virtualbox

If you like to install and use multiple OS on single system, virtualbox is the best free and opensource application.

sudo -vecho "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee -a /etc/apt/sources.list

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add  -

sudo apt-get update && sudo apt-get install virtualbox-4.2 -y




Openshot Video Editor

For Linux users Openshot is widely used free and opensource video editor.

sudo apt-get install openshot openshot-doc -y



Monday, 7 October 2013

Health Check tool for GNU/Linux & Ubuntu OS

One of my friend who is working as Linux admin had ask me a question, there is any simple way to monitor and identify potential problems they impact system’s?
So i decided to write a blog post tool called “Linux Health Checker”.

What is Linux Health Checker?
The Linux Health Checker (lnxhc) is an Open source Tool sponsored by IBM & released under Eclipse Public Licence v1.0 an command line tool which compares the active system settings and status with the value provided by you. 

Installation
The Installation part is very simple on lnxhc website you can download and install rpm package or download and compile source code the only requirement is you need to install perl v5.8 or later, only some module of perl is require the lnxhc to run, most of linux systems have perl installed by default and to check the perl version on your system you can use following command.

Code: perl -v

You will get the the following Output.

Lnxhc 1.0

Old Linux way To install Download The tar file from Linux Health Checker Website and Extract using following command

Code: tar -xvf lnxhc-1.2.tar.gz

Goto extracted folder

Code: cd lnxhc-1.2/

Then type following command to compile and install

Code: sudo make all install

After installation you can check and run Linux Health Checker tool using following Command.

Code: lnxhc run

Alternative options For Ubuntu users is Health check

Health-check monitors a processes and optionally their child processes and threads for a given amount of time. At the end of the monitoring it will display the CPU time used, wakeup events generated and I/O operations of the given processes. It can be used to diagnose unhealthy bad processes. PPA repository available for Ubuntu

Code: sudo add-apt-repository ppa:colin-king/white

Code: sudo apt-get update && sudo apt-get install health-check -y

before start using Linux Health Check Its better to read man page first.

Code: man health-check

Basic Usage

health-check [options] [command]

The List of available options Options are:
-b brief (terse) output
-c find all child processes on start-up (only useful with -p option)
-d specify the analysis duration in seconds (default is 60 seconds)
-f follow fork/vfork/clone system calls
-h show this help
-p pid[,pid] specify process id(s) or process name(s) to be traced
-m max specify maximum number of system calls to trace (default is 1000000) -o file output results to a json data file
-r resolve IP addresses
-u user run command as a specified user
-v verbose output
-w monitor wakelock count
-W monitor wakelock usage (has overhead)

for example if you running everpad in background so you can run following command using everpad PID

Code: sudo health-check -p 1967

Once the program close you will get the desired output.
- CPU usage
- Kernel wake-up events
- File I/O activity (open,read,write,close)
- System call activity
- Excessive polling of timeout wait blocked system calls (such as poll, select, etc)
- Memory usage (such as heap and stack growth)
- Network connections (to spot rogue internet activity)

So how it can help us?

Let see as an system admin and user called you and said that he is working in gimp and whenever he try to import an image in Gimp, the application crashed. so you start gimp using health-check.

Code: sudo health-check -b gimp

The command will start gimp and once it crashed or closed you will get the output for diagnose the issue.

Monday, 6 May 2013

Youtube Tricks


A recurring question that I face is; what is the trick to download videos from youtube?

And I am quite sure that on reading the title “Youtube tricks” the first question that pops up in your mind too, is how to download videos from youtube. In this blog post I will try to explain some tricks to download youtube videos, as well as some URL customization tricks, through which you can easily do extra things on youtube.

How to download Videos from Youtube?

Google doesn’t want anyone to download videos from youtube, because of which there is no “Download” button on youtube. But there may be a situation wherein, it is required for you to download videos from youtube. Probably your Internet connection is slow, or, you want to watch videos later, at a time when you do not have an internet connection.

Well Download helper is an extension available for firefox which helps you to download videos from most of the video streaming websites.

After installation, the download helper icon will appear on the left corner, near the address bar.


Wherever you watch a streaming video the icon will start blinking.


On clicking the Icon you will get various download options.


It must be seeming very simple to download videos from firefox using downloadhelper. But, google chrome or any other browser does not support download helper, what then?

Use pwnyoutube, it is an even simpler URL trick to download youtube videos. All you have to do is just change “youtube.com” with “pwnyoutube.com” in the video address bar and hit enter.


The video will open in pwnyoutube.com and will give you a download option wherein you can download the video in MP3, MP4 and FLV formats.


How to go to a specific time within a youtube video?

Let us assume that you are watching an interesting educational video, 45 mins in length, and, the first time you watch only 5 mins 30 seconds of the video. The next time you open the video, you want to resume watching from 5 mins 30 seconds.
All you have to do is add “&t=XmYs” at the end of the address bar. Replace “X” with the number of minutes and “Y” with number of seconds.
As per the earlier example you need to put “&t=5m30s” at the end of the youtube link.


How to repeat Videos on Youtube?

Almost any song you want to listen to is available on youtube. Many times I see, people replay videos after it stops playing, as youtube does not provide the option to repeat videos. Use youtuberepeater.com to repeat videos or songs. In the address bar change youtube.com to youtuberepeater.com and hit enter.


The website youtuberepeater.com will automatically repeat the video. You may also use this website to have a custom start or stop time for any video.

How to Create Video Mashups?

Have you ever wanted to play multiple youtube videos at the same time? It is not possible to do same on youtube. In order to play multiple videos at once, you can create mashups. For example - pairing a marathi laavni with sheela ki javani, wherein both the videos will start playing at the same time, you can also share the link with a friend to see your mashups.


The website youtubedoubler.com palys mashups video, all you have to do is enter the address of the two youtube videos in the box at the bottom of the page.

(Thanks Alisha for making grammatical correction)

Saturday, 27 April 2013

Mozilla's Teach the Web India

I'm excited to be a part of Mozilla's Webmaker community. Teaching digital skills and helping people get their first taste of what's so amazing about making, hacking and coding on the Web

It's called "Teach the Web." Learn more or sign up now."

Mozilla's Teach the Web course will run from May 2 to June 30. And because it's an open online course, it's easy to dive in and connect with others at any time. You can participate in weekly guided discussions, tackle hands-on activities, develop and remix teaching resources, and compare notes with other members of the Mozilla community

Wednesday, 24 April 2013

Disable Bluetooth on Ubuntu startup

After shifting from windows and enjoying complete freedom of Ubuntu (GNU/Linux) on my laptop. there is one thing i noticed that every time when the system starts by default Bluetooth it is good if we are using Bluetooth enable keyboard or mouse but even when it's turned off from setting same again start at start-up. so to tweak this bluetooth we can do following fix.



open rd.local file which is located in in etc folder using following command.

sudo vi /etc/rc.local

than before exit 0 code add the following line.

rfkill block bluetooth

save and exit file now check the bluetooth will not on at system bootup.

Saturday, 12 January 2013

Cloud Storage

I am not getting in deep for what is cloud computing, I am trying to explain what are the benefits an normal user can take from of cloud technology.
 Cloud storage is new way to store your personal data online same as like backup your data on dvd or usb but cloud storage provide less risk to loose data than any other second storage medium and you can access data any computer around the world which have internet connection. Todays market giant such as Google docs, YouTube & flicker are using cloud computing.

 Q. As a computer user how this cloud storage help you?
Ans. As computer user some data you require to have backup there is cloud storage comes in frame you don't require to put your backup disk any more your cloud will automatically update background.
Even you can sync your data between multiple computers and also access it on your mobile whenever its require. So no more usb and dvd you need to carry for data transfer on multiple system.

 Q. how you can setup cloud on system.
Ans. It's depend what kind of service you require and which OS. Here is some major free cloud storage provider.



Dropbox: My Primary Cloud sync service is provide 2GB free online storage os independent so you can install on windows, mac & linux it also works with mobile platform Android, iphone, ipad & Blackberry.
After installation on your system it will create a folder which will sync with your dropbox account. All you need to drop your files and data on that folder it will automatically in background. Good when I want to share data with public and require the data should update periodically.

Google Drive: Good service provided by google 5GB free storage haves google docs is best for online document service. But to bad is not have official linux support so drop google drive from my list but some time i use for google doc services online only when more than one person require to update same time.  


One Drive this service is provided by microsoft up to 15GB free storage online microsoft document service. only issue that they don't have official application on Linux OS yes we can use Webdev but out of my list.

Ubuntu One: Canonical is stop this service but best cloud storage services provided canonical, 5GB free space 500MB from referrals, Cross platform OS support the best part is its inbuilt ubuntu & support seamless sync with my personal laptop and windows on work even i can access those files on the go using my android mobile.


The ubuntu one folder created in my home folder in ubuntu & office i have installed the application same folder i have sync in windows OS as per my requirement i have created sub folder in Ubuntu One folder for Doc, Pic, Entertainment & work by default current and working files save in those folder so it can easily accessible on other devices with up-to date data so no more pendrive to carry my work data to home or my personal data to work all is take care by ubuntu one.

So now it's time to move from traditional data backup to new cloud storage services.
Ping your blog