Questions tagged [electron]
For questions related to Electron, which is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS.
53
questions
1
vote
0
answers
56
views
Ubuntu 23.10 file dialog is showing corrupted characters in a snap electron app
I have developed an electron app which is in the snap store. It's a simple enough text editor. On Ubuntu 23.10, the electron showOpenDialog command is opening a filesystem file picker with corrupt ...
1
vote
0
answers
255
views
libva error when trying to make an app in electron
I'm trying to make a desktop app using Electron, but I'm getting this error repeatedly when trying to run electron. I've searched it online and got to know that it is because of chromium and it is ...
0
votes
0
answers
44
views
How to make an "always on top" application on top of push notifications?
I have an Electron application which uses alwaysOnTop, but the problem is push notifications can still appear on top. I do not want to disable notifications; they should still work. But for this ...
0
votes
0
answers
75
views
how to copy text from a pop up window (gnome)
I'm coding in electron and when i get an error, it shows it in a pop up window. But i cannot copy the error. Does anyone know a solution? I tried to use Gimagereader to copy text from a screenshot but ...
6
votes
0
answers
296
views
How can I make VSCode's "**Save As**" dialog open in focus and on top of all other windows?
Currently, saving new files from VSCode to any VSCode Workspace triggers a system notification -- '"Save As" is ready' -- and opens VSCode's "Save As" dialog behind current windows....
0
votes
1
answer
1k
views
How to properly create .config files to launch electron apps in native wayland? [Ubuntu 22.10]
While using fractional scaling, electron apps are blurry. To fix that I used the following flags
$code --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=...
0
votes
0
answers
87
views
Can I Use Nativefier to Create an App that Runs Through My VPN?
Lately, I have been keeping the VPN extension in my web browser running all the time. But I've started to use nativefier for a number of things, because I like have separate apps for various things—...
0
votes
0
answers
599
views
How do I simulate the "back" button in an electron app?
I am using Prospect Mail, which I understand to be an electron app. If I click on a link within an email, it takes me to the link destination. At that point I cannot get back to my email inbox -- even ...
0
votes
1
answer
377
views
Snap store unable to uninstall application
I am having problems with the apple-music-electron package:
apple music electron error
so I decided to reinstall it. but when trying to do that snap store displays an error saying: 'Unable to remove &...
0
votes
0
answers
1k
views
graphical glitches in electron-based apps
Context:
Testing electron-based applications on a Ubuntu 22.04 (LTS) VM (upgraded from 21.10). Specifically, I'm using VMWare workstation 12 on Windows 10, and the VM has the following OpenGL specs (...
0
votes
2
answers
100
views
App/Tool to encapsulate a web page into like an independent app
I'm looking for functionality equivalent to Electron apps, but I want to do it myself with any web page.
There is an equivalent app for Mac, called Unite: https://www.bzgapps.com/unite
0
votes
0
answers
134
views
Auto start After Install
We have a Installer application Extension .Debian, I want to Start my application after install is this possible on Linux OS, on Electron Installer.
1
vote
1
answer
644
views
electron apps exit after a few minutes with message Killed
I need help figuring out why electron apps get killed after a few minutes of starting them.
That is they do not log ERRORs (neither dmesg, /var/log/syslog nor when starting from console with --verbose)...
6
votes
0
answers
674
views
Ubuntu 21.04 Wayland copy/paste intermittently fails
Ubuntu 21.04
Gnome 3.38.5
Wayland
I've noticed that intermittently copy/paste starts failing. Anecdotally this only seems to happen when trying to paste into an electron app (slack/atom) but after ...
0
votes
0
answers
196
views
Can I get nativefier to produce a .deb?
On macOS and Windows, the Electron JS app creator script nativefier is able to wrap a website into a .dmg or .exe. However, on Ubuntu, the nativefier script produces a big folder where you have to ...
0
votes
0
answers
19
views
My electron Apps show "NORMAL" in top right [duplicate]
I use some electron apps, like every body, and i have a pixel "NORMAL" on top right corner of some of Apps, and inside menu of menubar.
Screens of apps with NORMAL:
Ferdi
Visual Studio Code
...
2
votes
0
answers
286
views
Nautilus "Select File" window invalid characters (□□□) on some snap applications (Ubuntu 20.04 Gnome)
Some applications downloaded from the Snap store, appear like this when I select to open a file. Other applications, such as Chromium, don't. This screenshot, in particular, is from Discord.
I ...
0
votes
1
answer
87
views
Can not type most letters on my keyboard into Electron apps
All numbers, punctuation, and special characters work normally. I can type normally in all non-Electron apps, but Discord, VSCode and Signal Desktop don't allow me to type anything except "f,w,j,...
3
votes
0
answers
7k
views
Pango-ERROR: Harfbuzz version too old (1.4.2)
I was trying to run this application but this error occurs on the startup of the application, is there a way to avoid this?
(wanna:90765): Pango-ERROR **: 03:53:41.569: Harfbuzz version too old (1.4.2)...
1
vote
1
answer
2k
views
How can I fix this npm error installing electron?
When I use npm install electron -g, I get this error:
npm ERR! code EEXIST
npm ERR! path /usr/local/bin/electron
npm ERR! Refusing to delete /usr/local/bin/electron: ../lib/node_modules/electron-...
1
vote
1
answer
65
views
Electron based apps hang on resume
Whenever I resume my laptop, electron based apps (slack, gitkraken) hang and use around 10% cpu.
After a while I get a dialog about the app not responding where I can then "Force Quit" the ...
0
votes
1
answer
2k
views
Trouble getting ElectronPlayer to work on Lubuntu
I been trying to get ElectronPlayer(for Netflix) to work on Lubuntu, it does seem to install successfully but I cannot find where it installed to open it, and when trying to open it via the terminal, ...
0
votes
2
answers
2k
views
how I can run an electron app on Ubuntu 18.04 ( I have only the binary )
I copied this application from one Pc to an other,both have Ubuntu 18.04, and I want to know what I need to run it, I don't have the source only those files ?
I tried to 'chmod' for the eGestion app ...
2
votes
0
answers
303
views
Ubuntu Core and third-party hardware and drivers
I'm doing tests to create a POS system in a very general stack (Ubuntu Core + Electron.js (snap) + mir-kiosk) and hardware (Raspberry PI 3 B+ + Display Touch + Printer Epson + Qr Code Scanner + Cam).
...
0
votes
1
answer
284
views
How to Retrieve an Iconized Program from the Tray with a Keyboard shortcut
I know that many here don't love Electron, but it's here to stay, as many commercial solution providers are using to package the web applications and make them act/feel like desktop apps and have them ...
1
vote
0
answers
507
views
Discord (Electron Application) Make GNOME freeze for 1 second when the tray icon change
Discord recently moved to new GNOME tray icon system (I don't know what they call it technically in GNOME). so when you click on tray icon it has shell theme style menu instead of GTK 2 theme.
When ...
1
vote
0
answers
176
views
ubuntu server 14.04 xvfb japanese characters as squares after release upgrade
Why did Japanese fonts suddenly stop displaying correctly?
Very difficult tough complex situation, at one time this gaggle was working, broke after a platform upgrade that coincided with a new code ...
1
vote
1
answer
5k
views
Install SSL Certificate for Electron Application
I'm currently building a debian installation package to deploy a electron application to our internal linux desktop machines (Ubuntu 16.04).
The app contacts an internal server that uses certificates ...
0
votes
1
answer
38
views
Where does the folder /usr/lib/windows95 come from and how can I get rid of it?
Trying to free some space on my root partition I stumbled across a folder named
/usr/lib/windows95
It contains the following files:
-rw-r--r-- 1 4,2K blink_image_resources_200_percent.pak
-rw-r--...
3
votes
0
answers
127
views
How can a blacklist of programs be defined for halting if RAM memory usage goes beyond a certain point?
My computers have been freezing too much because of a lack of RAM. I need this to happen less. I am aware that the system in this high-RAM usage state is technically still solving the problem via SSD ...
0
votes
1
answer
888
views
Failed to build snap package: The linker version '2.23' used by the base 'core' is incompatible with files in this snap
I am trying to build a snap package of electron app by using https://github.com/electron-userland/electron-installer-snap, but it results in following error:
Priming desktop-gtk3
Files from the build ...
6
votes
5
answers
13k
views
Mouse cursor size is tiny in Chromium (Ubuntu 18.04)
I'm running Ubuntu 18.04 with default gnome and I installed Tweaks to change my themes. I'm using theme DMZ White for my cursors.
Everything is OK except for Chromium (Version 69.0.3497.81 (Official ...
2
votes
0
answers
979
views
How do I create a symlink from my app bin to /usr/bin?
So I have a deb package built using electron-installer-debian. When I sudo dpkg -i app.deb, it's unpacked in /usr/lib/myapp/myappbin and there's no symbolic link created. How do make it so the ...
3
votes
0
answers
716
views
All electron based apps have stopped working, Ubuntu 18.04
I'm new to Linux and I've spent the last couple of weeks installing, reinstalling, trying different Desktop Environments, and setting up a personal cloud server.
Along the way the applications I've ...
7
votes
1
answer
16k
views
How to run my snap application on startup
I have a snapcraft application build on top of electronJs.
I would like that application to run on startup.
I tried to directly drop a app_name.desktop file inside the current user config/autostart ...
0
votes
2
answers
697
views
How can custom compose key combinations be defined for all applications?
Supposedly, new custom compose key combinations can be defined in the ~/.XCompose file. This seems to work well for GTK applications like gedit, firefox and gnome-terminal. But it isn't working for ...
0
votes
1
answer
878
views
installing electron through npm error [duplicate]
I was trying to install Electron using NPM, and this showed up:
adi@LMToshi2 ~ $ npm install electron --save-dev --save-exact
npm ERR! Linux 4.8.0-53-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/...
2
votes
0
answers
452
views
All electron apps crash me to login screen
Basically, as the title says, any electron app I try to run (atom, slack and vscode specifically) crash me out to the desktop. I was able to run slack for a long time on my machine, but when I ...
3
votes
0
answers
328
views
Bring application that has been closed (hidden) to front
As Electron based apps have trouble using the "systray"/tray icons in Gnome, closing (pressing X) on such applications lead effectively to them being hidden, as they also disappear from the ...
0
votes
1
answer
131
views
Electron Snap file is not build after running command
https://gist.github.com/popey/7803cfbda9b337fab792c403e50e4709
Im following this tutorial.
After running npm run dist terminal outputs missing script: dist
After running npm run lint since it is ...
13
votes
5
answers
15k
views
How can I install npm on 17.10?
I just wanted to install npm via terminal and now I am just stuck with some dependencies.
It wants me to install a few dependencies, for example:
libssl1.0-dev
nodejs-dev
node-gyp
Even if I try to ...
0
votes
1
answer
743
views
Ubuntu 17.10 .desktop wont launch electron app
I have created a simple .desktop file to launch an Electron app I am building.
This should work, but launching from the .desktop doesn't seem to do anything. Other .desktop launchers seem to work.
#!...
7
votes
2
answers
8k
views
Electron `chrome --type=renderer --field-trial-handle=...` won't shut down, eats up Memory
I am trying to build an app with electron. When I do this, however, it appears that several chrome processes are created that don't shut down after closing electron. These processes eat up a lot of ...
0
votes
2
answers
3k
views
Electron - Cannot run application on Ubuntu 64-bit
I have an executable file, that I create using Electron Packager, named "SteamCMD GUI".
When I attempt to double-click it, it won't execute, but Ubuntu tries to execute it using PyPar2.
Next, I typed ...
4
votes
2
answers
15k
views
Compress PDF files without Ghostscript
I would like to compress PDF files in my Node.JS application which will be generated by electron. I tried to compress these files with Ghostscript which worked fine btw but I cannot use this ...
4
votes
1
answer
2k
views
Keyboard shortcuts stop working intermittently
edit: As can be seen from the answer, this actually had nothing to do with standby or hibernation, but rather that it correlated with me often closing the app window (which triggered the bug) before ...
2
votes
1
answer
4k
views
AppIndicators not working for Electron applications (Skype for Linux, Discord etc.)
On upgrade to Ubuntu 17.04, AppIndicators for Electron applications are no longer working. I can't see the Discord AppIndicator, for example.
5
votes
0
answers
710
views
What package do I need to install to have spell-checking work in Gitbook Editor?
I installed Gitbook Editor. The screenshots show that Gitbook Editor has spell-checking support on Linux.
I checked the settings to enable spell-checking but I still don't have spell-checking ...
3
votes
3
answers
2k
views
Add an Electron app to Favorites (Gnome Shell)
Hello :) Anyone know why I can't add those Electron apps to Favorites in Gnome Shell?
6
votes
2
answers
943
views
Electron App as PPA
I've been doing some research: You can't build PPA's from a Node.js application.
Apparently, this is not a rule, since there are a few projects that have successfully achieve this. WebUDP8 is an ...