Here "menu" means something which appears when you hit F10. (Not the menubar.)

Because my display is small, several options are hidden below. (See the following image. You can not see "Quit".)

enter image description here

This is sometimes annoying me, so I would like to make the line hight in the menu list smaller. But the following gtk.css does not affect the line-height.

#pane #menubar GtkMenuShell 
    line-height: 100px !important;
    background-color: #000;

My question is : what should I write in gtk.css to change the line-height in the list of menu?

  • I am using emacs on openSUSE. I am currently working on KDE, but other gtk application such as gimp does not have this problem. (Namely the line-height is not large.)
    – H. Shindoh
    Oct 3 '16 at 13:08
  • +1. I don't think you can change it. I'd be interested to know how, if you can.
    – Drew
    Oct 3 '16 at 15:15
  • 1
    FWIW, an alternative way to use the keyboard to navigate menu-bar menus is to use library La Carte. it lets you not only use keys to drill down into menus one item/submenu at a time; it also lets you got to menus/submenus directly, by matching their names (completion).
    – Drew
    Oct 3 '16 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.