https://bugs.documentfoundation.org/show_bug.cgi?id=99326

--- Comment #9 from Simon Long <si...@raspberrypi.org> ---
To give more detail, from
https://developer.gnome.org/gtk3/stable/GtkSettings.html :

"On the X window system, this sharing is realized by an XSettings manager that
is usually part of the desktop environment, along with utilities that let the
user change these settings. In the absence of an Xsettings manager, GTK+ reads
default values for settings from settings.ini files in /etc/gtk-3.0,
$XDG_CONFIG_DIRS/gtk-3.0 and $XDG_CONFIG_HOME/gtk-3.0. These files must be
valid key files (see GKeyFile), and have a section called Settings. Themes can
also provide default values for settings by installing a settings.ini file next
to their gtk.css file."

On my Raspberry Pi running LXDE, these are managed by the lxsession session
manager. If I go into its configuration file
(~/.config/lxsession/LXDE-pi/desktop.conf), there is a section labelled [GTK]
which includes the two parameters

iGtk/AutoMnemonics=1
iGtk/EnableMnemonics=1

If I change the first line to

iGtk/AutoMnemonics=0

and reboot, the accelerators are always shown in LO.

This is the correct way to enable / disable showing of accelerators - to change
the setting which GTK uses in the theme. If you are running a different session
manager, or indeed not running one at all, there will be alternative methods
for setting these variables. But I've checked the top of tree in the repo, and
the mechanics to turn this feature on and off were pulled from my patch and are
therefore already implemented in LO - there is no need for anything to be
changed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to