Pages

Saturday, 28 March 2015

Fixing Docky to work properly in Kali Linux!! Easy Way!!

Docky is one of the most important utility in any linux system, the problem that many Kali Linux users face after installing docky in kali linux is that many options of animation, zoom and intellihide are not accessible it shows the following error!


So in this post i'm gonna show you how to install and fix docky to work properly in kali linux!

for installation use the following command!


after installation you will find that docky is not working properly! so error is that docky requires compositing to work properly so, we need a composting manager and we had one in our kali linux repository!! i.e. xcompmgr

what actually is xcompmgr ??

xcompmgr  is  a  sample  compositing  manager  for X servers supporting the XFIXES, DAMAGE, and COMPOSITE extensions.  It enables basic eye-candy effects.

so, now we have to install xcompmgr in kali linux, use the following commands in terminal


This will basically install xcompmgr in kali linux! Now one last thing is that we wanna docky and xcompmgr in kali linux to start when system boots! So for this purpose we must add docky and xcompmgr in startup application section of kali linux for that just press ctrl+space this will open Synapse(link for installation of synapse in kali linux) and you need to search for startup application like in the picture below


open startup applications and it will look somewhat like this


 Here go to add option in startup application prefrences and add two options one is docky and other is xcompmgr like this


and restart your kali linux and now docky works great with all it's option like this! :)


Thanks :)

p.s:-> You need to delete the down panel and make it's options available in upper panel of kali linux so that docky looks great downwards, so for this purpose press alt + right click on the panel and you will find the settings to customise kali linux panels! comment if you want to make me a post on the panel settings thanks !

Fixing NoDistroTemplateException in Kali Linux!! Easy Way!

Hey Guys, today i'm gonna show you how to fix NoDistroTemplateException in Kali Linux :)
Suppose i want to add some repository through command line in Kali linux! Then Kali's terminal throws exception i.e. NoDistroTemplateException and i am unable to add repository! :(  here is the pic =>



but today i'm with a hardcore solution to this problem

create a file named add-apt-repository.sh.txt and add the following lines of code!

#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
    ppa_name=`echo "$1" | cut -d":" -f2 -s`
    if [ -z "$ppa_name" ]
    then
        echo "PPA name not found"
        echo "Utility to add PPA repositories in your debian machine"
        echo "$0 ppa:user/ppa-name"
    else
        echo "$ppa_name"
        echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu lucid main" >> /etc/apt/sources.list
        apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
        key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
        apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
        rm -rf /tmp/${NAME}_apt_add_key.txt
    fi
else
    echo "Utility to add PPA repositories in your debian machine"
    echo "$0 ppa:user/ppa-name"
fi

Save it! and now open the terminal and use the following commands

that's it reboot your system and the fuckin NoDistroTemplateException is gone! :) enjoy adding new repositories! :)

Friday, 27 March 2015

Installing Synapse in Kali Linux!! Easy Way!!

In Fedora, Linux Mint and Ubuntu developers provided search tab in menus which is very useful but thats not present in Kali linux! So in this post i'm gonna introduce you to a gui utility i.e. Synapse , that works awesome for search purpose in Kali Linux!


Installation of synapse is very easy in kali linux !

first of all open your kali terminal and type the following command


That's it synapse is installed in your kali linux, and now open your synapse
you can use keyboard shortcut ctrl+space to open synapse whenever you want.



Now i will open synaptic package manager using synapse


And it's becomes so easy to open any application using synapse! Synapse rocks!

Bug:- It doesnt work with rhythmbox music player so, i will advice you to install banshee media player as there is no such problem with plugins in banshee!

p.s.:- apt-get install banshee for banshee installation in kali linux!

Thursday, 26 March 2015

Installing Rhythmbox player in Kali Linux!! Easy Way!!

The problem with kali linux is that it comes with a single media player and that is VLC media player! There must be a audio player like RhythmBox(comes by default in Ubuntu) or Banshee(comes by default in Linux mint) !!

In this post i'm gonna show you how to install Rhythm box in kali linux !

1.) First of all open the terminal of kali linux and type the following command in kali linux


Now rhythm box will be automatically downloaded from kali repositories and installed in the system!

Now to open RhythmBox in Kali Linux
go to Application => Sound & Video => Rhythmbox Music Player

Your Rhythmbox must look like this 

 
That's it! Enjoy your new audio player in kali linux!

Installing themes, icons & mouse cursors in Kali Linux!! Easy Way!!

The default themes, icons and mouse cursors are quite ugly in kali linux!!
So, friends in this post i'm gonna show you how to install themes, icons and mouse cursors in kali linux!

1.)Firstly you need to install gnome-tweak-tool in kali linux, so type the following command in terminal !!



2.) Go to Gnome-Look and download the  desktop theme, icons and mouse cursors for your kali linux!!

3.) Then after downloading themes, icons and mouse cursors in you need to extract it, you can use command line or simply use the gui tool aka archive manager provided in kali linux to extract the tar balls!

4.) now you need to copy the themes and mouse cursor folders in /usr/share/themes and icons folder in  /usr/share/icons

for example:-  in case of mouse pointer


That's it now you need to open the gnome-tweak-tool that you just installed
 which is located in =>
application => system tools => prefrences => advanced settings
in advanced setting open theme tab, it will somewhat like this


now you just need to play with options like Cursor theme, icon theme, GTK+ theme and window theme!!

thats it ! Enjoy!!

Saturday, 21 March 2015

Fixing Sound Distortion in Kali Linux 1.1.0!! Easy Way!!

So guys, in this post i'm gonna show you how to fix sound distortion in Kali Linux 1.1.0 & previous versions ! 

First Method:- 

Okay so, first of all open the terminal and type the following command

leafpad /etc/pulse/default.pa

If you have installed sublime  text editor in your kali linux then use this command in terminal

subl /etc/pulse/default.pa

Don't panic if your terminal doesnt look like mine .. it's because i have installed hackstation theme in kali linux :) 

Now when you have entered above command shown in terminal a window will open in my case thats sublime text editor!

search and replace "load-module module-udev-detect" with "load-module module-udev-detect tsched=0"

save it!!

Second Method:-

In this method you have to change the vlc media player settings

1.) Go to tools in vlc media player
2.) In tools open prefrences and following window will pop-up


3.) Go to Audio section and try to change various output module .. Audio memory output worked for me :)

that's it!!

P.S :- for better results apply both the methods mentioned above! and don't forget to reboot your system after applying 1st method!!
 

Monday, 9 March 2015

Recover/Repair/Install GRUB Bootloader!! Boot-Repair!! Easy Way!!

Hey friends! Today i'm gonna show you how to repair your grub bootloader which is installed with linux operating system! And due to some reasons it's damaged for example you tried to dual boot linux and windows and firstly you have installed linux which comes with GRUB bootloader which gets erased or it's over-wrighted due to installation of windows boot loader! In such case you can't open your linux operating system and only windows gets opened ! In this post i will be showing you how you can again Recover/Repair/Install grub bootloader so that you can boot into both the operating system !

So the current condition is that you directly boot into windows and don't have option to boot into your linux so do the following steps
1.) Make a bootable usb of ubuntu or linux mint
2.) Make it run live into your system
3.) Open your terminal and enter the following commands

sudo add-apt-repository ppa:yannubuntu/boot-repair

The above command will be used to add the repository of Boot-repair
Boot-Repair is basically a gui utility to recover/repair GRUB bootloader in Linux

Now open your synaptic package manager and reload it
After reloading open your software manager and search for Boot-Repair and install it

and then start Boot repair! Your gui will look somewhat like this


Click on Recommended repair option and that's it! Thanks for reading this article :)