Larger Font in LXDE Menus, and Libre Office Menus

Please post all general support questions for LXDE here.
Locked
coder25
Posts: 8
Joined: Fri Nov 28, 2014 9:10 pm

Larger Font in LXDE Menus, and Libre Office Menus

Post by coder25 »

How can a larger font be obtained for LXDE menus and Libre Office menus? Thanks.
Rex Bouwense
Posts: 1093
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: Larger Font in LXDE Menus, and Libre Office Menus

Post by Rex Bouwense »

Welcome to the LXDE forum.
To change the font that window text appears in, you will have to look in different places for different windows.
Use the LXDE preference menu to Open "Openbox Configuration Manager" , click "Appearance" tab.
Right click on the bottom panel and select "Panel Settings" to change the panel font size
Use the LXDE preferences menu to open "Customize Look and Feel". Click the Widget tab.

I believe you change the default fonts in LibreOffice in "Options".
Rex
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: Larger Font in LXDE Menus, and Libre Office Menus

Post by drooly »

this would change the font size for all gtk2/3 elements.
to change the font size for only particular parts of your user interface, you have to get into gtk theming (i suggest you look into gtk+ 2.x first).
vasa1
Posts: 39
Joined: Sat May 11, 2013 9:51 am

Re: Larger Font in LXDE Menus, and Libre Office Menus

Post by vasa1 »

coder25 wrote:How can a larger font be obtained for LXDE menus and Libre Office menus? Thanks.
Could you explain a bit about "LXDE menus"? What exactly do you mean by that?

Rex has mentioned the various ways font size can be modified. More detail can be provided depending on what exactly you want.

If you want to increase the font size of the menu and submenu in LibreOffice alone and not in other applications, that too is possible. Check out http://ubuntuforums.org/showthread.php? ... st13176861. Although it deals with LibreOffice Calc, you should be able to use it for any LibreOffice application. The code below affects only the font size of the LibreOffice menu and not the font size in any "child" windows such as those that open when you click Tools > Options.

You could have something like this:

Code: Select all

include '/path/to/your/theme/gtk-2.0/gtkrc'

style "larger-font" {
font_name = "Ubuntu Mono 12"
}

widget_class "*" style "larger-font"
For safety, you could place a copy of the appropriate .desktop file in ~/.local/share/applications (at least in the official Ubuntu flavors) and modify that.
Locked