mirror of
https://github.com/tiyn/wiki.git
synced 2025-12-12 20:09:45 +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
|
[BetterDiscord](https://betterdiscord.app) is an unofficial extension to
|
||||||
[Discord](/wiki/discord.md) which allows to add various functionality through plugins and new
|
[Discord](/wiki/discord.md) which allows to add various functionality through plugins and new
|
||||||
themes.
|
themes.
|
||||||
|
It is not a standalone client.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
[Discord](https://discord.com/) is an social platform that combines voice and video conferences as
|
[Discord](https://discord.com/) is an social platform that combines voice and video conferences as
|
||||||
well as instant messaging chats.
|
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
|
## 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.
|
apps from websites.
|
||||||
This way a single website can be used as an application in contrast to opening it in a
|
This way a single website can be used as an application in contrast to opening it in a
|
||||||
[browser](/wiki/web_browser.md).
|
[browser](/wiki/web_browser.md).
|
||||||
It uses [Electron](https://www.electronjs.org/) which in turn uses
|
Nativefier creates [Electron-based web-apps](/wiki/electron.md).
|
||||||
[Chromium](https://www.chromium.org/).
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
[Signal](https://signal.org) is an encrypted, open-source messenger that allows voice and video
|
[Signal](https://signal.org) is an encrypted, open-source messenger that allows voice and video
|
||||||
calls as well as instant messaging chats.
|
calls as well as instant messaging chats.
|
||||||
|
ahe desktop client comes in the form of an [Electron based-app](/wiki/electron.md).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,10 @@ including subscriptions.
|
|||||||
|
|
||||||
- [Invidious](/wiki/invidious.md) is self-hosted and provides a cross-platform web service.
|
- [Invidious](/wiki/invidious.md) is self-hosted and provides a cross-platform web service.
|
||||||
This frontend allows the usage of [SponsorBlock](#automatically-skip-sponsorships).
|
This frontend allows the usage of [SponsorBlock](#automatically-skip-sponsorships).
|
||||||
- [FreeTube](https://freetubeapp.io/) is a alternative frontend that provides a local desktop
|
- [FreeTube](https://freetubeapp.io/) is an alternative [Electron-based](/wiki/electron.md)
|
||||||
application for [Linux](/wiki/linux.md), Mac and [Windows](/wiki/windows.md) systems.
|
frontend that provides a local desktop application for [Linux](/wiki/linux.md), Mac and
|
||||||
This application has [SponsorBlock](#automatically-skip-sponsorships) built in.
|
[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
|
- [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).
|
application that is available via the [F-Droid Appstore](/wiki/android/f-droid.md).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user