77
submitted 8 months ago by jackpot@lemmy.ml to c/asklemmy@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] jackpot@lemmy.ml 3 points 8 months ago
[-] WatTyler@lemmy.sdf.org 2 points 8 months ago

Following up from my previous comment, there is a Flatpak of Emacs available on Flathub. Here are the instructions for how to install, whilst enabling native compilation, which will offer a performance increase and allow you to use features such as vterm (the best terminal emulator for Emacs).

[-] WatTyler@lemmy.sdf.org 2 points 8 months ago

I'm not too familiar with how Flatpak works but Emacs benefits from compiling it on your machine natively. Tell me what distro you're on and I can see if I can find out how you'd do that.

[-] jackpot@lemmy.ml 2 points 8 months ago* (last edited 8 months ago)

linux mint - can i use doom emacs btw. also thx

[-] netchami@sh.itjust.works 1 points 8 months ago

A Flatpak of Doom Emacs? No. But you can just install the normal Emacs flatpak and then install Doom Emacs with 2 simple commands:

git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs

~/.config/emacs/bin/doom install

Emacs will read these config files from the .config/emacs directory. Doom Emacs is not a different version of the program, it's essentially just a set of configuration files.

[-] jackpot@lemmy.ml 2 points 8 months ago

it's not working for me? sorry to ask but could you try it? linux mint lts btw

[-] netchami@sh.itjust.works 1 points 8 months ago

I don't have a Linux Mint installation right now, but when I used Mint a few months ago this worked for me. The two commands are from the official Doom Emacs install guide. Could you tell me exactly what doesn't work?

[-] jackpot@lemmy.ml 2 points 8 months ago

when i use those commands it assume emacs is installed as a system package and installs to a different location not accessible to the flatpak

[-] netchami@sh.itjust.works 1 points 8 months ago

Try PATH="/var/lib/flatpak/exports/bin/:$PATH" ~/.config/emacs/bin/doom install

[-] jackpot@lemmy.ml 2 points 8 months ago

is that one command? also is there any disadvantgaes to emacs as a flatpak

[-] netchami@sh.itjust.works 1 points 8 months ago

Yes, it's one single command. No, I haven't noticed any major downsides of Emacs as a Flatpak.

[-] jackpot@lemmy.ml 2 points 8 months ago* (last edited 8 months ago)

what does the command do and do i have to use it whenever i run emacs or? i'll try it when i get home but if it doesnt work is there any chance you have discord or revolt or matrix, etc.

[-] netchami@sh.itjust.works 2 points 8 months ago

I sent you my Matrix name via Lemmy DM

[-] DeadlineX@lemm.ee 2 points 8 months ago

I’ve got nothing to do with this comment thread at all, but I wanted to take a moment to say that I really appreciate you going so far out of your way to help an internet stranger. Love to see it.

[-] netchami@sh.itjust.works 0 points 8 months ago

Thanks for the appreciation. I do my best to make Lemmy a place where people help each other when they can.

this post was submitted on 19 Oct 2023
77 points (91.4% liked)

Asklemmy

42525 readers
1888 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS