GNOME Bugzilla – Bug 104116
C-a shortcut does not function properly in Emacs mode
Last modified: 2010-07-04 23:06:24 UTC
After having searched for some time to figure out how to use basic Emacs/Unix-style key bindings, I found a preference under the GNOME Keyboard Shortcuts dialog to change key bindings to Emacs-style. After enabling this and clicking in the Nautilus location bar, C-e goes to the end of line as expected, C-u deletes the current line as I had hoped, but C-a does not perform as expected: It seems to go to the beginning of the line *but also selects the text*. This is inconsistent with standard Emacs key bindings which would have C-a go to the beginning of the line *without selecting the text*.
There's no way for me to set emacs keyboard theme any more and the location bar in nautilus doesn't respond to any of these keybindings any longer. What to do with this report?
to set the emacs theme: /desktop/gnome/interface/gtk_key_theme -> Emacs
BTW this issue has nothing specific to nautilus, the path entry in a standard GtkEntry, it's probably a GTK issue (and I'm pretty sure that such bugs are already closed on the gtk side)
oups, I was wrong. Ctrl-A works fine in gtk-demo and some other applications, so a nautilus issue ...
Right. The issue seems to be that NautilusClipboard grabs ctrl-A. It is used by both the location entry and by the select-all menuitem/GtkActionEntry. In my opinion, we should just remove the menuitem accelerator, so that ctrl-A will always perform an entry action, which then decides what to do based on the currently-used keybinding scheme.
It's not only C-A. This happens for every keybinding from the gtk key theme (C-p, C-f, C-w, etc), Nautilus seems to be overriding it all.
*** Bug 587590 has been marked as a duplicate of this bug. ***
This bug has also been reported by on Launchpad in Ubuntu at <https://launchpad.net/bugs/484126>, which confirms that it is still an issue in Nautilus. The reporter is using GNOME 2.28.
Changing component as a part of ongoing bug reorganisation.
I just tried C-A and it seems to work in location entry but not the other keybindings, but could this bug be closed because of that?
That's likely because of bug 314431. *** This bug has been marked as a duplicate of bug 314431 ***