我发现"gtk-auto-mnemonic = 0"
应该重新打开带下划线的键盘快捷键,但在每个主题文件的末尾都"gtk-auto-mnemonic = 0"
没有任何区别。"gtk-auto-mnemonic = 1"
这个建议只对 Gnome 2 有效吗?
如何使快捷方式始终可见,而不仅仅是在按 ALT 时?
我做到了
locate gtkrc | grep themes | xargs -I @ echo "echo \"gtk-auto-mnemonics = 0\" >> @" | sudo sh
并验证(都用零和一,因为我都试过了):
~$ locate gtkrc | grep themes | xargs grep auto
/usr/share/gimp/2.0/themes/Default/gtkrc:gtk-auto-mnemonics = 1
/usr/share/gimp/2.0/themes/Small/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Adwaita/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Crux/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Default/gtk-2.0-key/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Emacs/gtk-2.0-key/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/HighContrast/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/HighContrastInverse/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Industrial/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/LowContrast/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Mist/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Raleigh/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/Redmond/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/ThinIce/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1
/usr/share/themes/bubble/gtk-2.0/gtkrc:gtk-auto-mnemonics = 1