I've just installed Emacs24 on a fresh Ubuntu 14.04 32-bit system with the default Unity Desktop Environment. I am unable to change Emacs behavior to display it in reverse video mode (dark background). This is one of the first things I usually do (and I suspect many others as well) after fresh install. Things I've tried:
emacs -rv
- adding
(setq inverse-video t)
in my .emacs file - going though emacs menus (Options->Customize Emacs->Display->Reverse Video), this adds
(inverse-video t)
to custom set variables in .emacs, pretty much same as (2). - adding
emacs.reverseVideo: on
to the .Xresources and updating with xrdb
None of the above works. When emacs starts up, it seems to briefly flicker to dark background, but nevertheless it comes up with white background.
Does Unity in any way interferes with normal X window and/or emacs behavior? What else might be going on?
emacs -Q -rv
and see if that works.(custom-set-faces '(default ((t (..."DejaVu Sans Mono")))))
. Removing that part fixes the problem.emacs -rv
works as supposed to. Still working on other options.(setq inverse-video t)
still does not work, but Xresources is good enough for me.