How to disable the alt-hotkey behavior on gnome terminal?


This is not just gnome terminal, but pretty much all gnome windows: When you hold the "alt" key, you can press the first letter of one of the menu items. This will let you scroll that menu without clicking on it directly.

This is okay on any other window, like say Firefox, but on gnome terminal, it steals the keys I use for emacs!! There is very little chance of me learning a new set key combinations if I can avoid.

If I can't isolate this just to gnome terminal, I'm fine with that.

Edit > Keyboard Shortcuts..., and uncheck "Enable menu access keys".

If you want to do it globally, you can try this method (source):

To disable mnemonics you should create (if it doesn't already exist) ~/.gtkrc-2.0. This file should contain the line gtk-enable-mnemonics = 0 (you can add other GTK settings if you'd like). Then, restart for the changes to take effect (you may be able to log out then log in instead).

The alt key will still make menus appear...

0 0

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License and a GNU General Public License version 3. It may be redistributed and/or modified under either license.

GPL 3 statement:

This work is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see...

0 0

If you've enjoyed this blog, please consider picking up a copy of my Ubuntu book, Instant Ubuntu. Thanks for visiting!

As promised today I will show you how to disable the gnome-terminal F10 key so you can better use it within applications like htop. I don’t recall why I didn’t post this when I found it a few weeks ago.. probably just busy with work. I’ll try to do better next time

To disable the F10 “feature” in gnome-terminal you have two options. I’ll outline both.

The first option is to open the gnome-terminal and select “Edit” from the File menu, and then select “Keyboard Shortcuts”.

Within the next window check the boxes for:

Disable all menu access keys (such as Alt-f to open File menu)

Disable menu shortcut key (F10 by default)

At this point the changes should be available and the F10 key should be unused by gnome-terminal.

For the second option, you’ll need to launch the gconf-editor. You can do this like so:

0 0

I find the key ergonomically very useful (it can be pressed with a thumb without moving any of the "letter" fingers) and I would like to use it for many custom keyboard shortcuts (there is a reason why it plays such a big role in Emacs and the whole OS X for that matter).

Currently, though, is hardcoded to activate window menu entries (such as +F for the file menu, +E for the edit menu) and there is no way to surpass this functionality in all the applications. Personally, I find these shortcuts quite useless - they take you to "copy", "paste", and "open file" which have standard shortcuts anyway (with the exception of preferences, which for some reason don't have a standardized shortcut even though that's often the only thing a person looks for up there).

Expected behaviour

What I would like to see is a global option to disable these alt+ menu shortcuts to free up the key for other uses (similar to the option already available...

0 0


Recently I've moved to Linux Mint and I've sadly found how difficult is to disable the behavior of the ALT - drag window feature.

By default, Gnome uses the ALT key modifier to drag windows around. In Synfig Studio is used ALT drag hugely in many tools and widget behaviors.

I've found that the responsible for that behavior is the gnome configuration key called:


In others it is called:


but in Linux Mint that is its name.

By default that key is set to ''. I've cleaned the key, set it to '', set it to 'disabled', and nothing.
I can't disable the dragging behavior and it doesn't stop doing it. I've searched around but the few forums that talk about this points to change that gnome configuration key.

Any idea how to disable the behavior or map other key for that?

0 0

See GNOME for the main article.


Turn on NumLock on login

Run the following command:

$ gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state on

Hotkey alternatives

A lot of hotkeys can be changed via system settings menu. For example, to re-enable the show desktop keybinding:

System settings > Keyboard > Shortcuts > Navigation > Hide all normal windows

However, certain hotkeys cannot be changed directly via system settings. In order to change these keys, use dconf-editor. An example of particular note is the hotkey Alt- + ` (the key above Tab on US keyboard layouts). In GNOME Shell it is pre-configured to cycle through windows of an application, however it is also a hotkey often used in the Emacs editor. It can be changed by opening dconf-editor and modifying the switch-group key found in org.gnome.desktop.wm.keybindings.

It is possible to manually change the keys via an application's so-called...

0 0
0 0

Question: I am trying to use gpg-agent for SSH authentication when my key is on a separate USB security key card. However, I notice that when I log in to my GNOME desktop, gnome-keyring-daemon is already running, which appears to interfere with gpg-agent. How can I disable GNOME keyring on my Linux desktop?

GNOME Keyring is a daemon program which caches user's secret keys, login credentials and certificates, and makes them available to other applications requesting them according to the GnuPG protocol. Essentially GNOME Keyring plays the same role as gpg-agent, but is active only within GUI desktop sessions. GNOME Keyring also implements SSH agent protocol for SSH authentication to replace ssh-agent.

The problem is that GNOME Keyring's implementation for the GnuPG and SSH agent protocols is not complete. For example, unlike gpg-agent, GNOME Keyring cannot retrieve keys from smart card hardware. Thus when GNOME Keyring hijacks the connection to gpg-agent, a...

0 0