andi- has quit [Remote host closed the connection]
andi- has joined #home-manager
cole-h has quit [Quit: Goodbye]
infty has joined #home-manager
o1lo01ol_ has quit [Remote host closed the connection]
infty has quit [Quit: Lost terminal]
thibm has joined #home-manager
__monty__ has joined #home-manager
kalbasit has quit [Ping timeout: 260 seconds]
kalbasit has joined #home-manager
psiquo has joined #home-manager
<piegames>
Ke: .desktop files work by adding the respective directory to `$XDG_DATA_DIRS`
<psiquo>
Hi guys I'm having problems with the home-manager emacs service, in my user configuration I've added "services.emacs.enable = true ;" but after a reboot the service starts correctly byt emacs client cannot connect, I have posted here the errors https://pastebin.com/kd2u9aTS.
<Ke>
piegames: thanks, my issue was that I did not have needed menu packages installed for pcmanfm
<Ke>
piegames: though more relevant answer for what I intended to ask would be: current-system has desktop files collected in one directory and they should be available as xdg environment paths by default
<Ke>
which was true
<Ke>
though the whole path of making everything work has so many steps
<piegames>
Ke: Ah yes, that's true as well
<Ke>
my own desktop files had /usr/bin paths, which I fixed, but still not getting there, with emacs not being able to open windows
<Ke>
when runnign from pcmanfm
<Ke>
...
psiquo has quit [Quit: psiquo]
psiquo has joined #home-manager
psiquo has quit [Quit: psiquo]
justanotheruser has quit [Ping timeout: 272 seconds]
thibm has quit [Ping timeout: 246 seconds]
thibm has joined #home-manager
<piegames>
Ke: Is you problem with finding desktop files or with executing them?
thibm has quit [Ping timeout: 246 seconds]
justanotheruser has joined #home-manager
thibm has joined #home-manager
Emantor_ has joined #home-manager
Emantor has quit [Ping timeout: 260 seconds]
thibm has quit [Ping timeout: 256 seconds]
evanjs has quit [Ping timeout: 256 seconds]
evanjs has joined #home-manager
<Ke>
piegames: well current problem is not desktop item related other than that I can't reproduce the issue running exact same command from terminal
<piegames>
Ke: Try with `gtk-launch file.name.desktop`
<Ke>
WAYLAND_DISPLAY="" pcmanfm click text file opens emacs ... Exec=/usr/bin/env -u WAYLAND_DISPLAY emacs ... in desktop file does not work
<Ke>
xdg-open on same file works
<Ke>
even without any hacks
<Ke>
looking at strace I can't discern, what pcmanfm does that makes it not work
<Ke>
maybe I should audit the env in exec
<Ke>
I can try gtk-launch, but I assume it gives you the same info as xdg-open working
<piegames>
Ke: More or less, yes. xdg-open launches *files* (by finding the correct application), whereas gtk-launch starts *applications* (you can still provide options to tell a specific file)
quinn has quit [Ping timeout: 264 seconds]
quinn has joined #home-manager
<Ke>
indeed gtk-launch starts emacs with my custom magic options
<Ke>
maybe I should just look into another filemanager, nixos pcmanfm still has the isdigit bug it seems that was fixed before the dawn of time
<Ke>
maybe thunar
<Ke>
something that just does freedesktop mime and gvfs should do
quinn has quit [Ping timeout: 272 seconds]
rajivr has quit [Quit: Connection closed for inactivity]
<Ke>
heh, all the file managers seemed to absolutely bonkers, but then I realized that they seemed to be obsessed to access my phone's mtp
<Ke>
which would hang on permission check
thibm has joined #home-manager
quinn has joined #home-manager
cole-h has joined #home-manager
psiquo has joined #home-manager
<hpfr>
the new goimapnotify is not working, it can't find `sh` for the password command