Wednesday, 30 October 2013

Whisker Menu

I have been using Debian for second day now. Coming from the Ubuntu background I missed advanced menu that the unity or gnome 3 had. So I decided to install the whisker menu. Whisker menu is an advanced alternate application launcher for xfce.

Some of the features of whisker menus are that it

  • Show the list of application you have marked as favorite
  • Keeps list of last 10 applications opened for faster access
  • You can search for the application instead of browsing through each categories   


Default xfce Menu


Whisker Menu

Installing Whisker in Debian


To install Whisker menu in debian xfce. Open up the terminal and type 


echo 'deb http://download.opensuse.org/repositories/home:gottcode/Debian_7.0/ /' >> /etc/apt/sources.list.d/xfce4-whiskermenu-plugin.list

 apt-get update

apt-get install xfce4-whiskermenu-plugin


add the respository key to apt 


wget http://download.opensuse.org/repositories/home:gottcode/Debian_7.0/Release.key

apt-key add - < Release.key 

For more information go to http://gottcode.org/xfce4-whiskermenu-plugin/

Tuesday, 29 October 2013

Install and sudoer


I switched to Linux a year ago and have never looked back. I have been using Ubuntu all this time but I recently installed Debian OS on the virtual machine. Ubuntu automates many things and keeps complexity of the Linux away from the user which makes the OS easier and user friendly to use by people who are new to the world of Linux.

I downloaded debian 7.2 live image 64 bit using xfce desktop environment. I installed the Debian OS in virtual box using the graphical installer. The installation was as easy and smooth as Ubuntu. When the installation completed, the OS booted directly in graphical desktop. The first thing I noticed was that the xfce panels where missing. So I added two panel, one on top and one on bottom and made xfce look like gnome classic.



Adding User to sudoer file


Next thing I tried to update the OS using command.
sudo apt-get update
and I am greeted with a message
 rushabh is not in sudoers file. This incident will be reported
After searching the internet I found that there is a file at path /etc/sudoers in which we have to add our name so that we can use user name to user privilege specification.


So, to do that first type su to become root user. Then type visudo to open the file /etc/sudoers and then find the line containing "user privilege specification." Over there there is already one file added with root, so we add a another line in the same format just containing our username (see the image above).

So the update command wrote below worked

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

 Changing vim as default editor


The default text editor when using the command visudo is nano. To change that to vim first install vim editor
sudo apt-get install vim
then open file /etc/bash.bashrc

sudo vim /etc/bash.bashrc 
and in the end add the line

export VISUAL=vim 
then tell the system to re-read the bash.bashrc file using

source /etc/bash.bashrc