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

  • mina86@lemmy.wtf
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    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.

    • Drew@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

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

    • ferric_carcinization@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      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)

      • mina86@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        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’.

        • ferric_carcinization@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days 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.