You are not logged in.

#1 2021-11-20 20:02:54

WeebSpirit
Member
Registered: 2021-10-27
Posts: 91

how to make emacs launched from rofi drun to be launchd as emacsclient

Described in the subject. I don't want to use mods other than drun.

Offline

#2 2021-11-21 07:44:23

Wolfattackx
Member
Registered: 2018-02-06
Posts: 14

Re: how to make emacs launched from rofi drun to be launchd as emacsclient

In case of rofi you need to create a .desktop file and place it in

/usr/share/application

or in

~/. local/share/applications/

.

Offline

#3 2021-11-21 09:50:33

WeebSpirit
Member
Registered: 2021-10-27
Posts: 91

Re: how to make emacs launched from rofi drun to be launchd as emacsclient

Thank you. I had to edit the emacs.desktop file in /usr/share/application and now it works!

Offline

#4 2021-11-21 11:24:33

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: how to make emacs launched from rofi drun to be launchd as emacsclient

Your change will get overwritten every time the emacs packages is updated.
The correct solution is to make a copy in ~/.local/share/applications/ and edit that instead.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2021-11-21 12:43:26

Wolfattackx
Member
Registered: 2018-02-06
Posts: 14

Re: how to make emacs launched from rofi drun to be launchd as emacsclient

Slithery wrote:

Your change will get overwritten every time the emacs packages is updated.
The correct solution is to make a copy in ~/local/share/applications/ and edit that instead.

Yes this is the correct way

Offline

Board footer

Powered by FluxBB