Figma electron app (unofficial)
Figma-linux it's unofficial desktop application for Linux for the Figma web application.
This app based on the Electron
Dependences
On Debian-based distros You need install the libgconf-2-4 library
Repositories
Ubuntu
For now, there are have repository for deb package on Launchpad.
To add repository, execute command below:
sudo add-apt-repository ppa:chrdevs/figmaThen update your packages:
sudo apt updateIf you receive a NO_PUBKEY error while running apt update, then you must add the key manualy:
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 70F3445E637983CCAnd then install:
sudo apt install figma-linux -yOr Beta deb package:
sudo apt install figma-linux-beta -yArch Linux
There is a figma-linux package available in the AUR
yay -S figma-linuxInstall
Download app package for You linux distribution.
For debian-based linux distributions:
sudo dpkg -i figma-linux_0.5.7_amd64.deb
With snap package:
sudo snap install figma-linuxOr Beta release:
sudo snap install --channel=beta figma-linuxFor RedHat-based linux distributions:
sudo yum install figma-linux-0.5.7.x86_64.rpm
or
sudo rpm -Uvh figma-linux-0.5.7.x86_64.rpm
or
sudo zypper install figma-linux-0.5.7.x86_64.rpm
or
sudo smart install figma-linux-0.5.7.x86_64.rpm
AppImage
For normal work of the app via AppImage, you need to make it an executable
chmod +x figma-linux-0.6.1.AppImageand install it via command:
sudo ./figma-linux-0.6.1.AppImage -iIt installs the desktop file, icons and creates symbolic link to the AppImage file. After that, you can run app via the icon or command:
figma-linux
For display rest flags for AppImage:
./figma-linux-0.6.1.AppImage -h
Run
figma-linux
Development
Steps to start development:
- git clone git@github.com:ChugunovRoman/figma-linux.git
- cd figma-linux
- install Rust via rustup
- npm i
To start the app in dev mode:
npm run dev
To start the app in production mode:
npm run build; npm start
ATTENTION: When You do changes in middleware component, You need to rebuild and restart the app each time. Because the middleware execute only on run the app. Hot Reload doesn't work here.
description of npm scripts
- dev - runs app in dev mode
- start - runs already built app
- build - only builds app from src
- builder - packs the app into different linux packages (see ./config/builder.json)
- pack - removes old packages from the installers dir, build the app and pack it
Community
Join us in telegram and spectrum.chat
Become a Backer
If you like to contribute by funding for sustaining our work, you can to do this via PayPal or Buy me a Coffee:
Thanks sponsors.
