emacs themes

3 réponses [Dernière contribution]
damidu
Hors ligne
A rejoint: 03/30/2021

Hi,

I discovered that you can use graphical "themes" with emacs.
There is a website : https://emacsthemes.com/themes/solarized-themes.html

The easy way is to setup melpa.

Add in your .emacs

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)

Start emacs and exec

M-x package-refresh-contents
M-x package-install solarized-theme

And you could choose it.

I don't know if all are free software. https://emacsthemes.com

damidu
Hors ligne
A rejoint: 03/30/2021

I started this topic in the wrong category. It should go to General Free Software Talk.

A funny thing is that I browse the web with the graphical emacs. I live more and more in it. I don't want to leave the emacs window to switch to abrowser or atril or mate-terminal, it sound like a bug. emacs is really a good working environment.

-----

If you want a new graphical environment that consume less resources you can use "exwm". It's an official emacs packages. https://elpa.gnu.org/packages/exwm.html

andermetalsh
Hors ligne
A rejoint: 01/04/2013

Try compiling an Emacs native build with libjit.

mkdir ~/src

cd ~/src

git clone git://git.savannah.gnu.org/emacs.git

cd ./emacs

sudo apt install build-essential git libgccjit-10-dev

sudo apt build-dep emacs

git checkout emacs-28

./autogen.sh

/configure --with-native-compilation --prefix=/opt/nemacs

make

sudo make install

/opt/nemacs/bin/emacs

https://www.emacswiki.org/emacs/GccEmacs

https://www.emacswiki.org/emacs/BuildingEmacs

Also, if you don't want EXWM, consider eyebrowse as an alternative:

https://depp.brause.cc/eyebrowse/

Also eyebrowse-restore https://github.com/FrostyX/eyebrowse-restore

Cyberhawk

I am a translator!

Hors ligne
A rejoint: 07/27/2010

Some grade of customization is available even before you use melpa.

M-x-customize-themes (please use tab, I'm typing this from memory. Might be custom-themes).

There are about 15 themes to choose from. Move the cursor to desired theme and press enter. This will give a preview. Save the buffer to finalize your choice. The selected theme is now the default, which will be loaded on startup.

All hail St. IGNUcious ;-)