I just installed a fresh Debian 8 with Gnome 3 and in Nautilus the delete key is not working.

Via Google I found out that setting org.gnome.desktop.interface can-change-accels to true with dconf should be a workaround allowing to reassign the hotkey for the Nautilus action move to trash. Unfortunately this is not working for me.

Another solution suggested setting

; (gtk_accel_path "<Actions>/DirViewActions/Trash" "<Primary>Delete")


(gtk_accel_path "<Actions>/DirViewActions/Trash" "Delete")

in the config file ~/.config/nautilus/accels.

Even after a refresh (Alt+F2 and then r) plus closing all Nautilus instances and reopening nautilus this did not work either.

Is this a known problem? Are there any other possible solutions?

EDIT: don_crissti stated that accels are broken since Gnome 3.12 and until < 3.16. So the only option left seems to be waiting for Gnome >= 3.16 to be integrated or updating manually.

  • 1
    No, you got it wrong... accels are broken, even in current 3.18 (as a result you can not customize shortcuts). The other thing (the delete key that is supposed to delete stuff when you press it) is fixed in 3.16. Not the accels though. – don_crissti Oct 26 '15 at 17:00

You could use the default keyboard shortcut for deletion, which is ctrl+del.

| improve this answer | |
  • 1
    Yeah... this only applies to gnome < 3.16 (as of 3.16 they finally fixed this nonsense) – don_crissti Oct 25 '15 at 22:28
  • So? Debian Jessie has 3.14, right? – Jodka Lemon Oct 25 '15 at 22:30
  • 1
    I don't know as I don't use debian, my comment was for future visitors... – don_crissti Oct 25 '15 at 22:34
  • Thanks for the post & yep, I am using this "hotfix" but my intention was to retrieve the original behaviour. Any ideas how the shortcut could be changed or why altering ~/.config/nautilus/accels seems to have no effect? – daniel451 Oct 26 '15 at 1:10
  • 1
    @ascenator - accels are currently broken (they no longer work in gnome 3.12 and later IIRC). The best way (definitely not the easiest) is to patch the source code and rebuild nautilus (this gentoo patch should get you started). Or wait until 3.16 is available in your distro repository. – don_crissti Oct 26 '15 at 8:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.