[opensuse-gnome] adjusting ctrl-w setting
Many months (or years?) ago someone made GNOME3 usable by providing a knob to control the result of ctrl-w. Instead of closing the window it wipes the just typed word, as expected. I think it used to be in control-center,details. Now with SLE12 I can not find this knob anymore. What happend to it, how do I get a usable ctrl-w? Olaf -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org
I don't know about the old knob and not aware of any UI to do this. But you can achieve what you want by creating a new Gtk key theme: As root: # cd /usr/share/themes # cp -r Default MyKeys and put the following in the "MyKeys/gtk-3.0/gtk-keys.css" @binding-set mykeys { bind "<ctrl>w" { "delete-from-cursor" (word-ends, -1) }; } GtkEntry, GtkTextView { gtk-key-bindings: mykeys; } Then run as a normal user $ gsettings set org.gnome.desktop.interface gtk-key-theme MyKeys This affects all applications using gtk-widgets (Overview is NOT). Hmmmmm....surely not very end-user friendly...but feature-rich, allowing for more possibilities... PS: "gnome-tweak-tool, Typing" has some extra tweaks towards keyboard/typing, which might be useful. Olaf Hering writes:
Many months (or years?) ago someone made GNOME3 usable by providing a knob to control the result of ctrl-w. Instead of closing the window it wipes the just typed word, as expected. I think it used to be in control-center,details. Now with SLE12 I can not find this knob anymore.
What happend to it, how do I get a usable ctrl-w?
Olaf
-- Carl Xiong (cxiong@suse.com) SUSE Beijing, China -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org
On Wed, Aug 27, Carl Xiong wrote:
Hmmmmm....surely not very end-user friendly...but feature-rich, allowing for more possibilities...
Thanks for your suggestion. I think the GUI knob was called emacs-like or something. Since it was useful it had to be removed.
PS: "gnome-tweak-tool, Typing" has some extra tweaks towards keyboard/typing, which might be useful.
This controls other aspects. And the menus are truncated anyway so its hard to tell what it does. Olaf -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org
If it's the Emacs-like keybindings you want, you can just: $ gsettings set org.gnome.desktop.interface gtk-key-theme Emacs Agreed on other points... Olaf Hering writes:
On Wed, Aug 27, Carl Xiong wrote:
Hmmmmm....surely not very end-user friendly...but feature-rich, allowing for more possibilities...
Thanks for your suggestion.
I think the GUI knob was called emacs-like or something. Since it was useful it had to be removed.
PS: "gnome-tweak-tool, Typing" has some extra tweaks towards keyboard/typing, which might be useful.
This controls other aspects. And the menus are truncated anyway so its hard to tell what it does.
Olaf
-- Carl Xiong (cxiong@suse.com) SUSE Beijing, China -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org
Am 27.08.2014 um 11:34 schrieb Carl Xiong:
If it's the Emacs-like keybindings you want, you can just:
$ gsettings set org.gnome.desktop.interface gtk-key-theme Emacs
This helps with Firefox and Thunderbirt. But the pidgin IRC window just disappeared... Does each app needs its own support to handle ctrl+w properly? Olaf -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org
On Tue, Aug 11, 2015 at 09:24:51AM +0200, Olaf Hering wrote:
But the pidgin IRC window just disappeared... Does each app needs its own support to handle ctrl+w properly? Is Pidgin using Gtk+3 yet? I can imagine there to be a problem.
http://lwn.net/Articles/447772/ lists ways for both, Gtk+2 and Gtk+3 to activate "Emacs" key bindings. Cheers, Tobi -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org
participants (3)
-
Carl Xiong
-
Olaf Hering
-
Tobias Mueller