this post was submitted on 05 Apr 2025
24 points (100.0% liked)

Emacs

2461 readers
3 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS
 

Got this one from ddg images but I think it was posted on reddit by someone.

Save the image to:
/.local/share/icons/

Save the modified .desktop file to:
/.local/share/applications/

This is mine, including the execution command modifier to make the window frame adwaita dark for gnome:

[Desktop Entry]
Name=DOOM Emacs
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=bash -c 'GTK_THEME=Adwaita:dark emacs'
Icon=doom-emacs.png
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupNotify=true
StartupWMClass=Emacs

and one I made for the Terminator terminal

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 hours ago

Awesome! Thanks for making this.

[–] [email protected] 3 points 1 day ago (2 children)

Why is 0th step of learning Emacs, learning Vim? The whole premiss that you need to know Vim or you’re unable to work on other people’s computers is ludicrous. Nano is perfectly capable editor for the times I need to use computers without Emacs.

[–] [email protected] 2 points 1 day ago

micro is also nice, plus it's statically linked so you can just pop it into any directory without having root

[–] [email protected] 1 points 1 day ago (1 children)

Using Vim on other people's computers may not always work. I know someone who remapped 'next match' from 'n' to something else, though --clean helps with such configurations.

Also, nano may not always be installed.

The safest way to edit a file on someone else's machine for a emacs "user" might be something like emacs -q || nano || vim --clean || vi --clean || vi, assuming a sane shell. (the || vi --clean step is probably unnecessary, becuse if it's supported, it's just vim, which would then also be available)

[–] [email protected] 1 points 1 day ago (1 children)

Also, nano may not always be installed.

mcedit, gedit, pico. For majority of people lack of any simple non-vi-based text editor is a corner case not worth worrying about. Definitely not enough of a problem to start ‘How to learn Emacs’ tutorial with ‘Learn Vim’.

[–] [email protected] 1 points 1 day ago

That's true about personal devices, but at least my server doesn't have nano installed. Though, in that case, you might manage with sshfs or something similiar. Also, for the 'Learn Vim' step, you only need to know the absolute basics, like entering input mode, saving & quitting.