Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Gnome 3/Nautilus (in Fedora 17), the keyboard shortcut for moving a file to trash is ctrl + delete. How do I change it to just delete?

share|improve this question
  1. In terminal:

    mkdir ~/.gnome2/accels # without this directory, the change won't stick

  2. Then: gsettings set org.gnome.desktop.interface can-change-accels true

    Run dconf-editor, navigate to org.gnome.desktop.interface and check can-change-accels

  3. Open Nautilus, select any file, go to menu Edit, and highlight Move to Trash.

  4. Hit delete to clear the old shortcut, and hit delete again to set it to delete.

  5. Then in terminal:
    gsettings set org.gnome.desktop.interface can-change-accels false

    Uncheck can-change-accels in dconf-editor

share|improve this answer
Kache's instructions work successfully on Debian Wheezy. – miguno Nov 30 '13 at 18:42

Kache’s solution worked once, I think, but that seems to have changed. What worked for me was to open ~/.config/nautilus/accels, where the second line said ; (gtk_accel_path "<Actions>/DirViewActions/Trash" "<Primary>Delete"). The semicolon is a comment symbol; delete it and also remove the <Primary> part. Finally make sure to really restart Nautilus. (Don’t forget about a possible second instance that you may have open on another workspace like I did.)

Thanks to Kagu and dmoebius for this.

share|improve this answer
This worked for me on Debian 8 Jessie – aaaaaa Nov 30 '15 at 2:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .