GTK3 – How to Enable Mnemonics in 12.04 and 14.04

gtkwxpython

Word on the street is that "gtk-enable-mnemonics" has been deprecated since version 3.10, and I am not at all sure how to get my application to display mnemonics.

They will only display if I press the alt key.

Please see here:

I have tried everything suggested in this article in regards to settings.ini, switching the bool to the opposite:

Related:

Best Answer

To "disable" mnemonics for Nautilus 3.10.1 on Ubuntu 14.04 which uses GTK3:

  1. Create the following path & file if it doesn't already exist.
    /home/YOURUSERNAME/.config/gtk-3.0/settings.ini
  2. Then add:
    [Settings]
    gtk-enable-mnemonics = 0
  3. Then logout and log back in.

Sources:

p.s. Note that the GTK docs say you should have an environment variable called XDG_CONFIG_HOME but I didn't have one. I did have an existing ~/.config/gtk-3.0 folder and it appears it is looking there by default, without the environment variable.