After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 649809 - Can't delete with "del" key after setting file deletion shortcut to "del"
Can't delete with "del" key after setting file deletion shortcut to "del"
Status: RESOLVED DUPLICATE of bug 647253
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 650238 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-09 16:01 UTC by Marvin Gülker
Modified: 2011-05-19 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marvin Gülker 2011-05-09 16:01:23 UTC
I've set my file deletion shortcut back to the [DEL] key as described at https://bbs.archlinux.org/viewtopic.php?pid=916646#p916646 . To clarify, these are the actions I've taken: 

=====================================
Quote:
=====================================
Run dconf-editor, and open:
org -> gnome -> desktop -> interface
Enable "can-change-accels".

Open nautilus, select any file/directory, then click "Edit" from menubar, and hover on "Move to Trash" menuitem.
While hovering, click on your delete key. The accel should change from "cntrl+del" to "del".

Make sure you have selected a file, else the "Move to Trash" menuitem will be greyed out.

I suggest you disable "can-change-accels" afterwards, to prevent accidental accel changes.
=====================================

I changed the "can-change-accels" setting back as suggested. 

Now, if I try to rename a file and press the [DEL] key to delete a character in the filename, the whole file is deleted (i.e. moved to the trash), but nautilus doesn't show this. You can continue typing in the filename, but nautilus then shows an error saying "the object couldn't be deleted" (translated from German) that refers to a file named »« (sic) after you completed the renaming via pressing [RETURN]. 

Example: 

1. Create a file ~/myfile. 
2. Select the file in nautilus. 
3. Press [F2]. 
4. Position the text cursor left to the "f". 
5. Press [DEL]. 
6. Type "abcdef" (or something else). 
7. Press [RETURN]. 
8. Look at the error message. 

Marvin
Comment 1 André Klapper 2011-05-16 06:50:16 UTC
*** Bug 650238 has been marked as a duplicate of this bug. ***
Comment 2 Cosimo Cecchi 2011-05-19 15:42:35 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 647253 ***