neetly / figma-agent-linux

Figma Agent for Linux (a.k.a. Font Helper)
MIT License
157 stars 9 forks source link

[Help] The tool doesn't seem to be working #64

Closed mani-rai closed 1 year ago

mani-rai commented 1 year ago

I enabled and started the systemd service and is loaded and active. I also looked at fonts.conf and everything seems fine. I looked at gimp and it's importing MSFonts just fine. However, I can't get to work on figma-linux. Is there anyway to troubleshoot the problem?

OS: 5.15.94-1-MANJARO Figma Agent: 0.2.6-1 (Installed from AUR)

latin-1 commented 1 year ago

Hi,

Do you have the figma-agent.socket or figma-agent.service enabled?

systemctl --user is-enabled figma-agent.socket figma-agent.service

If neither is enabled, please run this command and visit figma.com to see if it works for you.

systemctl --user enable --now figma-agent.socket

You can also use the following command to check the status:

systemctl --user status figma-agent.socket figma-agent.service

Thanks.

latin-1 commented 1 year ago

If the status shows no errors and it still doesn't work for you, please run this command and attach the results to this issue.

curl --header "Origin: https://www.figma.com" "http://localhost:18412/figma/font-files" > output
latin-1 commented 1 year ago

However, I can't get to work on figma-linux.

Wait, you mean you're using the figma-linux client, right? figma-linux uses a different mechanism to locate the local fonts. This program (figma-agent-linux) is only compatible with the Web client (https://www.figma.com/).

mani-rai commented 1 year ago

Hey @latin-1, sorry for delayed response. I confirmed that figma agents are enabled. And here is the output of the curl command. I tried in both platform, can't get MSFonts in figma web.

mani-rai commented 1 year ago

[UPDATED] It worked. It wasn't working in brave browser. That was so lame of me. Thanks

latin-1 commented 1 year ago

The Brave browser appears to block websites from accessing localhost due to security/privacy concerns. I'm glad it's finally working out for you!