Solved emacs color theme

Apologies for this newbie type question, but can someone help me change emacs color theme?

I've tried following various GNU guides such as https://www.emacswiki.org/emacs/ColorThemes which takes me to http://www.nongnu.org/color-theme/ from which I can download http://download.savannah.nongnu.org/releases/color-theme/

In the color-theme homepage there is a section on

Download and installation​

which mentions:

Recommended way: use your package manager


but I don't know where Linux pkg managers install this.

Then there is some info:-

Quickstart​

This section suppose you have already installed color-theme-el either using the tarball or using a package manager.

All you need to do in order to configure your color-theme-el package is to add this to your .emacs.el file:

Code:
(add-to-list 'load-path "/path/to/color-theme.el/file")
(require 'color-theme)
(eval-after-load "color-theme"
  '(progn
     (color-theme-initialize)
     (color-theme-hober)))

so, presuming the above code goes in ~/.emacs.el, then I guess the "/path/to/color-theme.el/file" will be wherever I extracted color-theme.el eg ~/.emacs.d/themes/, should I expect to be able to ?
Code:
M-x load-file
Load file: ~/.emacs

If I do I get an error saying 'No such file or directory, color-theme'

Just can't get my head around this....
 
I think all you need is emacs package manager: Options -> Manage Emacs Packages. Using it you can install "color-theme" package. After that, I think, you can configure it using Options -> Customize Emacs -> Custom Themes.
 
Looks like I can only get a color theme loaded when running in XWindows mode, in text mode the color scheme remains unchanged.

Can anyone else confirm this?
 
The emacs color themes are in /usr/local/share/emacs/27.1/etc/themes/ and for instance can be loaded into emacs using
M-x load-theme RET deeper-blue RET.

Now all I need to work out is how I can start emacs (in text mode) automatically with this theme loaded...
 
Thanks for the link and I will bear it in mind, but I'm basically an emacs beginner, an IMV you can best get an understanding of it just using a keyboard. I'll get the hang of using mice eventually ;) but they weren't around when I started programming...:)
 
Back
Top