Comments (19)
I'm currently working on the C++ module.
I rewritten module in async style, but I also try to change algorithm of enumeration all fonts.
from figma-linux.
A JavaScript error occurred in the main process Uncaught Exception: Error: ENOENT: no such file or directory, open '/home/evsmorodin/.config/figma-linux/Settings' at Object.openSync (fs.js:436:3) at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:160:31) at Object.writeFileSync (fs.js:1168:35) at Object.writeFileSync (/opt/figma-linux/resources/app.asar/node_modules/jsonfile/index.js:117:13) at Settings._ensureSettings (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:153:18) at Settings._readSettings (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:192:10) at Settings._getValueAtKeyPath (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:281:22) at Settings.get (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:404:17) at Object.<anonymous> (/opt/figma-linux/resources/app.asar/main/main.js:1:18900) at o (/opt/figma-linux/resources/app.asar/main/main.js:1:279)
переустановил через консоль... )))))
А да, это баг приложения актуален только для snap. Хз почему, там файл с настройками не создается. Попробуй создай файл:
mkdir -p /home/evsmorodin/.config/figma-linux; echo '{"app":{"panelHeight":33,"showMainMenu":false,"disabledMainMenu":false,"saveLastOpenedTabs":true,"windowFrame":false,"disabledFonts":false,"exportDir":"/home/ruut/Pictures/Figma","fontDirs":["/usr/share/fonts","/home/ruut/.local/share/fonts"],"lastOpenedTabs":[{"title":"Settings","url":"component://Settings"}]},"ui":{"scalePanel":1,"scaleFigmaUI":1}}' > /home/evsmorodin/.config/figma-linux/Settings
from figma-linux.
Hi.
Try launch AppImage. It'll be to work?
And can you show me output of this command:
find /usr/share/fonts -type f | wc -l
from figma-linux.
mehman@MSI:~/Downloads$ find /usr/share/fonts -type f | wc -l
7874
mehman@MSI:~/Downloads$
I installed AppImage and it shuts down, too.
from figma-linux.
7874, wow.
I guess it’s because you have fonts in folder /usr/share/fonts too many.
Maybe, I need to optimize algorithm of enumerate all fonts in a C++ module. Need to rewrite it with using streams.
For now, you can remove unnecessary fonts. Just place them in another folder.
from figma-linux.
Yes you are right, I have a lot of fonts in /usr/share/fonts folder. Will it open if I remove most of them?. And is there an option to get the font from outside of default fonts folder? Ok, I am going to decrease fonts ))
from figma-linux.
Try move unnecessary fonts in another folder, and then launch the app.
from figma-linux.
For example, you can to create the fonts1 folder in /usr/share folder. And to moved unnecessary fonts in /usr/share/fonts1
from figma-linux.
It worked after moving fonts to other folder. Thanks you a lot. I hope you will fix the issue in 0.2.3 release :) You are 🥇
from figma-linux.
I created figma-fonts
inside ~/.fonts
where I duplicate fonts I need in Figma.
Works fine.
from figma-linux.
Greetings
When running in Ubuntu 18.04, I get the error:
/snap/figma-linux/1/bin/desktop-launch: line 170: $'\321\201\321\202\320\276\320\273': command not found
version 0.4.0 from Ubuntu app manager
from figma-linux.
Greetings
When running in Ubuntu 18.04, I get the error:
/snap/figma-linux/1/bin/desktop-launch: line 170: $'\321\201\321\202\320\276\320\273': command not found
version 0.4.0 from Ubuntu app manager
Привет.
Если запустить приложение через терминал, то оно нормально запустится?
Если да, то видимо проблема в пути к десктоп файлу. В пути не должно содержаться названий папок/файлов с пробелами. Кириллица вроде допустима. Я так понимаю, что файл находится на рабочем столе, и в пути к нему соответственно есть пробел - $HOME/Рабочий стол/
Здесь описана эта проблема
Возможно поможет переименование "Рабочий стол" в "Рабочий_стол".
from figma-linux.
Greetings
When running in Ubuntu 18.04, I get the error:
/snap/figma-linux/1/bin/desktop-launch: line 170: $'\321\201\321\202\320\276\320\273': command not found
version 0.4.0 from Ubuntu app managerПривет.
Если запустить приложение через терминал, то оно нормально запустится?
Если да, то видимо проблема в пути к десктоп файлу. В пути не должно содержаться названий папок/файлов с пробелами. Кириллица вроде допустима. Я так понимаю, что файл находится на рабочем столе, и в пути к нему соответственно есть пробел - $HOME/Рабочий стол/
Здесь описана эта проблема
Возможно поможет переименование "Рабочий стол" в "Рабочий_стол".
Эта ошибка как раз-таки при запуске из терминала...
Приложение я установил через менеджер приложений, на рабочем столе никакого ярлыка нет...
Куда еще можно покопать?
from figma-linux.
Greetings
When running in Ubuntu 18.04, I get the error:
/snap/figma-linux/1/bin/desktop-launch: line 170: $'\321\201\321\202\320\276\320\273': command not found
version 0.4.0 from Ubuntu app managerПривет.
Если запустить приложение через терминал, то оно нормально запустится?
Если да, то видимо проблема в пути к десктоп файлу. В пути не должно содержаться названий папок/файлов с пробелами. Кириллица вроде допустима. Я так понимаю, что файл находится на рабочем столе, и в пути к нему соответственно есть пробел - $HOME/Рабочий стол/
Здесь описана эта проблема
Возможно поможет переименование "Рабочий стол" в "Рабочий_стол".Эта ошибка как раз-таки при запуске из терминала...
Приложение я установил через менеджер приложений, на рабочем столе никакого ярлыка нет...
Куда еще можно покопать?
Хмм, очень странно. А из deb-репозитория пробовал ставить?
А если поменять локаль на латиницу? Приложение запуститься?
from figma-linux.
A JavaScript error occurred in the main process Uncaught Exception: Error: ENOENT: no such file or directory, open '/home/evsmorodin/.config/figma-linux/Settings' at Object.openSync (fs.js:436:3) at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:160:31) at Object.writeFileSync (fs.js:1168:35) at Object.writeFileSync (/opt/figma-linux/resources/app.asar/node_modules/jsonfile/index.js:117:13) at Settings._ensureSettings (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:153:18) at Settings._readSettings (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:192:10) at Settings._getValueAtKeyPath (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:281:22) at Settings.get (/opt/figma-linux/resources/app.asar/node_modules/electron-settings/lib/settings.js:404:17) at Object.<anonymous> (/opt/figma-linux/resources/app.asar/main/main.js:1:18900) at o (/opt/figma-linux/resources/app.asar/main/main.js:1:279)
переустановил через консоль... )))))
from figma-linux.
А да, это баг приложения актуален только для snap. Хз почему, там файл с настройками не создается. Попробуй создай файл:
mkdir -p /home/evsmorodin/.config/figma-linux; echo '{"app":{"panelHeight":33,"showMainMenu":false,"disabledMainMenu":false,"saveLastOpenedTabs":true,"windowFrame":false,"disabledFonts":false,"exportDir":"/home/ruut/Pictures/Figma","fontDirs":["/usr/share/fonts","/home/ruut/.local/share/fonts"],"lastOpenedTabs":[{"title":"Settings","url":"component://Settings"}]},"ui":{"scalePanel":1,"scaleFigmaUI":1}}' > /home/evsmorodin/.config/figma-linux/Settings
запустилось, благодарю
from figma-linux.
@sensenku Try 0.6.0 release. This should work
from figma-linux.
What is recommended and tested way to install application on Ubuntu? deb or snap package?
from figma-linux.
What is recommended and tested way to install application on Ubuntu? deb or snap package?
Deb from repository
from figma-linux.
Related Issues (20)
- export button doesn't work HOT 4
- Branches are not being displayed on the home screen HOT 3
- How can I open my presentations in a new tab INSIDE the app?
- Local font variants do not work HOT 4
- Figma canvas renders completely blank HOT 27
- Local variable fonts (vf) don't work HOT 1
- Cannot import plugins if filenames contain dashes (`-`) HOT 1
- Figma Search causes main tab to reload constantly
- .png export, crash HOT 1
- figma update block HOT 11
- Figma App Ubuntu 24.04LTS "out of date" HOT 23
- Update Required HOT 26
- 'Back to files' link is missing HOT 3
- Figma desktop app is out of date! HOT 9
- Icon and Name – trademark issue? HOT 6
- Figma crashed and not starting HOT 1
- Window flickering while dragging
- Uh oh… we can't open that file HOT 2
- Ubuntu: bad instructions for custom fonts in README
- Figma Desktop app is out of date HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from figma-linux.