Figma-Linux / figma-linux-font-helper

Font Helper for Figma for Linux x64 platform
GNU General Public License v2.0
410 stars 34 forks source link

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

Open Panda-ref opened 3 years ago

Panda-ref commented 3 years ago

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
devhammed commented 2 years ago

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

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

latin-1 commented 2 years ago

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

innomatics commented 2 years ago

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).