- english
Ctrl+U with Mozilla and Firefox
Posted by Dumbbell on Friday January 21, 2005 at 12:00 AM
Since Mozilla 1.7.5 (maybe 1.7.4) and Firefox 1.0PR, the shortcut Ctrl+U doesn't work as expected when used in a textfield, a textarea or the location bar. Usualy, under Unix, it used to erase the entire line. Now in these browsers, it opens the View source
window.
Hopefully, someone posted a comment in the entry #260188 of bugzilla.mozilla.org that solved this problem!
To explain quickly, one must edit the file ~/.gtkrc-2.0 and add these lines:
binding "gtk-unix-text-entry"
{
bind "u" {
"move-cursor" (paragraph-ends, -1, 0)
"delete-from-cursor" (paragraph-ends, 1)
}
bind "w" {
"delete-from-cursor" (word-ends, -1)
}
}
class "GtkEntry" binding "gtk-unix-text-entry"
class "GtkTextView" binding "gtk-unix-text-entry"
This will bind the shortcut again in Mozilla, Firefox and every Gtk+ 2.0-based softwares. For Microsoft Windows and MacOS, mozillazine.org brings another solution.
Don't hesitate to read the bug's comment, it may have more informations
- Bug #260188
- Another similar bug
- The other solution on mozillazine.org
Trackback Pings
TrackBack URL for this entry: https://www.dumbbell.fr/mt/mt-tb.cgi/19
Comments
Post a comment
Thanks for signing in,
.
Now you can comment.
(sign out)