How to clean your Facebook Apps

facebook-logo

While you are using Facebook many Apps are asking to access your account in order to use them. It's always a good idea to clean Applications that you no longer use or those which you don't want to have access in your profile's photos, messages, friends etc. So go to your Facebook Application Settings.

 Here you will find a list with all the Apps that have access in your account.
Facebook App Settings
If you click on an App you can see exactly where this App has access to and when it last accessed your account.
Facebook App Settings
To remove an Application you no longer need simply press the X button and confirm.
Facebook App Settings

How to colorize the output of grep

Linux logo

Grep is a very useful Linux command. In short grep searches an input stream for a pattern and displays the results. In this guide I will show you how to colorize the output of grep by highlighting the pattern you were searching for.
Supposing that you are using the bash shell open ~/.bashrc with your favorite text editor:
gedit ~/.bashrc
and paste the following line:
alias grep="grep --color=auto"
Now open a new terminal (or source ~/.bashrc) and try the grep command. This is how the default and colorized grep look like:
Colorized grep command
Of course you can change those colors. In ~/.bashrc to change the foreground color paste the following line:
export GREP_COLOR="1;37"
or to change bot foreground and background
export GREP_COLOR="1;37;42"
Here is the output of grep.
Colorized grep command
The first number indicates that we want the font to be bold. The second one is the foreground (the text's) color, and the third one is the background color. Here is a list with the color numbers of the shell.
Color Foreground Background
Black 30 40
Red 31 41
Green 32 42
Yellow 33 43
Blue 34 44
Magenta 35 45
Cyan 36 46
White 37 47

How to make Chrome the default browser in iPhone and iPad

iphone 4s logo

Google has released Chrome browser for the iPhone and iPad in its I/O 2012 conference. However a problem is that if you open a link in another app your iPhone will use Safari. If you own a jailbroken device there is a little tweak you can do to bypass this behavior.

BrowserChooser is an application by developer Ryan Petrich, which allows you to switch the default browser between Chrome, Dolphin and more. To install BrowserChooser for free in Cydia tap Manage > Sources > Edit > Add, type rpetri.ch/repo, and search for BrowserChooser. Next go to Settings, tap BrowserChooser and select the browser you want to use. As simple as that!
iphone ipad browserchooser
Chrome is available for download in iTunes.

Best GNOME Shell extensions

gnome logo

It has been a couple of weeks now that GNOME launched a public alpha version of their extensions sitewhich makes adding extensions to GNOME Shell with a single click. To use the extensions through his site first of all you must have install GNOME Shell 3.2 or newer. Fedora has version 3.2 by default. In a previous guide of mine I've shown you How to install Gnome Shell on Ubuntu 11.10 Oneiric Ocelot. Moreover you must have Firefox installed for this to work. There were some bugs in the browser plugin shipped in GNOME 3.2 that prevent it from working properly under WebKit-based browsers like Epiphany and Chromium. These bugs have been fixed and should be released when GNOME 3.4 ships at the beginning of March, next year. So, here is a list with some useful gnome extensions.

Alternative Status Menu

Replaces GNOME Shell Status Menu with one showing Suspend/Hibernate and Power Off as separate items. (install)

Applications Menu

Adds a gnome 2.x style menu for applications. (install)

Auto Hide Top Panel

Automatically hide the top panel. Useful if you have a small screen, a netbook for example. (install)

Battery Percentage Indicator

Puts a percentage label next to the battery panel icon. (install)

Frippery Bottom Panel

Adds a bottom panel to the shell. Useful, especially when you are working with a large number of windows and switch them frequently. (install)

noa11y

Removes a11y (Accessibility) icon/menu from panel. (install)

Places Status Indicator

Adds a systems status menu for quickly navigating places in the system. (install)

Window List

Adds a list to the top panel with all your open windows. It also displays a preview of the window if you place your mouse over it. (install)

Workspace Indicator

Puts an indicator on the panel signaling in which workspace you are, and give you the possibility of switching to another one. (install)
To update extensions for the time being you have to uninstall them manually and reinstall them. Gnome 3.4 will include features to make sure that your extensions can be updated automatically for you.
To uninstall an extension remove the extension's directory which is stored in ~/.local/share/gnome-shell/extensions and afterwards log out and log back in.
You can also view your all your installed extensions and disable some of them temporarily simply by pressing the on/off button.
What are your favourite extensions? Which ones do you think are the best ones?

How to install Gnome Shell on Ubuntu 11.10 Oneiric Ocelot

ubuntu

Ubuntu 11.10 Oneiric Ocelot comes with Unity preinstalled. Unity is a shell interface for the Gnome Desktop Environment developed by Canonical for its Ubuntu Operating System. On Ubuntu 11.10 it's pretty easy to install Gnome Shell and Gnome Shell classic, the one with the two panels on top and at the bottom. Here is how.
To install Gnome Shell (3.2 is the latest version at the moment) open Software Center and search for gnome shell or open a terminal and type:
sudo apt-get install gnome-shell
Now logout and select GNOME from the LightDM login screen. Here is how it looks like:
To install Gnome Fallabck (3.2 is the latest version at the moment) open Software Center and search for gnome session fallback or open a terminal and type:
sudo apt-get install gnome-session-fallback
Now logout and select GNOME Classic from the LightDM login screen. Here is how it looks like:
Here is a screenshot with the options on the mogin manager. These packages might already be installed on your system, so take a look first.
So, which is your favorite desktop environment? Unity, Gnome or something else? Personally I am using KDE for many years now and despite Canonical's ang GNOME's team efforts I am not going to change!
www.comhttp.blogspot.in. Powered by Blogger.