PDA

View Full Version : [xfce] Panel Adjustments



JazzyJeff502
February 24th, 2014, 04:44 AM
Would anyone happen to know how to adjust the font size of the text in panels? I've tried adjusting the row height, but that only increases/decreases the size of icons in the panel. I'm also not sure how to change the font of the panel text.

Toz
February 24th, 2014, 05:29 AM
Try adding the following code to ~/.gtkrc-2.0 (create the file if it doesn't exist):

style "panel-font" {
font_name = "Sans 16"
}
widget_class "*Panel*" style "panel-font"
widget "*PanelWidget*" style "panel-font"
widget "*PanelApplet*" style "panel-font"
widget "*Panel*" style "panel-font"
widget_class "*Panel*" style "panel-font"
class "*Panel*" style "panel-font"
class "*Tray*" style "panel-font"
class "*tray*" style "panel-font"
...change the font name and size to suit. You'll need to restart the panel for the change to take effect:

xfce4-panel -r

Bucky Ball
February 24th, 2014, 07:01 AM
You can use 'Applications>Settings>Appearance>Fonts' but this will resize fonts globally.