In GNOME 3 it seems that the keyboard shortcut to delete a file in Nautilus is actually Ctrl+Delete, this is fine I guess if it’s trying to stop people accidentally deleting files or something but it’s pretty annoying.
To change the keyboard shortcut from Ctrl+Delete back to the usual Delete do the following:
Open a terminal and type:
If you don’t have it, install it the usual way.
In the application that just opened, on the sidebar click:
And check the box entitled: can-change-accels.
Now, leave this window open and open up Nautilus.
Select a file that you want deleting and then click on Edit in the Nautilus menu, hover over the Move To Trash button and here press the button you wish to assign to the action, so for example Delete. You may have to press it twice (the first time it will remove the old key-binding and the second will assign it the new one.)
Go back to dconf-editor and uncheck the can-change-accels option to stop any other keyboard shortcuts being changed and you’re all done!
Related posts:
- How To: Install Pyrobot in Ubuntu
- HowTo: Fix “Briefly unavailable for scheduled maintenance. Check back in a minute.”
- How To: Restore Default sources.list
- HowTo: Switch the Window Menu Buttons Back to the Right – Ubuntu 10.04 / 10.10 / 11.04
- HowTo: Make WordPress 3.0 Default Theme (Twenty Ten) Single Column Full Width




Thank you! It’s working! :)
Thank you so mutch for the trick! It was really annoying.
This works, but my problem is that it’s only temporary. Whenever I restart my computer I have to rebind the keys.
THX man! :)
Means a lot!
Also, You seem to have a little typo: it’s gconf-editor, not dconf-editor… :P
Oh, the embarassment!
It’s dconf-editor alright!…
Cheers And thanx again!
Hehe, no worries. Yeah initially that’s what I thought it was too >.<
won’t work, gnome 3 sucks
[...] Zum Glück kann das Verhalten theoretisch geändert werden, indem man per dconf-editor oder gsettings org.gnome.desktop.interface can-change-accels kurzfristig auf true setzt und mit der Maus über das Nautilus Menu Bearbeiten -> In den Müll verschieben fährt und dann zweimal Entf drückt (siehe auch diese bebilderte Schritt für Schritt Anleitung). [...]
Thanks a lot, worked for me.
Thank you, worked for Fedora 16.
Jesus fucking christ i cant even delete a fucking file without jumping through flamming hoops. Gnome 3 is garbage, i dont have time for this shit. some of us have work to do, and god forbid the developers programmed this hot mess with productivity in mind.
This was the most disturbing gnome update ever people!
I just used a little timer to time some tasks i regularly do, between gnome 2.x and 3.x…
DISAPPOINTMENT!
TOTAL!
gnome 3 should return back to the drawing board.
It is a shame that it has become this monster.
I wonder how many gnome 3 developers envy mac users.
Is it the hipster developers that did it?
I bet they are all little arrogant selfish b’s.
KDE here I come.
Thank you, this was very useful for me
Since this was one of the first hits when i researched this problem i will share my specific solution. I use nautilus (3.2.1) but >don’t< run Gnome. I use lxde/openbox without gnome-settings-daemon which requires to edit/create a file to change the value of gtk-can-change-accels.
~/.config/gtk-3.0/settings.ini
I had to create the setting.ini file as well as the gtk-3.0 directory. In the file you put:
[Settings]
gtk-can-change-accels = 1
Save the file and restart your desktop session. Now you should be able to change the hotkey in the way it's described above (open up Nautilus…).
After you have changed the hotkey you have to edit the file again (to gtk-can-change-accels = 0) and restart your desktop session once more.
If someone has a better/faster solution let me know.
Thanks Truxton,
Hopefully someone else will find that useful if there isn’t a quicker way.