Sunday, October 13, 2013

How to set delete key to delete file instead of ctrl + delete in Fedora 19

Delete key Fedora
Fedora 19 has nautilus 3.6 in default. Here to delete a file/folder we use “ctrl + delete” key combination. It is annoying for us to use this key combination. Fortunately you can assign delete key to do the task. To do so you need to just we need do a simple modification in home directory. After the modification, you can delete files just by pressing “delete” key instead of “ctrl + delete”.

Solution
1. Open terminal and type the following command.
# vi ~/.config/nautilus/accels

2. Find the below line
(gtk_accel_path "<Actions>/DirViewActions/Trash" "<Primary>Delete")

3. Replace the above line with
(gtk_accel_path "<Actions>/DirViewActions/Trash" "Delete")

4. Now reboot your computer
#reboot

After you complete this step, you will be able to delete the file just by pressing “delete” key instead of “ctrl + delete”.

No comments:

Post a Comment