Colors for menu bar and the scroll bar on emacs 24

emacs

I'd like to change the colours of the menu bar and the scroll bar of emacs 24.

The instructions of EmacsWiki (the above links) do not work. This might be because I am using emacs 24.

According to the page ColorTheme on EmacsWiki, emacs 24 has a new colour system, so I tried some colour themes and to modify them. (Menu bar→Options→Customize Emacs→Custom Themes) But I could not find the faces which I should customise.

Could you tell me how to change the colours of the menu bar and the scroll bar of emacs 24?

Environment: openSUSE 12.3, KDE 4.10.5, Emacs 24.2.1 (x86_64-suse-linux-gnu, GTK+ Version 3.6.4)

Best Answer

  1. Emacs 24 does not have a new color system. What it has that is new is a Customize interface for custom themes, which are different from but similar to the color themes of library color-theme.el.

  2. I think you mean the mode line and not the menu bar. (To change menu-bar appearance I think the only recourse might be Xresources.)

  3. The faces to customize are these:

    • scroll-bar

    • mode-line

    • mode-line-inactive

    • mode-line-emphasis

    • mode-line-buffer-id

    • mode-line-highlight

You can customize any of these using M-x customize-face. Or you can define a color theme or a custome theme that uses them.