Code Monkey home page Code Monkey logo

Comments (27)

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024 2

output:
5640

Try to replace $HOME/.config/figma-linux/Settings file content on this:

{"app":{"panelHeight":28,"showMainMenu":false,"disabledMainMenu":false,"saveLastOpenedTabs":true,"windowFrame":false,"exportDir":"/home/wkrol/Pictures/Figma","fontDirs":["/usr/share/fonts"],"lastOpenedTabs":[]},"ui":{"scalePanel":1,"scaleFigmaUI":1}}

from figma-linux.

ralyodio avatar ralyodio commented on July 21, 2024 1

should put it in the snap store, then it'll run everywhere.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Hi.
Why figma-linux-bin, but not figma-linux?

from figma-linux.

rstacruz avatar rstacruz commented on July 21, 2024
  1. -bin is the AUR convention for packages that are installed from binaries.

  2. figma-linux can't be reliably built from sources, at least not with v0.2.2. #19 fixes this for the latest Node.js version, but this hasn't been released yet.

By the way, I suggest using dart-sass instead of node-sass now :) It's the official version of Sass right now, which is updated more often and is guaranteed to work with all Node.js versions (since it doesn't have any binaries/compiled bits).

from figma-linux.

LuisHCK avatar LuisHCK commented on July 21, 2024

Very nice! Thank you @rstacruz

from figma-linux.

ralyodio avatar ralyodio commented on July 21, 2024

hey what about ubuntu/debian?

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

hey what about ubuntu/debian?

I want to create repositories for .deb and .rpm packages. And maybe also I add the app to the Flatpak.
Probably, It'll be after then next release. To create repository need rebuild the app via other tools...

from figma-linux.

aksh1618 avatar aksh1618 commented on July 21, 2024

IMO the official instructions for an aur package should be:

git clone https://aur.archlinux.org/packages/figma-linux-bin.git && cd figma-linux-bin && makepkg -sci

from figma-linux.

Akiyamka avatar Akiyamka commented on July 21, 2024

@rstacruz, I have error when install aur package on manjaro, but if ignore that and continue - everything work fine after install

Preparing...
Cloning figma-linux-bin build files...
Checking figma-linux-bin dependencies...
Error: could not open file /var/lib/pacman/local/bolt-0.6-1/desc: No such file or directory
Building figma-linux-bin...

from figma-linux.

Projekt-43 avatar Projekt-43 commented on July 21, 2024

@rstacruz orphaned the package on AUR, times ago.

@acidicX made a new AUR package figma-bin using figma-linux-0.4.0.zip few days ago.

Working flawlessly for me =)

OS : Manjaro 18.0.2

from figma-linux.

acidicX avatar acidicX commented on July 21, 2024

if @rstacruz is OK with it, I could add a "replaces" flag in AUR (figma-linux-bin => figma-bin) :)

from figma-linux.

rstacruz avatar rstacruz commented on July 21, 2024

yeah go ahead! I just orphaned the package - feel free to adopt it.

from figma-linux.

Privth avatar Privth commented on July 21, 2024

Does someone have similar problem?

https://youtu.be/dCiqN7ZMcFo

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

Does someone have similar problem?

https://youtu.be/dCiqN7ZMcFo

Hi. Can you run the app in terminal? I need a logs

from figma-linux.

Privth avatar Privth commented on July 21, 2024

arch linux here

Hi. I notice that i can run it throu sudo but its still doesnt work well
https://youtu.be/0JfX99hOrjE

and here is my journalctl -xe after type 'figma' in terminal

https://pastebin.com/kRBU3MLQ

from figma-linux.

Privth avatar Privth commented on July 21, 2024

can u fix it? thanks!

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

can u fix it? thanks!

First, need to understand why this happening.
If run the app through .AppImage it will work?

What output of:

cat $HOME/.config/Electron/Settings

from figma-linux.

Privth avatar Privth commented on July 21, 2024

'theres no such file or directory'
i have only these files in $HOME/.config/Electron https://i.imgur.com/5ChkLAM.png

and i download this one for arch, make it executable and its same as from AUR https://github.com/ChugunovRoman/figma-linux/releases/download/v0.4.0/figma-linux.0.4.0.AppImage

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

'theres no such file or directory'

Sorry, I did imprint,

cat $HOME/.config/figma-linux/Settings

from figma-linux.

Privth avatar Privth commented on July 21, 2024

{"app":{"panelHeight":28,"showMainMenu":false,"disabledMainMenu":false,"saveLastOpenedTabs":true,"windowFrame":false,"exportDir":"/home/wkrol/Pictures/Figma","fontDirs":["/usr/share/fonts","/home/wkrol/.local/share/fonts"],"lastOpenedTabs":[]},"ui":{"scalePanel":1,"scaleFigmaUI":1}}

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

{"app":{"panelHeight":28,"showMainMenu":false,"disabledMainMenu":false,"saveLastOpenedTabs":true,"windowFrame":false,"exportDir":"/home/wkrol/Pictures/Figma","fontDirs":["/usr/share/fonts","/home/wkrol/.local/share/fonts"],"lastOpenedTabs":[]},"ui":{"scalePanel":1,"scaleFigmaUI":1}}

Hmmm, look normal.
What about quantity all fonts:

find /usr/share/fonts /home/wkrol/.local/share/fonts -type f | wc -l

from figma-linux.

Privth avatar Privth commented on July 21, 2024

output:
5640

from figma-linux.

Privth avatar Privth commented on July 21, 2024

output:
5640

Try to replace $HOME/.config/figma-linux/Settings file content on this:

{"app":{"panelHeight":28,"showMainMenu":false,"disabledMainMenu":false,"saveLastOpenedTabs":true,"windowFrame":false,"exportDir":"/home/wkrol/Pictures/Figma","fontDirs":["/usr/share/fonts"],"lastOpenedTabs":[]},"ui":{"scalePanel":1,"scaleFigmaUI":1}}

I LOVE YOU
its works!
but why one directory of fonts broke the app?

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

but why one directory of fonts broke the app?

It's depended from total amount of fonts. When total amount of fonts is big, then the native module cannot keep all fonts in memory. Apparently because of this, the application crashes.

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

@rstacruz HI. How to upload a package in AUR? Does need to rebuild my pacman package? What command need to use for uploading? Can I upload a package from non-arch-based distros?
I wanna support my package in AUR on my own

from figma-linux.

ChugunovRoman avatar ChugunovRoman commented on July 21, 2024

https://aur.archlinux.org/packages/figma-linux/

from figma-linux.

rstacruz avatar rstacruz commented on July 21, 2024

hey there - I'm no longer the owner of the AUR package. but I see you got the package assigned to you now :)

from figma-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.