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.

10 comments:

  1. thanks dude......really helps me

    ReplyDelete
  2. I actually cannot find an 'accels' file under my Kali Linux. But I realized that using "Alt + Up" in Kali is like using "Backspace" in Windows to go back to parent folder. Not sure why I can't find the accels file but it works with "Alt + Up" :)

    ReplyDelete
  3. I don't have .config/nautilus/accels file and even .config/nautilus directory. Have anything changed (Kali Linux 2.0 kernel version 4.6.0)?

    ReplyDelete
  4. In Linux everything that starts with a . Like .config is a hidden folder. Have you considered this ?

    ReplyDelete
  5. In Linux everything that starts with a . Like .config is a hidden folder. Have you considered this ?

    ReplyDelete