Questions tagged [electron]

For questions related to Electron, which is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS.

Filter by
Sorted by
Tagged with
0
votes
1answer
329 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-...
0
votes
0answers
25 views

Electron Builder- DMG in Ubuntu

Electron builder DMG packaging cannot be performed in non Mac platforms according to comments of isuues. But we can use package dmgs using mkfs.hfsplus. How to integrate electron packager with ...
1
vote
1answer
40 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
0answers
237 views

Enlighten me about Electron installation directory on Ubuntu. “Electron command not found” in my home directory?

this is my first time installing Electron in my machine (Ubuntu 18.04). I followed the documentation and installed it from terminal (default : home directory) using : npm install electron -g ...
0
votes
0answers
19 views

Running Nextcloud ansible script causes Hypter terminal emulator stop appearing

Okay I have a personal cloud server I run out of my closet at home. I use it for watching videos and streaming video in my living room. I also use a terminal emulator called "Hyper" because it's ...
0
votes
1answer
348 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
2answers
416 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 ...
1
vote
0answers
152 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
1answer
104 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
0answers
288 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
0answers
94 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 ...
0
votes
1answer
1k 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
1answer
32 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
0answers
97 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
1answer
735 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 ...
4
votes
4answers
7k 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 ...
1
vote
0answers
214 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 ...
2
votes
0answers
410 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 ...
4
votes
1answer
6k 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
2answers
314 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
1answer
639 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
0answers
300 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
0answers
156 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
1answer
90 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 ...
12
votes
5answers
13k 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
1answer
504 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. #!...
2
votes
1answer
3k 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
2answers
2k 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 ...
2
votes
3answers
7k 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 ...
3
votes
1answer
998 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
1answer
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
0answers
569 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 ...
0
votes
1answer
1k 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?
4
votes
1answer
674 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 ...
4
votes
1answer
577 views

Change order of electron tray icons

A few questions regarding ordering of the tray icons already have been asked (see here for example). This usually works great, electron apps behave somehow differently. When running an electron app (e....
3
votes
1answer
7k views

Notifications not showing up properly in Slack and other Electron apps

I recently upgraded from Ubuntu 15.10 to 16.04. Every this is working fine but I am not getting slack notification properly. I am getting slack notification like alert box like shown in below picture. ...
9
votes
1answer
1k views

Electron apps show notify-osd notifications incorrectly [duplicate]

I use Nylas N1 email client which is built using Electron. It used to present me with notify-osd notifications on Ubuntu 15.10. However, since the upgrade notifications look as follows: