diff --git a/wiki/betterdiscord.md b/wiki/betterdiscord.md index 0cb66f1..04f1e33 100644 --- a/wiki/betterdiscord.md +++ b/wiki/betterdiscord.md @@ -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 diff --git a/wiki/discord.md b/wiki/discord.md index 820b484..51cd4ec 100644 --- a/wiki/discord.md +++ b/wiki/discord.md @@ -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 diff --git a/wiki/electron.md b/wiki/electron.md new file mode 100644 index 0000000..5ed7422 --- /dev/null +++ b/wiki/electron.md @@ -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 `` 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 + +``` diff --git a/wiki/nativefier.md b/wiki/nativefier.md index 256bc8f..2a79d17 100644 --- a/wiki/nativefier.md +++ b/wiki/nativefier.md @@ -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 diff --git a/wiki/signal.md b/wiki/signal.md index d30ab8e..bcfd2c8 100644 --- a/wiki/signal.md +++ b/wiki/signal.md @@ -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 diff --git a/wiki/youtube.md b/wiki/youtube.md index ca0c4d9..d23403c 100644 --- a/wiki/youtube.md +++ b/wiki/youtube.md @@ -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).