Trouble Installing Doom Emacs from github in appvm

Hi,

Doom Emacs is a framework for emacs.
I would like to use it in my work VM. I have installed emacs in my template and have followed the guide to install external software from github.

If i run emacs in the terminal template vm i get desired doom emacs.
If I add Emacs to the template VM with “App Shortcuts”, i get doom emacs. This I understand.

If I use “App Shortcuts” with an app vm and i get the VANILLA Emacs DESPITE having Doom emacs installed in the appvm aswell?
If I use doom run in the appvm i doom emacs launches.
Could a bind help me somehow?
I have created /rw/config/qubes-bind-dirs.d/50_user.conf contains:
binds+=( '/home/user/.config/emacs' ) binds+=( '/home/user/.config/doom' )
In the appvm. As I understood it the files should come from the template to the appvm. This did not work in my case. I created a file in the template which is not being carried over to the appvm.
I have restarted the entire Operating System, not just the VMs so i am sure i have the correct order (order is suggestet in troubleshooting in guide for “external software”).

You can’t do that, it’s not in the root filesystem coming from the TemplateVM (each template/appvm have their own /home).

I don’t really know how you install this but you should check if you can install this framework on the AppVM directly.

I don’t really know how you install this but you should check if you can install this framework on the AppVM directly.

That is the first part of my poorly written entry, sorry.

  1. I have installed vanilla Emacs in my TemplateVm then “converted” this to Doom Emacs in the TemplateVM. When I ran Emacs from the KDE start menu I got vanilla Emacs in my AppVm and Doom Emacs in my TemplateVm.
  2. Then I went ahead and Installed doom Emacs in the AppVm from Github. When I ran Emacs from the KDE start menu I got Vanilla Emacs in my AppVm and Doom Emacs in my TemplateVm.

So now:

  • If I launch AppVm Emacs from the start menu in KDE I get the vanilla Emacs.
  • If I launch the TemplateVm Emacs from the KDE Start Menu I get Doom Emacs.If i run justemacs from the TemplatesVM teminal I get Doom Emacs.
  • If I go into the terminal of my AppVM i have doom installed in and run doom run. I get the doom emacs. BUT if i run justemacs I get vanilla Emacs.

TLDR: Somehow the emacs Installed in my template Is not the same as in the appvm, but the appvm can run the programm.

I just installed this and it works on my side.

If I start emacs from terminal or from my menu I have emacs with a big “doom” on startup.

I am using Fedora-37. That could be a problem. But what you describe is what I excpetcted.
I will reproduce your steps exactly as you wrote with fedora again, then with Debain-11.

I just made it work on Fedora-37. It seems you need to install “ripgrep” otherwise doom is not working. When it’s done, delete those files/directories: /home/user/.emacs and /home/user/.emacs.d
Make sure /home/user/.config/emacs/bin is in your PATH and run doom sync

1 Like

Thank you. I did exactly that before. Weird. Except the stuff with the template.

2 Likes