Sunday 30 August 2015

Kali Linux 2.0 Sana Keyboard shortcuts [Parrent Folder using Backspace, All partition and Home folder, Beloved Terminal] | Abhishek Singh

Hey fellas, how you all doing ?
        Today I'm gonna show ya how to set Custom keyboard shortcuts and specially backspace button for the going up to the parent folder..

so, 1st of all we'll work with the Backspace button..

The BackSpace mystery:
open the terminal (I'll tell you later in this post how to set shortcut for this.)
type this command without quotes "gedit .config/nautilus/accels"


then add this line to the file

(gtk_accel_path "<Actions>/ShellActions/Up" "BackSpace")

[remember not to put ; in the very first of this line as all other lines contains. Also take care of case of letter, to avoid errors use copy paste ;) ]


now what, save the file and open terminal the type these commands

"nautilus -q"
"nautilus"
then hit a Ctrl+z to break

see the image below


You're all done. ;]

Now , I'm coming to other useful shortcut

Computer and all Partitions:
Open up setting/keyboard/shortcuts/custom shortcuts
hit the + sign.
Name whatever you want.
In the command tab type "nautilus computer:///" [of course without quotes]
hit add button
now click on the word "Disable"
and hit the combination of keys you want to set. [Win+c in my case]
see the image below


Home folder:
owk now if you want home folder just hit + sign and type "nautilus /home/<username> in the command tab. set the key. done..

Terminal:
For Terminal Just type "gnome-terminal" in the command tab. see the pic


Owk fellas that's all for this post..
Happy Coding. ;]
 If you got any problem doing this, you're welcome to comment here.

see ya all with new problems and their solutions. ;)

Cuer - Note, Reminder & Alarm

A life savior Android app which I made for myself is now available on play store. Simple, light and smooth note taking app with Alarm and reminder with date and time both.

Set 3 types of Notes.
1. Simple Notes (quickly save anything important)
2. Reminders (drops a notification on given time and date)
3. Alarms (sounds and alarm on given time and date)

Give it a go 2 MB app size only and No Ads.

Monday 17 August 2015

Booting in Grub rescue mode [solved] [Easy way] [without any external booting device] [Part 2] | Abhishek Singh

Hello guys...
         In my just previous post, I left my work half done. {See my just previous post}
as you have to do that typing all the time when you boot your machine.

now it is fixed....

so if you stuck in grub rescue mode then go to my previous post and then come here.. 

 there i told you how can you get out of the grub rescue mode and come to normal OS list of grub.. now open the linux OS installed on your machine. {in my case it's linux mint 17.2}


open the terminal

type the command "sudo fdisk -l" {without quotes}
now type your password and hit <enter>
see the image below



now see the first line of the result in my case it is "Disk /dev/sda"
maybe in your case it is "Disk /dev/sdb" but whatever it is you have to use it.

now type the command "sudo update-grub"



 probably in your case you don't find the line "Found background image : ----- "
this is the custom background of grub.. ;)

I'll tell you how to do this in next post ;)

so after this command type "sudo grub-install /dev/sda"

here i make the word 'sda' strong cause if your disk is sda then you type here sda if sdb then sdb and if sdc then sdc. [please be careful]
I told you earlier in this post how to check it [i.e. by sudo fdisk -l command]

check the image.



This is it. You are all Up. ;]
Thanks for reading guys. Happy problem solving. :) 
Feel free to comment here if you get any problem, i will help you.
see ya all later with new post.

Sunday 16 August 2015

Booting in Grub rescue mode Multiboot with linux [solved] [Part 1] | Abhishek Singh

Hey buddies...
                    Today i'm gonna solve your problem. if your machine in booting into grub rescue mode due to deleted partition..

:: this tutorial works only if you have misplaced grub or corrupted grub and having more than one Linux OS installed in your machine (i recommend this for safety from these type of problems)..

so here is the case : the active grub on this machine was of fedora and i also have install Linux mint (multiboot). by mistake i deleted the partition of fedora from linux mint and now my machine boots is grub rescue mode cause of it cann't find the grub folder.

This post is for how to change the default location of grub and start system normally.

So, you boot your system and it show something like cann't find the file error.

type "ls"  without quotes (plz type all the commands without quotes)

it will list all your partition..

now test your partition for which is correct by typing "ls (hdX,msdosY) [X,y are numbers]
for the linux partition it will say ext2 type for other like windows unknown
in my case (hd0,msdos6) is the linux partition you can test all for partition and try.

see the image for reference



now i have my target partition
type "set root=(hdX,msdosY)"  [In my case X=0, Y=6]
again type "set prefix=(hdX,msdosY)/boot/grub [in my case X=0, Y=6]
type "insmod normal"
again type "normal" and hit <enter>.
you can see the image for reference.

now you are up ;]

but there is one problem which is unsolved by me now, you have to do this all the time whenever you boots your machine. well I'm on it.

thanks for reading my article. 
and if you have any problem doing this please feel free to comment here I'll surely help you. Thanks see you all later :)


A life savior app which I made for myself is now available on play store. Simple, light and smooth note taking app with Alarm and reminder with date and time both.

Set 3 types of Notes.
1. Simple Notes (quickly save anything important)
2. Reminders (drops a notification on given time and date)
3. Alarms (sounds and alarm on given time and date)

Give it a go 2 MB app size only and No Ads.

Saturday 15 August 2015

How to setup Path Variable in Liunx Mint Rafaela (Debian) [Easy way] | Abhishek Singh

Hello fellas...
          today i'm gonna tell you how to set path variable in linux mint.

what is the basic concept behind this is we gonna edit a file and whenever you open a terminal window it will remove the previous PATH value and load the new from that file. so here we go

first of all open your terminal and type echo $PATH .see the image below


now copy the PATH.

now open the folder /etc with root user privilege.
i.e. normally open the file system and go to /etc right click anywhere and select open as root type the password and hit <enter>.

now search for the file bash.bashrc






open it and add lines in the end

"export PATH=" then paste the path value you copied from the terminal after that give a colon (:) and type your path of the application you want to add see the image below for help.


here i'm adding sublime text editor which is located in /home/<username>/Programs/Sublime/Sublime.
in my case username is hacktivist.

now save the file. and you are up ;]

for sureness open your terminal and type the application name which is in /home/<username>/Programs/Sublime/Sublime  [in my case]

see the image :)


That's it. thanks for reading.. see you all later with new post.

How to add any application to path variable in Linux mint Rafaela (or any debian disto) [Easy way (GUI)] | Abhishek Singh

hey fellas today I'm gonna show you how to add any application to Path without disturbing the path variable. so that you can access it via terminal.

so 1st of all download any application  in tar.gz form i'm taking sublime text editor as an example.
extract it any where in your file system where you want, but be carefull if you move that folder after setting the path variable it won't work you have to again do these steps if you move the folder.

okay now after you extract it open the folder and select the application see the image below.


after that press ctrl+m it will make a link to this application in the same folder.

 


now open the root folder (/) by superuser privilege that is just open your file system and root folder and right click any where then select open as root. fill the password and hit <enter>.

now move that link in your application folder to the folder /bin
rename the "Link to sublime" to "sublime". Its done ;]



now just open your terminal and type sublime hit <enter> you'r Up :)


thanks for reading, see ya later buddies...