mirror of
https://github.com/tiyn/wiki.git
synced 2026-01-10 08:39:45 +01:00
Compare commits
32 Commits
5d8094e90b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5849b76ee8 | |||
| 620f57beb8 | |||
| 47081f9ab6 | |||
| c070ba1d7b | |||
| 90c8863021 | |||
| f73e7d8ecc | |||
| 93479aa78d | |||
| ac608e09b8 | |||
| 3d8f4c11c9 | |||
| 866cad47e1 | |||
| f82ba017c1 | |||
| 3bcff627c5 | |||
| 1aa98200dc | |||
| f7d0ca7f64 | |||
| 1d45041588 | |||
| 68e29c7290 | |||
| 8c4f95fd24 | |||
| d6785f6694 | |||
| eb2011ac30 | |||
| db0822bb6c | |||
| beb5044107 | |||
| ea1c2524d4 | |||
| 5ab0efdf25 | |||
| a6b885bfc4 | |||
| a52f596979 | |||
| abc3d7c7c6 | |||
| fa07d756b6 | |||
| 7974f6fa29 | |||
| 70849c9cb7 | |||
| a26318fedf | |||
| 8dbc4038ad | |||
| 28cf833feb |
@@ -2,12 +2,12 @@
|
||||
|
||||
[Acer](https://www.acer.com) is a company that produces computers.
|
||||
|
||||
## Troubleshooting
|
||||
## Troubleshooting
|
||||
|
||||
This section focusses on vendor specific problems and ways how to fix them.
|
||||
This section focuses on vendor specific problems and ways how to fix them.
|
||||
|
||||
### Recovering the BIOS Password
|
||||
### Recovering the BIOS Password
|
||||
|
||||
Acer laptops usually feature a 8-digit BIOS password.
|
||||
Acer laptops usually feature an 8-digit BIOS password.
|
||||
If it was lost it can easily be regenerated/recovered by using the website
|
||||
[BIOSBug](https://www.biosbug.com/acer).
|
||||
|
||||
22
wiki/anki.md
22
wiki/anki.md
@@ -12,7 +12,7 @@ done via the official Anki website.
|
||||
|
||||
The default Anki client is made for computer systems and can be installed from source as described
|
||||
[on GitHub](https://github.com/ankitects/anki).
|
||||
Alternatively some [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
||||
Alternatively some [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
||||
package the Anki client in the `anki` package.
|
||||
|
||||
Adding to the Computer clients there are various possible clients for other platforms.
|
||||
@@ -53,3 +53,23 @@ for example.
|
||||
To change this navigate to the `Options` of a deck and then change `New card sort order` to
|
||||
`Random` to randomize them before showing them without gathering them randomly.
|
||||
To change this the `New card gather order` can also be set to `Random notes` or `Random cards`.
|
||||
|
||||
### Change Card Style
|
||||
|
||||
The layout and the style of the cards can be changed using CSS and HTML.
|
||||
There are various resources that can be used for this.
|
||||
One of them is [anki-prettify](https://github.com/pranavdeshai/anki-prettify).
|
||||
The exact CSS an HTML has to be changed on a per-note base under `Tools`, `Manage Note Types`, and
|
||||
`Cards` after selecting the corresponding note.
|
||||
|
||||
### Resources
|
||||
|
||||
The following are useful resources and (shared) decks for learning various languages with Anki.
|
||||
|
||||
#### French Resources
|
||||
|
||||
The following is a list of French resources.
|
||||
|
||||
- [French A0/A1 Anki Deck + Images/Audio/Explanations](https://ankiweb.net/shared/info/1070709392)
|
||||
is a shared deck for various French grammar and idioms.
|
||||
It is especially useful since it contains a practical note type for grammar questions.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -6,4 +6,5 @@ It produces citations for the stored records that are used in scholarly research
|
||||
## Software Solutions
|
||||
|
||||
- [Papis](/wiki/linux/papis.md) is a [command-line based](/wiki/linux/shell.md) for
|
||||
[Linux](/wiki/linux.md) bibliography manager that can be used for LaTeX using the BibTeX format.
|
||||
[Linux](/wiki/linux.md) bibliography manager that can be used for
|
||||
[LaTeX](/wiki/markup_language.md#latex) using the BibTeX format.
|
||||
|
||||
@@ -2,6 +2,21 @@
|
||||
|
||||
[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).
|
||||
|
||||
## Alternatives
|
||||
|
||||
There are some alernative frontends and modifications available for Discord.
|
||||
|
||||
- [BetterDiscord](/wiki/betterdiscord.md) is a modification for Discord on
|
||||
[Linux-based systems](/wiki/linux.md), which changes an existing installation of Discord.
|
||||
It supports a wide range of plugins and themes.
|
||||
- [Vencord](/wiki/vencord.md) is a standalone custom Discord App.
|
||||
It supports a wide range of plugins and themes.
|
||||
- [Revenge](https://github.com/revenge/revenge-manager) is a standalone client modification of
|
||||
Discord for [Android](/wiki/android.md).
|
||||
It supports a wide range of plugins and themes.
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -25,8 +40,8 @@ The following is a list of bots featured in this wiki that can do this.
|
||||
### Themes and Plugins
|
||||
|
||||
By default Discord has no option to use themes or plugins.
|
||||
This however can be changed by using [BetterDiscord](/wiki/betterdiscord.md).
|
||||
Another option is using [Vesktop](https://github.com/Vencord/Vesktop).
|
||||
To use themes or plugins [alternative frontends or client modifications](#alternatives) have to be
|
||||
used.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
|
||||
41
wiki/docker/kiwix_-_kiwix-serve.md
Normal file
41
wiki/docker/kiwix_-_kiwix-serve.md
Normal file
@@ -0,0 +1,41 @@
|
||||
# /maintainer/ - /name/
|
||||
|
||||
This is a [Docker](/wiki/docker.md) container for a [Kiwix](/wiki/kiwix.md) server.
|
||||
The official container and documentation was made by
|
||||
[kiwix](https://github.com/kiwix/kiwix-tools/pkgs/container/kiwix-serve).
|
||||
|
||||
## Set-up
|
||||
|
||||
Create the file `rebuild.sh`.
|
||||
Make sure to place the `.zim` files inside the volume.
|
||||
Change the settings according to your needs and run `./rebuild.sh` afterwards.
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports in the `ports:` section.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | --------- | ------------- |
|
||||
| `80` | `80` | TCP | WebUI |
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | --------------- | -------------- |
|
||||
| `kiwix_data` | `/data` | Data directory |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```sh
|
||||
docker stop kiwix-serve
|
||||
docker rm kiwix-serve
|
||||
docker pull ghcr.io/kiwix/kiwix-serve
|
||||
docker run --name kiwix-serve \
|
||||
--restart unless-stopped \
|
||||
-v kiwix_data:/data \
|
||||
-p 80:80 \
|
||||
-d ghcr.io/kiwix/kiwix-serve \
|
||||
*.zim
|
||||
```
|
||||
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>
|
||||
```
|
||||
@@ -11,7 +11,7 @@ Email usually consists of a [server](#server) and a [client](#client).
|
||||
If you want to host your own mail-server there are solutions with and without
|
||||
interfaces.
|
||||
|
||||
- [Dovecot](./docker/tvial_-_docker-mailserver.md) is a simple dockerized
|
||||
- [Dovecot](/wiki/docker/mailserver_-_docker-mailserver.md) is a simple dockerized
|
||||
mail server that has no interface.
|
||||
|
||||
## Client
|
||||
|
||||
@@ -30,7 +30,7 @@ A notable amount of this group of games uses the top-level domain `.io`.
|
||||
Some examples for these are [territorial.io](https://territorial.io/) and
|
||||
[slither.io](http://slither.io/).
|
||||
|
||||
Another online game is [Massive Decks](/wiki/massivedecks.md) which is the online take on a similar
|
||||
Another online game is [Massive Decks](/wiki/game/massive_decks.md) which is the online take on a similar
|
||||
popular tabletop game.
|
||||
|
||||
For Windows there is the popular old-school pinball game 3d Pinball Space Cadet.
|
||||
@@ -39,10 +39,10 @@ various platforms and operating systems.
|
||||
|
||||
## Syncing Game Saves Across Systems
|
||||
|
||||
By using [Syncthing](../syncthing.md) game saves can be synchronized.
|
||||
By using [Syncthing](/wiki/syncthing.md) game saves can be synchronized.
|
||||
First set up Syncthing as described in the
|
||||
[Syncthing entry](../syncthing.md#setup).
|
||||
If a system with only user access - like the [Steam Deck](./steam_deck.md) - is used the
|
||||
If a system with only user access - like the [Steam Deck](/wiki/game/steam_deck.md) - is used the
|
||||
[user space configuration](../syncthing.md#user-space-configuration-for-linux)
|
||||
is recommended.
|
||||
Afterwards move the game saves to the directory set up by Syncthing and create
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Magic: The Gathering
|
||||
|
||||
[Magic: The Gathering](https://magic.wizards.com) - often shortened to MTG or Magic - is a tabletop
|
||||
[collectible card game](/wiki/game/trading_card_game.md).
|
||||
[collectible card game](/wiki/trading_card_game.md).
|
||||
MTG is published by [Wizards of the Coast](https://company.wizards.com) - which are commonly
|
||||
reffered to as Wizards.
|
||||
In Magic: The Gathering there are many different formats that are all listed on
|
||||
|
||||
@@ -258,14 +258,14 @@ The following are recommended client-side graphical mods.
|
||||
redstone level of a music disc in game.
|
||||
- "Rename 'Stem' to 'Log'" from Vanilla Tweaks is a resource pack that changes the Nether woods to
|
||||
use 'Stem' instead of 'Log'.
|
||||
- "Icons" is a ressource pack that adds icons into the menu and game.
|
||||
Additionally "Icons Advertisement Removal" removes the logo of the "Icons" ressource pack.
|
||||
- "Hoffen's Minimal Armor" is a ressource pack that minimizes the look of armor.
|
||||
- "Vertical Nuggets" is a ressource pack that flips all nuggets to be vertical.
|
||||
- "Colorful Canines" is a ressource pack that makes dog armor more colorful.
|
||||
- "Colorful Sheared Sheep" is a ressource pack that makes the color of sheep wool visible even
|
||||
- "Icons" is a resource pack that adds icons into the menu and game.
|
||||
Additionally "Icons Advertisement Removal" removes the logo of the "Icons" resource pack.
|
||||
- "Hoffen's Minimal Armor" is a resource pack that minimizes the look of armor.
|
||||
- "Vertical Nuggets" is a resource pack that flips all nuggets to be vertical.
|
||||
- "Colorful Canines" is a resource pack that makes dog armor more colorful.
|
||||
- "Colorful Sheared Sheep" is a resource pack that makes the color of sheep wool visible even
|
||||
after the shearing.
|
||||
- "Real Arrrow Tip" is a ressource pack that makes the look of arrows correct ingame.
|
||||
- "Real Arrrow Tip" is a resource pack that makes the look of arrows correct ingame.
|
||||
|
||||
The following are recommended client-side audio mods.
|
||||
|
||||
@@ -313,8 +313,8 @@ The following are recommended client-side HUD and other UI modifications
|
||||
- "Scribble" is a mod that makes editing books easier by adding buttons for color, bold font and
|
||||
more.
|
||||
- "Chat Patches" is a mod that extends the chat history and adds some more tweaks.
|
||||
- "Armor Chroma for Fabric" is a ressource pack that shows the type of armor in the bar.
|
||||
- "Colorful Ping" is a ressource pack that shows the ping symbol in color.
|
||||
- "Armor Chroma for Fabric" is a resource pack that shows the type of armor in the bar.
|
||||
- "Colorful Ping" is a resource pack that shows the ping symbol in color.
|
||||
|
||||
The following are possible client-side mods that change the gameplay or give other information in
|
||||
the game.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[Pokemon](https://www.pokemon.com/) is a multi-media franchise owned by Nintendo.
|
||||
It consists of video games, animated series, films, a
|
||||
[trading card game](/wiki/game/trading_card_game.md) and more.
|
||||
[trading card game](/wiki/trading_card_game.md) and more.
|
||||
|
||||
## Resources
|
||||
|
||||
|
||||
20
wiki/gimp.md
Normal file
20
wiki/gimp.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# GIMP
|
||||
|
||||
[GIMP](https://www.gimp.org/) is a popular cross-platform program for editing pictures.
|
||||
|
||||
## Setup
|
||||
|
||||
The GIMP program can be installed from files found on
|
||||
[the official website](https://www.gimp.org/downloads/).
|
||||
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
||||
package GIMP in the `gimp` package.
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of GIMP.
|
||||
|
||||
### Scale Image
|
||||
|
||||
An image that is already loaded into GIMP can easily be scaled down (or up) by selecting
|
||||
`Scale Image` under the `Image` tab.
|
||||
Alternatively the scale tool reachable via `Ctrl+S` can be used.
|
||||
72
wiki/hailo.md
Normal file
72
wiki/hailo.md
Normal file
@@ -0,0 +1,72 @@
|
||||
# Hailo
|
||||
|
||||
[Hailo](https://hailo.ai) produces AI accelerator chips which are used for deep learning.
|
||||
An example for a system that uses it is
|
||||
[Raspberry Pi's AI Hat +](/wiki/linux/raspberry_pi.md#ai-hat).
|
||||
|
||||
## Setup
|
||||
|
||||
Depending on the system and the type of access various things may have to be setup.
|
||||
For Ubuntu systems like the [Raspberry Pi](/wiki/linux/raspberry_pi.md) these are often named
|
||||
`hailort-pcie-driver` and `hailort`.
|
||||
When using the [Python prorgamming language](/wiki/programming_language/python.md) refer to the
|
||||
[Hailo section](/wiki/programming_language/python.md#hailo).
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses various usages of the Hailo software.
|
||||
|
||||
### Preparing TensorFlow Models for the AI HAT+
|
||||
|
||||
For [neural networks](/wiki/neural_network.md) to run on the Hailo AI module and the AI HAT+ they
|
||||
have to be converted to the `.hef` format.
|
||||
This section assumes the neural network is using
|
||||
[TensorFlow](/wiki/programming_language/python.md#tensorflow) and is available as a `.tf` or
|
||||
`.tflite` file.
|
||||
|
||||
To convert TensorFlow models first the Hailo 8 Software Suite needs to be downloaded.
|
||||
This can be done from the [official website](https://hailo.ai/developer-zone/software-downloads/)
|
||||
altough an account is needed for it.
|
||||
|
||||
After downloading, extracting and then navigating into the folder a heavily customized
|
||||
[Docker](/wiki/docker.md) container can be started by running the following command.
|
||||
However it is recommended to slightly modify this file.
|
||||
Add a volume that contains the TensorFlow model, that is to be converted, to the environment
|
||||
variable `DOCKER_ARGS` which is set in the file `hailo_ai_sw_suite_docker_run.sh`.
|
||||
|
||||
```sh
|
||||
./hailo_ai_sw_suite_docker_run.sh
|
||||
```
|
||||
|
||||
Using the tools which come in this container a `.tf` or `.tflite` model can be converted to the
|
||||
`.hef` format.
|
||||
|
||||
For this to work run the following commands inside the Docker container.
|
||||
The first command takes the path to the tensorflow model (`<path-to-tf-model>`) and will output a
|
||||
`.har` model.
|
||||
The second command is optional but recommended and takes the path to this `.har` model
|
||||
(`<path-to-har-model`) and returns an optimized `.har` model.
|
||||
The third and final command compiles the (optimized) `.har` model, which is given as the input, and
|
||||
outputs the final `.hre` model, which then can be used with the Hailo AI module.
|
||||
|
||||
```sh
|
||||
hailo parser tf <path-to-tf-model>
|
||||
hailo optimize --use-random-calib-set <path-to-har-model>
|
||||
hailo compiler <path-to-optimized-har-model>
|
||||
```
|
||||
|
||||
Note that the user in the Docker container usually uses anothr UID and GID.
|
||||
To make the volume and files accessible inside the container the IDs of the files in the volume
|
||||
should be changed accordingly - for example as shown in the following example.
|
||||
`<volume-path>` is the path that points to the volume
|
||||
`<uid>` is the UID of the Docker user - which can be found using `id -u` (for example `10642`) -
|
||||
and `<gid>` the GID of the Docker user - which can be found using `id -g` (for example `10600`).
|
||||
|
||||
```sh
|
||||
chown -R <uid>:<gid> <volume-path>
|
||||
```
|
||||
|
||||
After the models have been converted it can be reversed using the systems user UID and GID.
|
||||
|
||||
The converted models can than be run using the Python programming language as described in the
|
||||
[Python article](/wiki/programming_language/python.md#hailo).
|
||||
@@ -15,7 +15,7 @@ This entry also features medicinal image and visual formats such as DICOM.
|
||||
|
||||
Editing images can be done by various image manipulation software.
|
||||
|
||||
- [GIMP](https://www.gimp.org/) is a popular cross-platform program for editing pictures.
|
||||
- [GIMP](/wiki/gimp.md) is a popular cross-platform program for editing pictures.
|
||||
- [ImageMagick](/wiki/imagemagick.md) is another cross-platform software suite for creating and
|
||||
- editing (raster) images.
|
||||
- [upscayl](https://github.com/upscayl/upscayl) is an upscaler that can be used cross-platform.
|
||||
|
||||
24
wiki/kiwix.md
Normal file
24
wiki/kiwix.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Kiwix
|
||||
|
||||
[Kiwix](https://kiwix.org) is a open-source software that allows to save web content like Wikipedia
|
||||
or Stack Overflow locally and for offline usage.
|
||||
|
||||
## Setup
|
||||
|
||||
Kiwix is available for different operating systems and can be installed as described
|
||||
[on the official website](https://kiwix.org/en/applications).
|
||||
The software can also be setup via [Docker](/wiki/docker.md) with the
|
||||
[kiwix image](/wiki/docker/kiwix_-_kiwix-serve.md).
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of Kiwix.
|
||||
|
||||
### Download content
|
||||
|
||||
The content to display using Kiwix has to be acquired as a `.zim` file.
|
||||
The official collection of these files can be found on the
|
||||
[official website](https://library.kiwix.org/).
|
||||
For [Docker](/wiki/docker.md) the `.zim` files need to be placed accordingly to the
|
||||
[corresponding article](/wiki/docker/kiwix_-_kiwix-serve.md).
|
||||
After the downloading the files, Kiwix may have to be restarted.
|
||||
271
wiki/linux/bluez.html
Normal file
271
wiki/linux/bluez.html
Normal file
@@ -0,0 +1,271 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="generator" content="pandoc" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
|
||||
<title>bluez</title>
|
||||
<style>
|
||||
/* Default styles provided by pandoc.
|
||||
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
|
||||
*/
|
||||
html {
|
||||
color: #1a1a1a;
|
||||
background-color: #fdfdfd;
|
||||
}
|
||||
body {
|
||||
margin: 0 auto;
|
||||
max-width: 36em;
|
||||
padding-left: 50px;
|
||||
padding-right: 50px;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 50px;
|
||||
hyphens: auto;
|
||||
overflow-wrap: break-word;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-kerning: normal;
|
||||
}
|
||||
@media (max-width: 600px) {
|
||||
body {
|
||||
font-size: 0.9em;
|
||||
padding: 12px;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.8em;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
html {
|
||||
background-color: white;
|
||||
}
|
||||
body {
|
||||
background-color: transparent;
|
||||
color: black;
|
||||
font-size: 12pt;
|
||||
}
|
||||
p, h2, h3 {
|
||||
orphans: 3;
|
||||
widows: 3;
|
||||
}
|
||||
h2, h3, h4 {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
}
|
||||
p {
|
||||
margin: 1em 0;
|
||||
}
|
||||
a {
|
||||
color: #1a1a1a;
|
||||
}
|
||||
a:visited {
|
||||
color: #1a1a1a;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
svg {
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 1.4em;
|
||||
}
|
||||
h5, h6 {
|
||||
font-size: 1em;
|
||||
font-style: italic;
|
||||
}
|
||||
h6 {
|
||||
font-weight: normal;
|
||||
}
|
||||
ol, ul {
|
||||
padding-left: 1.7em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
li > ol, li > ul {
|
||||
margin-top: 0;
|
||||
}
|
||||
blockquote {
|
||||
margin: 1em 0 1em 1.7em;
|
||||
padding-left: 1em;
|
||||
border-left: 2px solid #e6e6e6;
|
||||
color: #606060;
|
||||
}
|
||||
code {
|
||||
font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
|
||||
font-size: 85%;
|
||||
margin: 0;
|
||||
hyphens: manual;
|
||||
}
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
overflow: auto;
|
||||
}
|
||||
pre code {
|
||||
padding: 0;
|
||||
overflow: visible;
|
||||
overflow-wrap: normal;
|
||||
}
|
||||
.sourceCode {
|
||||
background-color: transparent;
|
||||
overflow: visible;
|
||||
}
|
||||
hr {
|
||||
border: none;
|
||||
border-top: 1px solid #1a1a1a;
|
||||
height: 1px;
|
||||
margin: 1em 0;
|
||||
}
|
||||
table {
|
||||
margin: 1em 0;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
display: block;
|
||||
font-variant-numeric: lining-nums tabular-nums;
|
||||
}
|
||||
table caption {
|
||||
margin-bottom: 0.75em;
|
||||
}
|
||||
tbody {
|
||||
margin-top: 0.5em;
|
||||
border-top: 1px solid #1a1a1a;
|
||||
border-bottom: 1px solid #1a1a1a;
|
||||
}
|
||||
th {
|
||||
border-top: 1px solid #1a1a1a;
|
||||
padding: 0.25em 0.5em 0.25em 0.5em;
|
||||
}
|
||||
td {
|
||||
padding: 0.125em 0.5em 0.25em 0.5em;
|
||||
}
|
||||
header {
|
||||
margin-bottom: 4em;
|
||||
text-align: center;
|
||||
}
|
||||
#TOC li {
|
||||
list-style: none;
|
||||
}
|
||||
#TOC ul {
|
||||
padding-left: 1.3em;
|
||||
}
|
||||
#TOC > ul {
|
||||
padding-left: 0;
|
||||
}
|
||||
#TOC a:not(:hover) {
|
||||
text-decoration: none;
|
||||
}
|
||||
code{white-space: pre-wrap;}
|
||||
span.smallcaps{font-variant: small-caps;}
|
||||
div.columns{display: flex; gap: min(4vw, 1.5em);}
|
||||
div.column{flex: auto; overflow-x: auto;}
|
||||
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
|
||||
/* The extra [class] is a hack that increases specificity enough to
|
||||
override a similar rule in reveal.js */
|
||||
ul.task-list[class]{list-style: none;}
|
||||
ul.task-list li input[type="checkbox"] {
|
||||
font-size: inherit;
|
||||
width: 0.8em;
|
||||
margin: 0 0.8em 0.2em -1.6em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
|
||||
/* CSS for syntax highlighting */
|
||||
html { -webkit-text-size-adjust: 100%; }
|
||||
pre > code.sourceCode { white-space: pre; position: relative; }
|
||||
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
|
||||
pre > code.sourceCode > span:empty { height: 1.2em; }
|
||||
.sourceCode { overflow: visible; }
|
||||
code.sourceCode > span { color: inherit; text-decoration: inherit; }
|
||||
div.sourceCode { margin: 1em 0; }
|
||||
pre.sourceCode { margin: 0; }
|
||||
@media screen {
|
||||
div.sourceCode { overflow: auto; }
|
||||
}
|
||||
@media print {
|
||||
pre > code.sourceCode { white-space: pre-wrap; }
|
||||
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
|
||||
}
|
||||
pre.numberSource code
|
||||
{ counter-reset: source-line 0; }
|
||||
pre.numberSource code > span
|
||||
{ position: relative; left: -4em; counter-increment: source-line; }
|
||||
pre.numberSource code > span > a:first-child::before
|
||||
{ content: counter(source-line);
|
||||
position: relative; left: -1em; text-align: right; vertical-align: baseline;
|
||||
border: none; display: inline-block;
|
||||
-webkit-touch-callout: none; -webkit-user-select: none;
|
||||
-khtml-user-select: none; -moz-user-select: none;
|
||||
-ms-user-select: none; user-select: none;
|
||||
padding: 0 4px; width: 4em;
|
||||
color: #aaaaaa;
|
||||
}
|
||||
pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; }
|
||||
div.sourceCode
|
||||
{ }
|
||||
@media screen {
|
||||
pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; }
|
||||
}
|
||||
code span.al { color: #ff0000; font-weight: bold; } /* Alert */
|
||||
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
|
||||
code span.at { color: #7d9029; } /* Attribute */
|
||||
code span.bn { color: #40a070; } /* BaseN */
|
||||
code span.bu { color: #008000; } /* BuiltIn */
|
||||
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
|
||||
code span.ch { color: #4070a0; } /* Char */
|
||||
code span.cn { color: #880000; } /* Constant */
|
||||
code span.co { color: #60a0b0; font-style: italic; } /* Comment */
|
||||
code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */
|
||||
code span.do { color: #ba2121; font-style: italic; } /* Documentation */
|
||||
code span.dt { color: #902000; } /* DataType */
|
||||
code span.dv { color: #40a070; } /* DecVal */
|
||||
code span.er { color: #ff0000; font-weight: bold; } /* Error */
|
||||
code span.ex { } /* Extension */
|
||||
code span.fl { color: #40a070; } /* Float */
|
||||
code span.fu { color: #06287e; } /* Function */
|
||||
code span.im { color: #008000; font-weight: bold; } /* Import */
|
||||
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
|
||||
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
|
||||
code span.op { color: #666666; } /* Operator */
|
||||
code span.ot { color: #007020; } /* Other */
|
||||
code span.pp { color: #bc7a00; } /* Preprocessor */
|
||||
code span.sc { color: #4070a0; } /* SpecialChar */
|
||||
code span.ss { color: #bb6688; } /* SpecialString */
|
||||
code span.st { color: #4070a0; } /* String */
|
||||
code span.va { color: #19177c; } /* Variable */
|
||||
code span.vs { color: #4070a0; } /* VerbatimString */
|
||||
code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="bluez">BlueZ</h1>
|
||||
<p><a href="http://www.bluez.org/">BlueZ</a> is an implementation of the
|
||||
<a href="/wiki/bluetooth.md">Bluetooth</a> standard. This entry features
|
||||
the BlueZ package and all software that is based on it.</p>
|
||||
<h2 id="setup">Setup</h2>
|
||||
<p>On most <a href="/wiki/linux.md">Linux</a> distributions BlueZ can be
|
||||
installed with the <code>bluez</code> package. Additionally the
|
||||
<code>bluez-utils</code> package needs to be installed. To load the
|
||||
kernel module <code>modprobe btusb</code> needs to be run. Afterwards
|
||||
the <a
|
||||
href="/wiki/linux/systemd.md#startstopenabledisable-a-service">service</a>
|
||||
can be started and enabled by running the following commands.</p>
|
||||
<div class="sourceCode" id="cb1"><pre class="sourceCode sh"><code class="sourceCode bash"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="ex">systemctl</span> start bluetooth.service</span>
|
||||
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="ex">systemctl</span> enable bluetooth.service</span></code></pre></div>
|
||||
<h2 id="usage">Usage</h2>
|
||||
<p>The Bluetooth features can be managed by different types of
|
||||
front-ends.</p>
|
||||
<ul>
|
||||
<li><code>bluetoothctl</code> is a command-line interface included in
|
||||
the <code>bluez-utils</code> package</li>
|
||||
<li><code>bluetuith</code> can be used as a bluetooth manager with a <a
|
||||
href="/wiki/linux/system_console.md">terminal</a> user interface. It is
|
||||
included in a package of the same name, that needs to be installed
|
||||
before usage. Using <code>bluetuith</code> the <a
|
||||
href="/wiki/bluetooth.md">Bluetooth</a> can be turned on (or off) by
|
||||
pressing <code>o</code>, devices can be searched for by pressing
|
||||
<code>s</code>, a selected device can be paired by pressing
|
||||
<code>p</code> and finally connected by pressing <code>c</code> before
|
||||
<code>bluetuith</code> can be left with <code>Q</code>.</li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
||||
@@ -6,7 +6,7 @@ This entry features the BlueZ package and all software that is based on it.
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions BlueZ can be installed with the `bluez` package.
|
||||
On most [Linux](/wiki/linux.md) distributions BlueZ can be installed with the `bluez` package.
|
||||
Additionally the `bluez-utils` package needs to be installed.
|
||||
To load the kernel module `modprobe btusb` needs to be run.
|
||||
Afterwards the
|
||||
@@ -28,3 +28,6 @@ The Bluetooth features can be managed by different types of front-ends.
|
||||
[terminal](/wiki/linux/system_console.md) user interface.
|
||||
It is included in a package of the same name, that needs to be installed
|
||||
before usage.
|
||||
Using `bluetuith` the [Bluetooth](/wiki/bluetooth.md) can be turned on (or off) by pressing `o`,
|
||||
devices can be searched for by pressing `s`, a selected device can be paired by pressing `p` and
|
||||
finally connected by pressing `c` before `bluetuith` can be left with `Q`.
|
||||
|
||||
@@ -14,27 +14,26 @@ The size of a swap file can easily be increased using the following steps.
|
||||
Using the following commands currently active swaps can be shown and the usage of them can be
|
||||
checked.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
swapon --show
|
||||
free -h
|
||||
free -h
|
||||
```
|
||||
|
||||
Then the swap file can be changed using the following commands.
|
||||
`<location>` is the location of the swap file (for example `/swap.img`).
|
||||
`<size>` describes the new size of the swap file (for example `16G`)
|
||||
|
||||
|
||||
```sh
|
||||
```sh
|
||||
swapoff <location>
|
||||
fallocate -l <size> <location>
|
||||
chmod 600 <location>
|
||||
mkswap <location>
|
||||
swapon <location>
|
||||
fallocate -l <size> <location>
|
||||
chmod 600 <location>
|
||||
mkswap <location>
|
||||
swapon <location>
|
||||
```
|
||||
|
||||
Finally the swap can be checked again to confirm that it is online and has the correct size
|
||||
|
||||
```sh
|
||||
```sh
|
||||
swapon --show
|
||||
```
|
||||
|
||||
@@ -45,14 +44,14 @@ The following command will create a file on the target drive and show the data t
|
||||
writing.
|
||||
In the following case `/mnt/usb1/tmp` is the path of the target file.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
cat /dev/zero | pv > /mnt/usb1/tmp
|
||||
```
|
||||
|
||||
After this the read speed can be checked by using the just created temporary file.
|
||||
The following command will display the read speed.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
cat /mnt/usb1/tmp | pv > /dev/zero
|
||||
```
|
||||
|
||||
@@ -126,10 +125,10 @@ In the following it is assumed that the partition to enlarge is `/dev/sda2`
|
||||
|
||||
- change the size of the partition with `parted /dev/sda`
|
||||
- inside of parted run `print free` and check where the free space after your
|
||||
partition ends
|
||||
partition ends
|
||||
- run `resizepart` and follow the instructions; End is the number you checked in
|
||||
the last step (alternatively you can insert `100%` as end, if you want to add all
|
||||
the available free space to the partition)
|
||||
the last step (alternatively you can insert `100%` as end, if you want to add all
|
||||
the available free space to the partition)
|
||||
- `quit` parted
|
||||
|
||||
Afterwards the file system need to be resized as described in a
|
||||
@@ -176,12 +175,25 @@ The following list shows some options to quickly clean up space.
|
||||
- [Package Mangers](/wiki/linux/package_manager.md)
|
||||
- [ViFM Trash Bin](/wiki/linux/vifm.md#empty-trash)
|
||||
|
||||
## Accessing Disks as User
|
||||
|
||||
Sometimes - for example when flashing an SD card for a
|
||||
[Raspberry Pi](/wiki/linux/raspberry_pi.md#setup) - it may be useful to do so with your default
|
||||
user and not using the root user.
|
||||
For this to work the user can be added to the `disk` group permanently.
|
||||
Please note that this however reduces the systems security.
|
||||
A command to do so, may look like the following (given the `$USER` variable is set correctly).
|
||||
|
||||
```sh
|
||||
usermod -a -G disk $USER
|
||||
```
|
||||
|
||||
## Error solving
|
||||
|
||||
This section addresses various problems that can occur and are related to
|
||||
disk-management.
|
||||
|
||||
### sudo: unable to open ... Read-only file system
|
||||
### `sudo: unable to open ... Read-only file system`
|
||||
|
||||
Ususally the filesystem will go into read-only mode whe the system is running
|
||||
and there is a consistency error.
|
||||
@@ -193,7 +205,7 @@ To fix it run:
|
||||
you may want to try using the ext4-specific fsck:
|
||||
- `fsck.ext4 -f /dev/sda1`
|
||||
|
||||
### cannot access: Transport endpoint is not connected
|
||||
### `cannot access: Transport endpoint is not connected`
|
||||
|
||||
This error message can occur if a mounted directory is left mounted due to a
|
||||
crash of the filesystem but not accessible anymore.
|
||||
|
||||
@@ -12,7 +12,41 @@ Another possible tagging software is [MusicBrainz Picard](../picard.md)
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of the flac package.
|
||||
|
||||
### Splitting Flac file according to cue file
|
||||
|
||||
`shnsplit` can be used to split flac files.
|
||||
In the [shnsplit article](/wiki/linux/shntool.md) an explanation on this is given.
|
||||
|
||||
### Compress or Recompress `.wav` and `.flac` files
|
||||
|
||||
`.flac` and `.wav` files can be compressed with the following command.
|
||||
In this `<wav-flac-file>` is the path to the music file but can also use wildcards (for example
|
||||
`*.wav`).
|
||||
`<compression>` is the compression rate.
|
||||
The highest compression preset is `8`.
|
||||
|
||||
```sh
|
||||
flac -<compression> <wav-flac-file>
|
||||
```
|
||||
|
||||
When recompressing `.flac` files the file does not have to be decoded to encode it again but can be
|
||||
recompressed in one command.
|
||||
|
||||
According to a
|
||||
[Reddit comment by berdmayne](https://www.reddit.com/r/foobar2000/comments1m3634l/best_way_to_reduce_flac_file_size_without_losing)
|
||||
the compression rates of the different levels are the following.
|
||||
|
||||
| Level | Saving to level 0 | Saving to previous level |
|
||||
| ---------------- | ------------------- | ------------------------ |
|
||||
| 0 (uncompressed) | 0.0% | |
|
||||
| 1 | 0.5% | 0.5% |
|
||||
| 2 | 0.9% | 0.4% |
|
||||
| 3 | 5.3% | 4.4% |
|
||||
| 4 | 6.0% | 0.7% |
|
||||
| 5 | 6.4% | 0.4% |
|
||||
| 6 | 6.7% | 0.4% |
|
||||
| 7 | 6.9% | 0.2% |
|
||||
| 8 | 7.0% | 0.1% |
|
||||
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
# Khard
|
||||
|
||||
[Khard](https://github.com/lucc/khard) is a adressbook that runs in your
|
||||
[Khard](https://github.com/lucc/khard) is an address book that runs in your
|
||||
[terminal](/wiki/linux/system_console.md).
|
||||
You can sync it with [vdirsyncer](vdirsyncer.md).
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions Khal can be installed with the `khard` package.
|
||||
On most [Linux](/wiki/linux.md) distributions Khal can be installed with the `khard` package.
|
||||
Alternatively it can be installed via [GitHub](https://github.com/lucc/khard).
|
||||
|
||||
### Configuration
|
||||
|
||||
- Add and configure a config for khard
|
||||
- Add and configure a config for Khard
|
||||
- `mkdir ~/.config/khard` - add a directory for the config
|
||||
- `cp /usr/share/doc/khard/khard.conf.example ~/.config/khard/khard.conf` -
|
||||
Copy the example configuration
|
||||
@@ -19,5 +19,5 @@ Alternatively it can be installed via [GitHub](https://github.com/lucc/khard).
|
||||
|
||||
#### Mutt
|
||||
|
||||
It is possible to use your khard-addressbook in mutt.
|
||||
To see how it works check out the [Mutt](/#application/neomutt.md).
|
||||
It is possible to use your Khard address book in mutt.
|
||||
To see how it works check out the [Mutt](/wiki/linux/neomutt.md).
|
||||
|
||||
@@ -32,3 +32,19 @@ In `nvidia-settings` under
|
||||
`X Server Display Configuration` select your display and click on `Advanced`
|
||||
and select either `Force Composition Timeline` or
|
||||
`Force Full Composition Timeline`.
|
||||
|
||||
### Pascal-GPUs and New Drivers
|
||||
|
||||
On some operating systems like [Arch Linux](/wiki/linux/arch-linux.md) the newer versions of
|
||||
drivers are not compatible with Pascal GPUs anymore as explained in
|
||||
[the german Arch forum](https://www.archlinux.de/news/35689-Nvidia-Treiber-ab-Version-590-stellen-den-Support-fuer-Pascal-GPUs-ein).
|
||||
This is due to the drop of support for these cards from Nvidias site.
|
||||
If Pascal-GPUs are still used some minor changes need to be performed and some packets need to be
|
||||
replaced.
|
||||
On Arch Linux-based systems this can be achieved by replacing the packages `nvidia-open` and
|
||||
`nvidia-open-utils` with `nvidia-580xx-dkms`, `nvidia-580xx-utils` and `lib32-nvidia-580xx-utils`.
|
||||
If upgrading from a Pascal-GPU to a newer version this change needs to be undone.
|
||||
|
||||
After the packages are changed it is important to
|
||||
[rebuild the initial ramdisk](/wiki/linux/mkinitcpio.md#manually-generate-initial-ramdisk) and
|
||||
reboot the system.
|
||||
|
||||
@@ -335,3 +335,16 @@ To update the package either way the following command can be used.
|
||||
```sh
|
||||
sudo pacman -S --overwrite "*" <package name>
|
||||
```
|
||||
|
||||
### Error `error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format`
|
||||
|
||||
If the error `error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format`
|
||||
or a similar one with another database file is thrown it can mostly be easily fixed by removing the
|
||||
database file with the following command.
|
||||
|
||||
```txt
|
||||
rm -rf /var/lib/pacman/sync/*
|
||||
```
|
||||
|
||||
Alternatively - and this is probably a bit safer - the files can be temporarily be moved somewhere
|
||||
else and removed after confirming the error was fixed.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[Papis](/wiki/linux/papis.md) is a [command-line based](/wiki/linux/shell.md) for
|
||||
[Linux](/wiki/linux.md) [bibliography manager](/wiki/bibliographic_software.md) that can be used
|
||||
for LaTeX using the BibTeX format.
|
||||
for [LaTeX](/wiki/markup_language.md#latex) using the BibTeX format.
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[PlayerCTL](https://github.com/altdesktop/playerctl) is a MPRIS (Media Player
|
||||
Remote Interfacing Specification) [media player](/wiki/audio.md#media-software)
|
||||
command-line controller for Spotify, [Sonixd](/wiki/subsonic.md#client), MPV and
|
||||
many other different media clients aswell as [browser](/wiki/browser.md).
|
||||
many other different media clients aswell as [browser](/wiki/web_browser.md).
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
@@ -2,6 +2,29 @@
|
||||
|
||||
A [Rapberry Pi](https://www.raspberrypi.com) is a single board comuter.
|
||||
|
||||
## Setup
|
||||
|
||||
For setting up a classic Raspberry Pi an SD card is needed that contains the operating system.
|
||||
|
||||
For this an image has to be flashed.
|
||||
The images of the operating systems can be found on the
|
||||
[official website](https://www.raspberrypi.com/software/operating-systems).
|
||||
A command to flash may look similar to the following example, where `<img-path>` is the path to the
|
||||
image and `<disk-path>` is the path to the device to flash to (for example `/dev/sdb1`).
|
||||
|
||||
```sh
|
||||
dd if=<img-path> of=<disk-path> status=progress
|
||||
```
|
||||
|
||||
This however can also be done using the Raspberry Pi imager - which most
|
||||
[package managers](/wiki/linux/package_manager.md) package under `rpi-mager`.
|
||||
It too can also be found on the [official website](https://www.raspberrypi.com/software).
|
||||
When using the imager as a non-root user this user may have to be given rights to access disks or
|
||||
at least the SD card as described in the
|
||||
[corresponding article](/wiki/linux/disk-management.md#accessing-disks-as-user).
|
||||
|
||||
The setup using the imager is guided and easier.
|
||||
|
||||
## Hardware Additions
|
||||
|
||||
There are various hardware additions which can be used with the Raspberry Pi.
|
||||
@@ -10,49 +33,15 @@ This section addresses them.
|
||||
### AI HAT+
|
||||
|
||||
The [AI HAT](https://www.raspberrypi.com/documentation/accessories/ai-hat-plus.html) is an
|
||||
extension which uses the Hailo AI module for use with the [Raspberry Pi
|
||||
5](https://www.raspberrypi.com/products/raspberry-pi-5).
|
||||
extension which uses the [Hailo AI module](/wiki/hailo.md) for use with the
|
||||
[Raspberry Pi 5](https://www.raspberrypi.com/products/raspberry-pi-5).
|
||||
|
||||
#### AI HAT+ Usage
|
||||
## Troubleshooting
|
||||
|
||||
This section addresses the usage of the
|
||||
[AI HAT](https://www.raspberrypi.com/documentation/accessories/ai-hat-plus.html).
|
||||
This section addresses the usage of Raspberry Pi systems.
|
||||
|
||||
#### Preparing TensorFlow Models for the AI HAT+
|
||||
### SSH Servera Not Starting for Imager Setups
|
||||
|
||||
For neural networks to run on the Hailo AI module and the AI HAT+ they have to be converted to the
|
||||
`.hef` format.
|
||||
This section assumes the neural network is using
|
||||
[TensorFlow](/wiki/programming_language/python.md#tensorflow) and is available as a `.tf` or
|
||||
`.tflite` file.
|
||||
|
||||
To convert TensorFlow models first the Hailo 8 Software Suite needs to be downloaded.
|
||||
This can be done from the [official website](https://hailo.ai/developer-zone/software-downloads/)
|
||||
altough an account is needed for it.
|
||||
|
||||
After downloading, extracting and then navigating into the folder a heavily customized
|
||||
[Docker](/wiki/docker.md) container can be started by running the following command.
|
||||
However it is recommended to slightly modify this file.
|
||||
Add a volume that contains the TensorFlow model, that is to be converted, to the environment
|
||||
variable `DOCKER_ARGS` which is set in the file `hailo_ai_sw_suite_docker_run.sh`.
|
||||
|
||||
```sh
|
||||
./hailo_ai_sw_suite_docker_run.sh
|
||||
```
|
||||
|
||||
Using the tools which come in this container a `.tf` or `.tflite` model can be converted to the
|
||||
`.hef` format.
|
||||
|
||||
For this to work run the following commands inside the Docker container.
|
||||
The first command takes the path to the tensorflow model (`<path-to-tf-model>`) and will output a
|
||||
`.har` model.
|
||||
The second command is optional but recommended and takes the path to this `.har` model
|
||||
(`<path-to-har-model`) and returns an optimized `.har` model.
|
||||
The third and final command compiles the (optimized) `.har` model, which is given as the input, and
|
||||
outputs the final `.hre` model, which then can be used with the Hailo AI module.
|
||||
|
||||
```sh
|
||||
hailo parser tf <path-to-tf-model>
|
||||
hailo optimize --use-random-calib-set <path-to-har-model>
|
||||
hailo compiler <path-to-optimized-har-model>
|
||||
```
|
||||
Sometimes the [imager](#setup) can run into errors which does not set up the
|
||||
[SSH](/wiki/linux/openssh.md) server on the Pi correctly.
|
||||
In this case the SSH server needs to be started manually by display and keyboard.
|
||||
|
||||
@@ -8,6 +8,9 @@ Notable works of Suckless are the following.
|
||||
- [ii](https://tools.suckless.org/ii/) is an IRC client
|
||||
- [slock](https://tools.suckless.org/slock/) is a screen locker
|
||||
- [st](https://st.suckless.org/) is a [terminal](/wiki/linux/system_console.md)
|
||||
- [dwl](https://codeberg.org/dwl/dwl) is a window manager similar to dwm that can be used on
|
||||
[Wayland](/wiki/linux/wayland.md) systems.
|
||||
For the IPC-patch [dwlmsg](https://codeberg.org/notchoc/dwlmsg) can also be used.
|
||||
|
||||
Additionally to this Suckless maintains a list of free and open-source software that is endorsed by
|
||||
Suckless.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
# TLP
|
||||
|
||||
[TLP](https://linrunner.de/tlp) is a linux command line utility for
|
||||
[saving laptop battery power](/wiki/linux/battery_saving.md) aswell as optimizing battery life.
|
||||
[TLP](https://linrunner.de/tlp) is a [Linux command](/wiki/linux.md) line utility for
|
||||
[saving laptop battery power](/wiki/linux/hardware_%28linux%29.md#power-management) as well as
|
||||
optimizing battery life.
|
||||
|
||||
## Setup
|
||||
|
||||
TLP can be installed on most distributions by installing the `tlp` package.
|
||||
Additionally the installation of `tlp-rdw` is recommended, which is used to get better control over
|
||||
Additionally, the installation of `tlp-rdw` is recommended, which is used to get better control over
|
||||
radio devices.
|
||||
Afterwards the TLP
|
||||
[service](/wiki/linux/systemd.md#startstopenabledisable-a-service) needs to be
|
||||
Afterward the TLP [service](/wiki/linux/systemd.md#startstopenabledisable-a-service) needs to be
|
||||
started and enabled.
|
||||
In contrast to other
|
||||
[SystemD services](/wiki/linux/systemd.md#startstopenabledisable-a-service) this
|
||||
|
||||
@@ -23,14 +23,14 @@ One of them is `slock` by [suckless](/wiki/linux/suckless.md).
|
||||
This will stand in as a screen locker for this section.
|
||||
The screen can be run by simply running the following command.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
slock
|
||||
```
|
||||
|
||||
By default this will not be run automatically when the computer goes into sleep.
|
||||
This can be changed by installing and using `xss-lock` like the following example shows.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
xss-lock -- slock &
|
||||
```
|
||||
|
||||
@@ -74,7 +74,7 @@ can be used that uses `synclient TouchpadOff=1` or `synclient TouchpadOff=0`.
|
||||
This requires `xf86-input-synaptics` which is a synaptics driver for
|
||||
notebook touchpads.
|
||||
|
||||
##### Enable Tap to Click
|
||||
##### Enable Tap to Click
|
||||
|
||||
On Touchpads the tap to click option can be enabled by adding the following lines to the config
|
||||
file `/etc/X11/xorg.conf.d/99-synaptics-overrides.conf`.
|
||||
@@ -108,6 +108,25 @@ setxkbmap -query | grep -q '<layout 1>' && setxkbmap <layout 2> || setxkbmap <la
|
||||
Using [SXHKD](/wiki/linux/sxhkd.md) a hotkey can be setup to seamlessly transition between the two
|
||||
layouts.
|
||||
|
||||
##### Write Diacritics and Ligatures
|
||||
|
||||
In many languages there are ligatures (for example `œ`) and diacritics (for example `ç`).
|
||||
An easy way to write them is by using the compose button.
|
||||
Using the compose button these special symbols can be composed from their parts.
|
||||
The `ç` can be written by chaining compose with `,` and `c`.
|
||||
The `œ` can be written by chaining compose with `o` and `e`.
|
||||
There are many other diacritics and ligatures that can be written this way.
|
||||
|
||||
To temporarily set up a compose key the following command can be used.
|
||||
It will set the given key `<compose>` (for example the right control key with `rctrl`) to act as
|
||||
the compose key when tapped.
|
||||
`<layout>` specifies the layout of the keymap (for example german with `de`).
|
||||
If it is omitted the english `en` layout will be set.
|
||||
|
||||
```sh
|
||||
setxkbmap -layout <layout> -option compose:<compose>
|
||||
```
|
||||
|
||||
#### Display
|
||||
|
||||
This section describes the handling of displays by X.
|
||||
@@ -135,7 +154,7 @@ EndSection
|
||||
This can be disabled temporarily by running `xset s off`.
|
||||
The screen can also be turned off instantly with the command `xset dpms force off`.
|
||||
|
||||
If `OffTime` does not work add the following to the file `/etc/X11/xorg.conf.d/dpms.conf.
|
||||
If `OffTime` does not work add the following to the file `/etc/X11/xorg.conf.d/dpms.conf`.
|
||||
|
||||
```txt
|
||||
Section "ServerFlags"
|
||||
@@ -147,8 +166,8 @@ Another option to do this is by using the command `xset`.
|
||||
An example for this are the follwing commands which will enable the screensaver to act upon 10
|
||||
minutes of inactivity.
|
||||
|
||||
```sh
|
||||
xset s on
|
||||
```sh
|
||||
xset s on
|
||||
xset s 600
|
||||
```
|
||||
|
||||
@@ -236,7 +255,7 @@ an [Arch Linux](/wiki/linux/arch-linux.md)
|
||||
[forum post](https://bbs.archlinux.org/viewtopic.php?id=294808).
|
||||
To fix this you can run the following commands to temporarily make the file picker work.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
systemctl --user import-environment DISPLAY XAUTHORITY
|
||||
systemctl --user restart xdg-desktop-portal
|
||||
```
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
[LTeX](https://valentjn.github.io/ltex/index.html) is an offline grammar checking tool that can use
|
||||
the Language Server Protocol - short LSP.
|
||||
It is supports various [Markup languages](/wiki/markup_language.md) like LaTeX and Markdown.
|
||||
It is supports various [Markup languages](/wiki/markup_language.md) like
|
||||
[LaTeX](/wiki/markup_language.md#latex) and Markdown.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -48,8 +49,8 @@ onwards.
|
||||
```
|
||||
|
||||
However this can be difficult when only using a few words.
|
||||
Another easy and generally recommended way to change the language inside LaTeX documents is using
|
||||
the babel package.
|
||||
Another easy and generally recommended way to change the language inside
|
||||
[LaTeX](/wiki/markup_language.md#latex) documents is using the babel package.
|
||||
In the following examples `<language>` is the language indicator that babel uses (for example
|
||||
`english`, `american`, `ngerman`).
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Markup Language
|
||||
|
||||
A markup Language is way to encode text so that it has great amounts of structure and formatting.
|
||||
The most common markup languages are [HTML](#html), Markdown, LaTeX and [XML](#xml).
|
||||
The most common markup languages are [HTML](#html), Markdown, [LaTeX](#latex) and [XML](#xml).
|
||||
Markup languages can be used for [note-taking](/wiki/note-taking.md).
|
||||
Adding to normal markdown files, there are also `.mdx` files which allows the usage of JavaScripts
|
||||
JSX in the markdown content for displaying charts and more.
|
||||
@@ -28,3 +28,32 @@ One of the most used ones is the
|
||||
### XML
|
||||
|
||||
XML is a markup language often used together with [RSS Feeds](/wiki/rss.md).
|
||||
|
||||
### LaTeX
|
||||
|
||||
LaTeX provides a high-level, descriptive markup language.
|
||||
It is mostly used in the scientific community but can be used for many things and as an alternative
|
||||
to [Microsoft Word](/wiki/office_suite.md#programs).
|
||||
|
||||
LaTeX also features many different packages.
|
||||
The following list contains some examples of it.
|
||||
|
||||
- [ZUGFeRD](https://ctan.org/pkg/zugferd) is a package for creating invoices.
|
||||
- [Awesome-CV](https://github.com/posquit0/Awesome-CV) is a package for creating job applications.
|
||||
|
||||
#### Usage
|
||||
|
||||
This section addresses the usage of LaTeX.
|
||||
|
||||
##### Set Background Color
|
||||
|
||||
The background color can be set using the `xcolor` package and the `\pagecolor` command.
|
||||
The following lines show a working example where the background color is set to the hexadecimal
|
||||
color `<hexcol>`.
|
||||
This needs to be changed (for example to `E0D6C0` for a parchment like color).
|
||||
|
||||
```tex
|
||||
\usepackage{xcolor}
|
||||
\definecolor{background}{HTML}{<hexcol>}
|
||||
\pagecolor{background}
|
||||
```
|
||||
|
||||
@@ -6,26 +6,26 @@ needed.
|
||||
|
||||
## Setting Up a Meshtastic Node
|
||||
|
||||
To setup a Meshtastic Node a device that is capable of communicating via LoRa is needed.
|
||||
To set up a Meshtastic Node a device that is capable of communicating via LoRa is needed.
|
||||
Often used devices are [microcontrollers](/wiki/microcontroller.md) based on the
|
||||
[ESP32-chip](/wiki/microcontroller.md#esp32) like the LILYGO TTGO T-BEAM or the Heltec V3, devices
|
||||
based on the nRF52-chip like the RAK4631 and the LILYGO TTGO T-Echo or devices based on the
|
||||
RP2040-chip like the [Raspberry Pi](/wiki/linux/raspberry_pi.md) Pico or the RAK11310 are needed.
|
||||
|
||||
After the device acquisition the meshtastic firmware needs to be flashed on the device.
|
||||
After the device acquisition the Meshtastic firmware needs to be flashed on the device.
|
||||
This can be done using the [official Meshtastic Web Flasher](https://flasher.meshtastic.org/).
|
||||
After selection of the device and the firmware the flashing process can be started.
|
||||
The flasher works especially well on [Chrome-based Browsers](/wiki/web_browser.md).
|
||||
|
||||
The firmware can also be flashed using the command line.
|
||||
To first check if the device is connected correctly the
|
||||
[Python-package](/wiki/programming-languages/python.md) `esptool` can be used which can be
|
||||
To first check if the device is connected correctly the
|
||||
[Python-package](/wiki/programming_language/python.md) `esptool` can be used which can be
|
||||
installed using [pip](/wiki/programming-languages/python.md#modules).
|
||||
Some [package managers](/wiki/linux/package_manager.md) of
|
||||
[Linux-based operating systems](/wiki/linux.md) also feature a standalone `esptool` package.
|
||||
The following command will output the chip of the device connected.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
esptool chip_id
|
||||
```
|
||||
|
||||
@@ -33,7 +33,7 @@ Please note that on Linux sometimes the command varies a bit.
|
||||
`esptool.py chip_id` is also common depending on the used distribution.
|
||||
Because the command needs hardware access it also is possible that `sudo`-rights are needed.
|
||||
|
||||
After confirming that the device is recognized by esptool the flashing can be achieved by
|
||||
After confirming that the device is recognized by ESPTool the flashing can be achieved by
|
||||
downloading the firmware that corresponds with the selected device and running the
|
||||
`device-install.sh` (for Linux and Mac) or the `device-install.bat` script (for
|
||||
[Windows](/wiki/windows.md)).
|
||||
@@ -42,17 +42,17 @@ The firmware can be downloaded from the [official website](https://meshtastic.or
|
||||
[the GitHub page of the project](https://github.com/meshtastic/firmware/releases).
|
||||
Make sure to select the firmware (starting with `firmware-`) `zip`-archive that corresponds with
|
||||
your target device.
|
||||
Afterwards unzip it and run one of the following commands depending on your operating system.
|
||||
Afterward unzip it and run one of the following commands depending on your operating system.
|
||||
Make sure to adjust `<Board>` and `<Version>` accordingly.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
./device-install.sh -f firmware-<Board>-<Version>.bin
|
||||
device-install.bat -f firmware-<Board>-<Version>.bin
|
||||
```
|
||||
|
||||
To update a device to a newer firmware version one of the following commands can be used.
|
||||
|
||||
```sh
|
||||
```sh
|
||||
./device-update.sh -f firmware-<Board>-<Version>-update.bin
|
||||
./device-update.bat -f firmware-<Board>-<Version>-update.bin
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
32
wiki/neural_network.md
Normal file
32
wiki/neural_network.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# Neural Network
|
||||
|
||||
A neural network - often shortened to NN - is a computational model which is part of so called
|
||||
artificial intelligence.
|
||||
|
||||
## Useful Tools
|
||||
|
||||
There are some useful tools to use with neural networks.
|
||||
|
||||
- [Netron](https://github.com/lutzroeder/netron) is a open-source and self-hostable tool to
|
||||
visualize neural networks.
|
||||
It is also easily available from the [official website](https://netron.app/).
|
||||
|
||||
## Frameworks
|
||||
|
||||
The following is a list of frameworks to design or run neural networks.
|
||||
|
||||
- [PyTorch](/wiki/programming_language/python.md#pytorch)
|
||||
- [Tensorflow](/wiki/programming_language/python.md#tensorflow)
|
||||
|
||||
## Neural Network Accelerators
|
||||
|
||||
Neural network accelerators are devices to run neural networks by inference.
|
||||
The following is a list of possible devices.
|
||||
|
||||
- [Raspberry Pi AI Hat+](/wiki/linux/raspberry_pi.md#ai-hat) is a standalone accelerator which
|
||||
directly attaches to a [Raspberry Pi](/wiki/linux/raspberry_pi.md) via the GPIO header.
|
||||
- [ESP32S3](/wiki/microcontroller.md#esp32) is a self-contained microcontroller by Seeed with
|
||||
integrated AI acceleration.
|
||||
It does not need an external connection and is especially useful when a small form-factor is
|
||||
needed.
|
||||
- Google Coral Edge TPU is a USB-connected accelerator that is not embedded in the host system.
|
||||
@@ -10,6 +10,7 @@ The following list shows various ways of digital note-taking.
|
||||
- [saber](https://github.com/saber-notes/saber) is a cross-platform app - available for
|
||||
[Android](/wiki/android.md), [Windows](/wiki/windows.md), MacOS and [Linux](/wiki/linux.md).
|
||||
It is mainly used for handwriting notes and annotating PDFs and images.
|
||||
- [Markup](/wiki/markup_language.md) languages like Markdown or LaTeX can be used to type notes.
|
||||
- [Markup](/wiki/markup_language.md) languages like Markdown or
|
||||
[LaTeX](/wiki/markup_language.md#latex) can be used to type notes.
|
||||
An easy template that combines the simplicity of Markdown and the features of LaTeX is
|
||||
[the Eisvogel Panoc-Latex-Template](https://github.com/Wandmalfarbe/pandoc-latex-template).
|
||||
|
||||
@@ -10,7 +10,8 @@ This section focusses on the usage of Pandoc.
|
||||
### Converting MS Word to LaTeX
|
||||
|
||||
By using the following command a proprietary Microsoft Word document (named `input.docx` in this
|
||||
example) can be converted to a file in LaTeX-Format (in this example named `output.tex`).
|
||||
example) can be converted to a file in [LaTeX](/wiki/markup_language.md#latex)-Format (in this
|
||||
example named `output.tex`).
|
||||
|
||||
```sh
|
||||
pandoc input.docx -o output.tex
|
||||
|
||||
@@ -11,7 +11,7 @@ The following is a list of these tools.
|
||||
It can be used on dual screen setup to give the presenter an additional slide for comments.
|
||||
- PDF files can easily be used for presenting cross-platform but often used for
|
||||
[Linux-based operating systems](/wiki/linux.md).
|
||||
They can easily be generated by LaTeX.
|
||||
They can easily be generated by [LaTeX](/wiki/markup_language.md#latex).
|
||||
- [pympress](https://github.com/Cimbali/pympress) is a cross-platform tool for the presentation via
|
||||
PDF files.
|
||||
It is also usable for dual screen setups.
|
||||
|
||||
@@ -8,3 +8,39 @@ language.
|
||||
You can install nim using choosenim with
|
||||
`curl https://nim-lang.org/choosenim/init.sh -sSf | sh`.
|
||||
If you're on an arch-based machine you can also run `yay -S choosenim` (install `yay` if necessary).
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of Nim.
|
||||
|
||||
### Use Python Packages
|
||||
|
||||
[Python modules](/wiki/programming_language/python.md#modules) can easily be used in Nim using the
|
||||
module [nimpy](#nimpy).
|
||||
|
||||
## Modules
|
||||
|
||||
There are various modules for Nim.
|
||||
As package manager `nimble` is used most of the time.
|
||||
|
||||
This section addresses various different modules.
|
||||
|
||||
### Arraymancer
|
||||
|
||||
[Arraymancer](https://github.com/mratsim/Arraymancer) is a tensor library for Nim which can be used
|
||||
to run deep learning on CPUs, GPUs and embedded devices.
|
||||
|
||||
### nimpy
|
||||
|
||||
[nimpy](https://github.com/yglukhov/nimpy) is a [Python](/wiki/programming_language/python.md)
|
||||
bridge for the Nim programming languages.
|
||||
With it [Python modules](/wiki/programming_language/python.md#modules) can be used easily inside
|
||||
Nim.
|
||||
|
||||
### SciNim
|
||||
|
||||
[SciNim](https://github.com/SciNim) is a collection of modules more than a single one.
|
||||
It features various tools for scientific purposes from curve fitting to data visualization.
|
||||
|
||||
An overview of it can be achieved on the
|
||||
[getting-started repository](https://github.com/SciNim/getting-started/blob/main/book/overview/index.md).
|
||||
|
||||
@@ -96,7 +96,7 @@ Using `md` in the `--to` option the notebook can also be converted to a
|
||||
[markdown](/wiki/markup_language.md) file and back.
|
||||
|
||||
Alternatively [notedown](https://pypi.org/project/notedown/) can also convert to markdown using the
|
||||
following commands.
|
||||
following commands.
|
||||
`<output-file>` is the path to the output file again without the extension.
|
||||
|
||||
```sh
|
||||
@@ -147,7 +147,7 @@ directory.
|
||||
|
||||
## Modules
|
||||
|
||||
There are various modules and package managers to install these for python like
|
||||
There are various modules and package managers to install these for Python like
|
||||
`pip`.
|
||||
For this usually a virtual environment is needed - as it is described in
|
||||
[the setup section](#setup).
|
||||
@@ -159,9 +159,13 @@ If it doesnt work the packages can be installed globally using `pip` together wi
|
||||
`--break-system-packages` flag.
|
||||
This flag is to be used with care.
|
||||
|
||||
This section addresses various different modules.
|
||||
|
||||
### PyTorch
|
||||
|
||||
This section addresses the [PyTorch module](https://pytorch.org/).
|
||||
Pytorch is a machine learning resource which is often used for
|
||||
[neural networks](/wiki/neural_network.md).
|
||||
|
||||
#### Setup Pytorch with Cuda for GPU usage
|
||||
|
||||
@@ -187,9 +191,27 @@ torch.cuda.is_available()
|
||||
|
||||
This should give back `True`.
|
||||
|
||||
### Hailo
|
||||
|
||||
The package for [Hailo chips](/wiki/hailo.md) has to be downloaded from the
|
||||
[official website](https://hailo.ai/developer-zone/software-downloads).
|
||||
Additionally additional setup may be required as explained in the
|
||||
[Hailo article](/wiki/hailo.md#setup)
|
||||
|
||||
Hailo chips can be used to run converted [TensorFlow](#tensorflow) models.
|
||||
The conversion process is explained in the
|
||||
[Hailo article](/wiki/hailo.md#preparing-tensorflow-models-for-the-ai-hat)
|
||||
|
||||
To run the inference using Python on ARM boards like the
|
||||
[Raspberry Pi AI Hat +](/wiki/linux/raspberry_pi.md#ai-hat)
|
||||
[zlodeibaal's article in Medium](https://medium.com/@zlodeibaal/how-to-run-hailo-on-arm-boards-d2ad599311fa)
|
||||
can be referenced.
|
||||
|
||||
### TensorFlow
|
||||
|
||||
This section addresses the [TensorFlow module](https://www.tensorflow.org/).
|
||||
Tensorflos is a machine learning resource which is often used for
|
||||
[neural networks](/wiki/neural_network.md).
|
||||
|
||||
#### Basic Usage of TensorFlow
|
||||
|
||||
@@ -200,3 +222,18 @@ Additionally it is noted that the dataset may have to be shuffled manually as de
|
||||
Finally
|
||||
[a Medium blog post](https://medium.com/@danielonugha0/how-to-change-the-learning-rate-of-tensorflow-b5d854819050)
|
||||
describes how to easily change the learning rate.
|
||||
|
||||
#### Combining Models
|
||||
|
||||
Models that are normally run in sequence but trained and saved separately can be easily be combined
|
||||
into a single model.
|
||||
This can have some advantages, for example when using inteference for deep learning on Edge TPUs
|
||||
like the [Hailo chips](/wiki/hailo.md) or the [EPS32S3](/wiki/microcontroller.md#esp32).
|
||||
|
||||
A simple example for the combination of two models (`model1` and `model2`) into a new model
|
||||
(`combined_model`) is the following code.
|
||||
|
||||
```sh
|
||||
output = model2(model1.output)
|
||||
combined_model = tf.keras.models.Model(inputs=model1.input, outputs=output)
|
||||
```
|
||||
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
Screen capture describes the process of recording a computer screen.
|
||||
For the remotely displaying the screen to another device the
|
||||
[corresponding entry](/wiki/screen_sharing.md) contains tips and tricks.
|
||||
[corresponding entry](/wiki/screen-sharing.md) contains tips and tricks.
|
||||
|
||||
## Screen Capture options
|
||||
|
||||
Windows systems using an Nvidia graphics card can make use of ShadowPlay a
|
||||
screen recording software integrated in Nvidias suite GeForce Experience.
|
||||
|
||||
Linux systems can use the
|
||||
Linux's systems can use the
|
||||
[GPU Screen Recorder](/wiki/linux/gpu_screen_recorder.md) to make
|
||||
gpu-accelerated screen recordings.
|
||||
GPU accelerated screen recordings.
|
||||
It features similar features to ShadowPlay.
|
||||
|
||||
@@ -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,7 +9,7 @@ The Software synchronizes files between multiple devices directly.
|
||||
The software can be setup via [Docker](/wiki/docker.md) with the
|
||||
[linuxserver image](./docker/linuxserver_-_syncthing.md).
|
||||
|
||||
Additionally the software can be installed by visiting the
|
||||
Additionally, the software can be installed by visiting the
|
||||
[official website](https://syncthing.net/downloads/) and download it from
|
||||
there.
|
||||
|
||||
@@ -21,7 +21,7 @@ Syncthing can be configured in root and in user space.
|
||||
|
||||
This section assumes that a Linux system is used.
|
||||
For root space configuration you can use the Docker image for easy setup.
|
||||
Afterwards navigate to the set IP with your browser and set up the directories
|
||||
Afterward navigate to the set IP with your browser and set up the directories
|
||||
to sync.
|
||||
|
||||
#### User space configuration for Linux
|
||||
@@ -30,10 +30,10 @@ This section assumes that a Linux system is used.
|
||||
The user space configuration is a bit more difficult than the root space
|
||||
configuration.
|
||||
The following steps are adapted from a
|
||||
[reddit post by tmplshdw](https://www.reddit.com/r/SteamDeck/comments/uhf8lw/comment/i77ojke/).
|
||||
[Reddit post by tmplshdw](https://www.reddit.com/r/SteamDeck/comments/uhf8lw/comment/i77ojke/).
|
||||
|
||||
- Download synthing from their website as described in the
|
||||
[setup section][#setup].
|
||||
- Download Syncthing from their website as described in the
|
||||
[setup section](#setup).
|
||||
- Extract the downloaded `.tar.gz` file
|
||||
- Copy the file named `syncthing` to your home directory
|
||||
- In the downloaded folder copy the file
|
||||
|
||||
@@ -94,3 +94,29 @@ By default Thunderbird will show a preview for mails on the right hand side when
|
||||
This is called the message pane.
|
||||
It can be hidden by drag and drop or by pressing the F8-key.
|
||||
Using the same key it can also be shown again.
|
||||
|
||||
### Downgrading Profile
|
||||
|
||||
Sometimes - mostly for [troubleshooting reasons](#troubleshooting) - it can be useful to downgrade
|
||||
Thunderbird (for example using
|
||||
[downgrade](/wiki/linux/package_manager/pacman_and_aur.md#downgrading-packages) on
|
||||
[Arch Linux](/wiki/linux/arch-linux.md)).
|
||||
If this is done the profile will not be downwards compatible by default.
|
||||
On [Linux](/wiki/linux.md) systems the following command can be used to safely downgrade the
|
||||
profile.
|
||||
|
||||
```sh
|
||||
thunderbird -profilemanager --allow-downgrade
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This section will focus on errors and the fixing of errors of Thunderbird.
|
||||
|
||||
### Not Displaying Profile Images Correctly
|
||||
|
||||
On version 145 of Thunderbird the profile pictures of contacts from a CardDAV-synced addressbook
|
||||
may not be correctly displayed.
|
||||
This bug was reported by [Andrewhotlab](https://bugzilla.mozilla.org/show_bug.cgi?id=2001944).
|
||||
An easy fix for this and similar bugs is to [downgrade Thunderbird](#downgrading-profile) to the
|
||||
last version which was not affected by the bug.
|
||||
|
||||
24
wiki/vencord.md
Normal file
24
wiki/vencord.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Vencord
|
||||
|
||||
[Vencord](https://vencord.dev/) is an unofficial [Discord](/wiki/discord.md) client mod which
|
||||
allows the user to add various functionality through plugins and new themes.
|
||||
Unlike [BetterDiscord](/wiki/betterdiscord.md) it is a standalone client and does not need the
|
||||
official Discord client installed.
|
||||
|
||||
## Setup
|
||||
|
||||
The Vencord program can be installed using files from
|
||||
[the official website](https://vencord.dev/download/).
|
||||
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
||||
package Vesktop in the `vesktop` (or `vesktop-git` and `vesktop-bin`) package.
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of Vesktop.
|
||||
|
||||
### Useful plugins
|
||||
|
||||
The following is a list of useful plugins for Vesktop.
|
||||
|
||||
- [PinDMs](https://vencord.dev/plugins/PinDMs) is a plugin that allows to pin private channels to
|
||||
the top of the list of direct messages
|
||||
@@ -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