figma-linux-font-helper icon indicating copy to clipboard operation
figma-linux-font-helper copied to clipboard

Is it possible to provide a version that uses unprivileged per-user systemd instance?

Open Panda-ref opened this issue 4 years ago • 3 comments
trafficstars

I don't know the internals, but I would imagine the service that uses /usr/local/bin/* executables with ~/.config/systemd/user/fonthelper* services and ~/.local/share/fonts/* fonts by default. Port 18412 is unprivileged. Do you see any obstacles? If no, shouldn't it be the preferred setup?

systemctl --user start fonthelper.service
systemctl --user start fonthelper-updater.service

systemctl --user enable fonthelper.service
systemctl --user enable fonthelper-updater.service

Panda-ref avatar Feb 02 '21 16:02 Panda-ref

There is already a PR on that, hopefully it will be merged soon!

https://github.com/Figma-Linux/figma-linux-font-helper/pull/21

devhammed avatar Jan 26 '22 07:01 devhammed

You might want to have a try on my rewritten version, which has better performance and supports more features like variable fonts. It respects XDG dirs and could run as arbitrary users.

https://github.com/neetly/figma-agent-linux

latin-1 avatar Jun 07 '22 01:06 latin-1

You might want to have a try on my rewritten version, which has better performance and supports more features like variable fonts. It respects XDG dirs and could run as arbitrary users.

https://github.com/neetly/figma-agent-linux

The above repo just works great for me, after this one stopped working and started producing 500 errors on the local service (had tried all suggestions in this and other issue threads).

innomatics avatar Oct 25 '22 07:10 innomatics