mirror of
https://github.com/tiyn/wiki.git
synced 2025-12-12 12:09:44 +01:00
electron: added and linked, added keyring fix
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
[BetterDiscord](https://betterdiscord.app) is an unofficial extension to
|
||||
[Discord](/wiki/discord.md) which allows to add various functionality through plugins and new
|
||||
themes.
|
||||
It is not a standalone client.
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
[Discord](https://discord.com/) is an social platform that combines voice and video conferences as
|
||||
well as instant messaging chats.
|
||||
Additionally to the default website Discord also features a desktop client in the form of an
|
||||
[Electron-based app](/wiki/electron.md).
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
48
wiki/electron.md
Normal file
48
wiki/electron.md
Normal file
@@ -0,0 +1,48 @@
|
||||
# Electron
|
||||
|
||||
[Electron](https://electronjs.org/) is an open-source framework that allows developers to build
|
||||
cross-platform desktop applications using web technologies like JavaScript,
|
||||
[HTML](/wiki/markup_language.md), and CSS.
|
||||
It combines the Chromium [browser](/wiki/web_browser.md) and Node.js.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This section will focus on errors and the fixing of errors of /name/.
|
||||
|
||||
## Linux: `Could not detect a default secure credential storage on your device.`
|
||||
|
||||
A possible issue for Electron apps on [Linux](/wiki/linux.md) is the following error.
|
||||
|
||||
```sh
|
||||
not detect a default secure credential storage on your device.
|
||||
```
|
||||
|
||||
This occurs because Electron relies on a Secret Service such as the GNOME Keyring, among others) to
|
||||
store passwords securely on the system.
|
||||
And often appears on more minimal window managers on [Xorg](/wiki/linux/x_window_system.md) or
|
||||
[Wayland](/wiki/linux/wayland.md).
|
||||
If no compatible service is running or detected, apps cannot save credentials.
|
||||
|
||||
Using the following steps this issue can be solved.
|
||||
Firstly - if not already done - install a secret service.
|
||||
For the Gnome Keyring install the [packages](/wiki/linux/package_manager.md) `libsecret` and
|
||||
`gnome-keyring`.
|
||||
The name may differ slightly depending on the [package manager](/wiki/linux/package_manager.md)
|
||||
used.
|
||||
Afterwards make sure to run the service and enable it if not already done.
|
||||
An example for this is shown in the following command
|
||||
|
||||
```sh
|
||||
eval $(/usr/bin/gnome-keyring-daemon --start)
|
||||
```
|
||||
|
||||
Finally the Electron app `<electron-app>` can be started.
|
||||
For the secure credential storage to be reachable the environment variable `XDG_CURRENT_DESKTOP`
|
||||
has to be set.
|
||||
Due to this environment variable being possibly relevant for the system-wide settings it is
|
||||
recommended to only set it for the Electron app by running the following command in a sub-shell.
|
||||
|
||||
```sh
|
||||
export XDG_CURRENT_DESKTOP=GNOME
|
||||
<electron-app>
|
||||
```
|
||||
@@ -4,8 +4,7 @@
|
||||
apps from websites.
|
||||
This way a single website can be used as an application in contrast to opening it in a
|
||||
[browser](/wiki/web_browser.md).
|
||||
It uses [Electron](https://www.electronjs.org/) which in turn uses
|
||||
[Chromium](https://www.chromium.org/).
|
||||
Nativefier creates [Electron-based web-apps](/wiki/electron.md).
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
[Signal](https://signal.org) is an encrypted, open-source messenger that allows voice and video
|
||||
calls as well as instant messaging chats.
|
||||
ahe desktop client comes in the form of an [Electron based-app](/wiki/electron.md).
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
@@ -9,9 +9,10 @@ including subscriptions.
|
||||
|
||||
- [Invidious](/wiki/invidious.md) is self-hosted and provides a cross-platform web service.
|
||||
This frontend allows the usage of [SponsorBlock](#automatically-skip-sponsorships).
|
||||
- [FreeTube](https://freetubeapp.io/) is a alternative frontend that provides a local desktop
|
||||
application for [Linux](/wiki/linux.md), Mac and [Windows](/wiki/windows.md) systems.
|
||||
This application has [SponsorBlock](#automatically-skip-sponsorships) built in.
|
||||
- [FreeTube](https://freetubeapp.io/) is an alternative [Electron-based](/wiki/electron.md)
|
||||
frontend that provides a local desktop application for [Linux](/wiki/linux.md), Mac and
|
||||
[Windows](/wiki/windows.md) systems.
|
||||
It also features [SponsorBlock](#automatically-skip-sponsorships) by default.
|
||||
- [NewPipe](https://github.com/TeamNewPipe/NewPipe) for [Android](/wiki/android.md) phones is an
|
||||
application that is available via the [F-Droid Appstore](/wiki/android/f-droid.md).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user