1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-10-15 20:31:19 +02:00

Compare commits

...

144 Commits

Author SHA1 Message Date
tiyn
b09fa8353f firefox/qt: added dark mode troubleshooting 2025-10-15 07:51:18 +02:00
tiyn
5a12bae277 template: improved template 2025-10-12 06:28:21 +02:00
tiyn
859a48cc91 programming languages: added rust 2025-10-12 06:26:11 +02:00
4e66c061ed android: noted simplemarkdown 2025-10-12 05:37:45 +02:00
05bebbc5c9 android: noted simplemarkdown 2025-10-12 05:36:54 +02:00
tiyn
efedc006ea thunderbird: adding guides for visual improvement or cleanup 2025-10-11 07:17:17 +02:00
tiyn
911a4c596c thunderbird: guide to hide local folders and sort folders 2025-10-11 06:08:42 +02:00
tiyn
474d8426e5 linux: added shell color usage 2025-10-09 05:13:05 +02:00
tiyn
4a08d33ed0 linux: added shell color usage 2025-10-09 05:03:29 +02:00
tiyn
f376e81497 changed all files to be unique 2025-10-02 02:25:57 +02:00
tiyn
f7f2b995ea linux/shell: added recursive replacement 2025-10-02 01:57:37 +02:00
tiyn
069ea7682c renames emulators to emulator 2025-10-02 01:52:45 +02:00
tiyn
b3cdc0b077 renamed trading card games to trading card game 2025-10-02 01:47:40 +02:00
tiyn
c6940b4f6c renamed databases to database 2025-10-02 01:45:45 +02:00
tiyn
958afd5de5 renamed images to image 2025-10-02 01:42:29 +02:00
tiyn
3f7ff001b7 renamed images to image 2025-10-02 01:41:40 +02:00
tiyn
712d002e6d renamed programming languages to programming language 2025-10-02 01:40:55 +02:00
tiyn
0eab8be04e renamed images to image 2025-10-02 01:38:51 +02:00
tiyn
008233103a renamed smart_devices to smart_device 2025-10-02 01:36:48 +02:00
tiyn
97eeb692b8 renamed webcams to webcam 2025-10-02 01:34:49 +02:00
tiyn
a1dc4dc91e renamed books folder to book folder 2025-10-02 01:33:11 +02:00
tiyn
c1a67669c4 games: games folder to game folder 2025-10-02 01:31:40 +02:00
tiyn
1306db027d games: changed folder structure 2025-10-02 01:27:57 +02:00
tiyn
e139b739ad games: changed folder structure 2025-10-02 01:24:39 +02:00
tiyn
0222175ef0 Merge branch 'master' of github.com:tiyn/wiki 2025-10-01 01:26:23 +02:00
tiyn
4f4b9e8c73 android: noted systemui tuner-app 2025-10-01 01:24:45 +02:00
8749538670 android: added gps/map setup to gadgetbridge 2025-09-30 02:49:22 +02:00
c1297a66a8 cups: added source for custom brother format entry 2025-09-24 02:31:16 +02:00
tiyn
570dbbdd70 cups: added creation of custom formats for brother printers 2025-09-24 02:28:32 +02:00
tiyn
0687fdd2a0 linux/hardware: added guide to change thinkpoint settings 2025-09-22 02:31:42 +02:00
tiyn
4451eb9b3c linux/systemd: included guide to work with closed lid for laptops 2025-09-22 02:27:19 +02:00
tiyn
b306eb9df4 linux/mkinitcpio: troubleshooting possibly missing firmware 2025-09-22 02:22:59 +02:00
tiyn
acd39ea5c5 linux: added ghostscript 2025-09-22 02:18:36 +02:00
tiyn
36b6399b40 thunderbird: guide to hide completed tasks 2025-09-22 02:12:33 +02:00
tiyn
fd5e45fd7e android: added screenstream 2025-09-22 02:09:19 +02:00
tiyn
20f403a0d2 linux/v4l2: added downgrade note 2025-09-22 02:05:29 +02:00
tiyn
7f53b56b90 linux/ssh: improved ssh key login with link to automation video 2025-09-22 02:01:27 +02:00
tiyn
c23a46a6cf obs: improved background removal guide 2025-09-22 01:56:27 +02:00
tiyn
97d8e4b744 linux/package managers: fixed section level typ 2025-09-22 01:54:38 +02:00
tiyn
aa3bc74f1d linux/ssh: added guide to kill port tunnel 2025-09-22 01:52:54 +02:00
tiyn
7361fd9330 linux/ssh: added ssh port tunneling and improved sshfs mounting 2025-09-22 01:49:19 +02:00
tiyn
55bf7387f0 linux/ssh: fix x-forwarding sections 2025-09-22 01:34:54 +02:00
tiyn
3ecd487d85 thunderbird: added extension list 2025-09-22 01:22:57 +02:00
tiyn
ca2af83639 Templates: improve templates 2025-09-22 01:22:10 +02:00
tiyn
cac6b61b76 Linux/GPG: added some troubleshooting 2025-09-22 01:17:21 +02:00
tiyn
303c42eca5 added missing descriptions for sections 2025-09-22 01:17:02 +02:00
tiyn
56e648d7a9 watson: fixed typo 2025-09-22 01:08:14 +02:00
tiyn
161170abcf airsonic: fixed typo in header 2025-09-22 01:07:05 +02:00
tiyn
7476364f83 docker: added ollama and webui setup and shared page 2025-09-22 01:05:47 +02:00
tiyn
c0e3170619 docker: added actualbudget server 2025-09-22 00:47:36 +02:00
50cdd1680a Merge branch 'master' of github:/tiyn/wiki 2025-09-22 00:33:19 +02:00
6e2e8e51c2 linux: moved section on firmware error to package manager 2025-09-22 00:33:10 +02:00
3df955ddc1 android: added security and privacy improvements 2025-09-22 00:32:40 +02:00
66d420d49a fixed error in package manager 2025-09-11 02:10:41 +02:00
tiyn
561f59758b betterdiscord: added pacman hook 2025-09-10 06:57:45 +02:00
tiyn
c245c0e8b0 linux/plymouth: added recommended theme list 2025-08-27 04:55:50 +02:00
tiyn
6d766d8974 linux/plymouth: improve description 2025-08-27 04:43:07 +02:00
tiyn
f37225f272 template: fixed minor error 2025-08-24 04:29:54 +02:00
tiyn
5b0ae30f88 microcontroller: extended esp32 usage and troubleshooting 2025-08-24 04:28:04 +02:00
tiyn
a595de964f linux: cannot open shared library error 2025-08-21 05:45:56 +02:00
tiyn
111c3c829e firefox: split off zen browser 2025-08-21 05:19:13 +02:00
tiyn
26a4516652 linux/hardware: added package to temperature command 2025-08-21 05:08:42 +02:00
tiyn
a3d1515e3f linux/pacman: added exists in filesystem error 2025-08-21 05:06:53 +02:00
tiyn
ff693d65e8 teamspeak: added channel visibility entry 2025-08-21 05:02:52 +02:00
tiyn
8404e863a4 vpn: added globalprotect entry 2025-08-21 04:58:48 +02:00
tiyn
80f8c8f5ab vpn: added globalprotect entry 2025-08-21 04:58:19 +02:00
tiyn
778efabe6c linux: added and moved kernel options to mkinitcpio 2025-08-21 04:49:23 +02:00
tiyn
aa314c3352 linux/package managers: arch ignore packages 2025-08-21 04:30:12 +02:00
tiyn
4405c3da1e linux/hardware: added temperature 2025-08-21 04:25:31 +02:00
tiyn
8ca2cd546f VPN: added Global Protect 2025-08-01 21:49:03 +02:00
tiyn
ffb07d7614 linux: added pip for papis 2025-08-01 21:47:31 +02:00
tiyn
2f832b86f2 mail: linked thunderbird 2025-07-31 01:11:45 +02:00
tiyn
8496769af6 thunderbird: added 2025-07-31 01:10:17 +02:00
tiyn
d451970107 picard: alternative usage added 2025-07-29 01:25:45 +02:00
a6817f9a52 firefox: added gestures, mentioned zen browser 2025-07-23 07:56:31 +02:00
tiyn
ed4267a976 package manager: linked pyenv 2025-07-20 04:40:02 +02:00
tiyn
c3f19f3356 drawio: added drawio to image editors 2025-07-20 04:38:08 +02:00
8865c1df47 video: added uhd flashing guide 2025-07-20 04:18:03 +02:00
bf28675931 inkscape: added sources to handwriting guide 2025-07-20 02:09:33 +02:00
3bd6dcd9a6 inkscape: added inkscape and handwriting convert guide 2025-07-20 02:05:42 +02:00
tiyn
dfb57a4b21 mkinitcpio: added firmware module warnings 2025-07-19 06:43:53 +02:00
tiyn
555deee780 Arch Linux: added hooks 2025-07-19 06:43:33 +02:00
tiyn
a0d4534a17 calibre: added export/import section 2025-07-19 04:53:38 +02:00
tiyn
52c43e3ed3 nativefier: added skia compilation error fix 2025-07-16 17:09:47 +02:00
tiyn
c400e70e02 nativefier: added skia compilation error fix 2025-07-16 17:08:56 +02:00
tiyn
3f5ccc92cb kernel: added backup comment 2025-07-11 02:24:20 +02:00
tiyn
7e82d177f9 discord: added betterdiscord 2025-07-10 04:43:30 +02:00
tiyn
ea13ef3afa linux: linked battery and power management 2025-07-07 04:23:45 +02:00
tiyn
d1269ac658 fixed typos 2025-07-06 06:38:36 +02:00
tiyn
318a9e4269 linux: added waydroid 2025-07-06 06:38:28 +02:00
tiyn
c3c37929a8 linux: added wayland basics for idling and locking screen 2025-07-06 06:33:41 +02:00
tiyn
d0aa1faeec linux/systemd: added suspend and hibernate behaviour 2025-07-06 06:33:19 +02:00
tiyn
a97f3a6bab linux: added kernel entry 2025-07-06 06:08:10 +02:00
tiyn
6457d0849f package manager: module not found error 2025-07-06 05:58:26 +02:00
tiyn
725e2e380c package manager: module not found error 2025-07-06 05:57:37 +02:00
tiyn
8cb32856e2 cross-links and parent entries for docker added 2025-07-03 13:54:55 +02:00
tiyn
2c0bc5f3dc improved templates 2025-07-03 13:45:18 +02:00
tiyn
06fe905af0 added many stalled entries 2025-07-03 13:44:52 +02:00
tiyn
2918173ee0 calibre: added missing section description 2025-07-03 12:20:35 +02:00
tiyn
aa2ff10a02 nativefier: added help for linking to path in linux 2025-06-30 01:44:02 +02:00
tiyn
8e5a24fe8c nativefier: added help for linking to path in linux 2025-06-30 01:43:58 +02:00
tiyn
e0bbb76598 obs: added wayland addition 2025-05-19 16:17:50 +02:00
tiyn
2f4f6e6028 Merge branch 'master' of github.com:tiyn/wiki 2025-05-19 16:17:07 +02:00
tiyn
8f6512e921 ssh: added x-forwarding guide 2025-05-19 16:08:45 +02:00
d7c2062047 lightdm: workaround for troubleshooting added 2025-05-14 05:08:01 +02:00
tiyn
e88420ae6d v4l2: fixed some errors 2025-05-14 03:11:31 +02:00
tiyn
e5d89f1a8c Merge branch 'master' of github.com:tiyn/wiki 2025-05-01 04:28:02 +02:00
tiyn
bb61042d31 linux: added wi-fi and troubleshooting 2025-05-01 04:27:51 +02:00
29a2e08c74 pandoc: added entry 2025-04-26 00:57:18 +02:00
tiyn
f82b99d4aa linux: changed typo and added acpi 2025-04-14 02:15:00 +02:00
tiyn
f6ebee5187 Merge branch 'master' of github.com:tiyn/wiki 2025-03-26 05:26:14 +01:00
tiyn
c4c592b84c programming language: renamed folder 2025-03-26 05:26:06 +01:00
tiyn
95bb67a9e7 programming languages: cleaned up 2025-03-26 05:25:26 +01:00
tiyn
afdcc39018 linux: added scc 2025-03-26 05:24:57 +01:00
tiyn
a395b7a03e linux: added power management 2025-03-26 05:24:45 +01:00
0a1a76d11e video: linked tvheadend and added mediathekview 2025-03-23 04:58:01 +01:00
e3681e1e47 Merge branch 'master' of github:/tiyn/wiki 2025-03-23 01:43:48 +01:00
931258888d windows: disable network setup during installation 2025-03-23 01:43:40 +01:00
tiyn
aa1e073119 linux/android: added android-file-transfer to mount android devices on linux 2025-03-19 05:28:06 +01:00
tiyn
3914097907 obs/v4l2: added troubleshooting for error 2025-03-18 05:52:33 +01:00
tiyn
694a183300 linux/gtk/qt: added guide to uniform look in qt and gtk 2025-03-18 05:29:21 +01:00
tiyn
269c6abbc5 added signal 2025-03-18 05:27:56 +01:00
tiyn
967e9b1a92 ventoy: added and linked ventoy boot stick guide 2025-03-13 04:47:06 +01:00
tiyn
412df39a9c lightdm: specified minimal greeter 2025-03-12 05:32:31 +01:00
tiyn
d8f6708da4 linux: added greeters to lightdm 2025-03-12 05:28:03 +01:00
tiyn
b21e63554e linux: added ly display manager 2025-03-12 04:39:04 +01:00
tiyn
ab0e2f9349 linux/plymouth: fixed typo 2025-03-11 05:43:23 +01:00
tiyn
caf0b2214c acer: added BIOS recovery 2025-03-11 04:58:05 +01:00
tiyn
607f3806b9 linux/hardware: added control program for (liquid) coolers 2025-03-11 04:51:59 +01:00
tiyn
0f550650f6 systemd: added tpm troubleshooting 2025-03-11 04:51:35 +01:00
tiyn
f50c9d991b plymouth: add setting themes to guide 2025-03-11 04:45:35 +01:00
tiyn
257ce8a96a linux: added display managers and plymouth 2025-03-11 04:37:46 +01:00
tiyn
366a48e16e Merge branch 'master' of github.com:tiyn/wiki 2025-03-03 04:39:02 +01:00
tiyn
2e8301c9aa xorg: moved touchpad config to x entry 2025-03-03 04:38:53 +01:00
01c7dc67df Merge branch 'master' of github:/tiyn/wiki 2025-03-02 19:34:55 +01:00
b0af0949d2 arch installation: minor tweaks 2025-03-02 19:34:46 +01:00
tiyn
033ad68dfb linux: added hardware entry 2025-02-27 04:47:54 +01:00
tiyn
ecfbf58d04 Merge branch 'master' of github.com:tiyn/wiki 2025-02-27 02:23:42 +01:00
tiyn
6ddc5199a1 linux/vim: removed vim coc due to being outdated 2025-02-27 02:22:46 +01:00
f1d1c6928e Merge branch 'master' of github:/tiyn/wiki 2025-02-26 01:02:14 +01:00
1dafedcaee dm-crypt: added example 2025-02-26 01:02:07 +01:00
tiyn
8faf4bc4ec linux: improved luks encryption parameters 2025-02-23 02:26:38 +01:00
tiyn
d94a6b9b7e Merge branch 'master' of github.com:tiyn/wiki 2025-02-22 06:28:21 +01:00
tiyn
ef494d8fb7 xorg: added guide to automatically lock the screen 2025-02-22 06:28:04 +01:00
150 changed files with 2927 additions and 583 deletions

View File

@@ -0,0 +1,14 @@
# /name/
[/name/]() is a /description.
## Setup
On [Android](/wiki/android.md) /name/ is available on
[F-Droid](/wiki/android/f-droid.md)/the [Google Play store](/wiki/android.md#app-store) in a
package called [/name/]().
## Usage
This section addresses the usage of /name/.
/basic description for usage/

View File

@@ -15,12 +15,17 @@ Change the settings according to your needs and run `./rebuild.sh` afterwards.
### Environment-variables
Set the following variables with the -e tag.
Set the following variables in the `environment:` section.
| Name | Usage | Default |
| ---------- | ------------- | ------- |
| `/name/` | /description/ | |
<!-- ### Environment-variables -->
<!---->
<!-- The environment variables are set via the `.env` file and listed in the -->
<!-- [corresponding section](#env). -->
<!---->
### Ports
Set the following ports in the `ports:` section.
@@ -40,13 +45,16 @@ Set the following volumes with the -v tag.
### rebuild.sh
```sh
#!/bin/sh
docker-compose down
docker-compose up -d
```
### .env
```sh
```
<!-- ### .env -->
<!---->
<!-- ```sh -->
<!-- ``` -->
<!---->
### docker-compose.yml
```yml

View File

@@ -5,9 +5,15 @@
## Setup
The /name/ program can be installed [/via GitHub/]().
Alternatively many linux package managers package /name/ in the `/package/`
package.
Alternatively many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
package /name/ in the `/package/`.
The software can be setup via [Docker](/wiki/docker.md) with the [/docker name/ image]().
## Usage
This section addresses the usage of /name/.
/basic description for usage/
## Troubleshooting
This section will focus on errors and the fixing of errors of /name/.

13
wiki/acer.md Normal file
View File

@@ -0,0 +1,13 @@
# Acer
[Acer](https://www.acer.com) is a company that produces computers.
## Troubleshooting
This section focusses on vendor specific problems and ways how to fix them.
### Recovering the BIOS Password
Acer laptops usually feature a 8-digit BIOS password.
If it was lost it can easily be regenerated/recovered by using the website
[BIOSBug](https://www.biosbug.com/acer).

View File

@@ -7,7 +7,7 @@ Airsonic is not maintained anymore and therefore deprecated.
A more modern implementation of it is
[Airsonic-Advanced](./airsonic-advanced.md).
## Set up
## Setup
The software can be setup via [Docker](/wiki/docker.md) with the
[linuxserver image](./docker/linuxserver_-_airsonic.md).

View File

@@ -4,6 +4,23 @@
[Linux](/wiki/linux.md) kernel.
It is designed primarily for mobile devices with touch screens like tablets or smart phones.
## Managing the Data
The data and files stored on Android
[smart devices](/wiki/smart_device.md#smartphones-and-tablet-computers) are sometimes needed on
computers.
For [Windows](/wiki/windows.md) this can easily be achieved by connecting it via USB.
No further software is needed as the device manager handles the phone correctly most of the times.
For [Linux-based systems](/wiki/linux.md) the
[device](/wiki/smart_device.md#smartphones-and-tablet-computers) also has to be connected to the
computer.
But in this case also a software is needed to [mount it](/wiki/linux/disk-management.md#mounting),
this software/program is called [android-file-transfer](/wiki/linux/android-file-transfer.md).
For further information and a guide on how to mount a Android device correctly navigate to the
[corresponding section](/wiki/linux/android-file-transfer.md#mounting-and-unmounting-android-device).
## App Store
The most used app store of android is the [Google Play Store](https://play.google.com/).
@@ -11,7 +28,7 @@ A free and open-source alternative to it is [F-Droid](/wiki/android/f-droid.md)
open-source software.
A list of open-source software options is also available on Alberto Mosconis
[Github](/wiki/git.md#server-with-web-interface) repository
[Github](/wiki/git_%28general%29.md#server-with-web-interface) repository
[foss apps](https://github.com/albertomosconi/foss-apps/tree/main).
Additionally open-source apps can be installed from source using
@@ -26,6 +43,40 @@ This section addresses various useful applications.
storage.
- [Markor](https://github.com/gsantner/markor) is a text editor supporting
[Markdown](/wiki/markup_language.md)
- [SystemUI Tuner](https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner) is an
application that allows various small tweaks for the Android user interface.
- [SimpleMarkdown](https://f-droid.org/packages/com.wbrawner.simplemarkdown.free/) is another text
editor made for Markdown. It does work a bit better with a [NextCloud](/wiki/nextcloud.md).
## Improve Security and Privacy
Security and privacy are important topics, especially so when dealing with mobile phones.
This section focusses on improving them on a standard Android system.
The Elecronic Frontier Foundation recommends the following changes in their guide
[Guide](https://ssd.eff.org/module/how-to-get-to-know-android-privacy-and-security-settings).
- [2FA](#multi-factor-authentication)
- A strong password (though the usage of biometrics is not recommended due to the possibility of
being physically forced to unlock a phone with them)
- Privacy permission
- Find my device
- Theft protection
- Google privacy checkup
- Backups (though the usage of them gives data to Google, so it may rather be turned off)
- Disable WEP networks
- Obscure lockscreen notifications
The YouTube Channel 9to5Google also has a
[video on security and privcacy](https://www.youtube.com/watch?v=eswIeNxSIqo) which additionally
suggest the following changes.
- Alert when clipboard is accessed
- Enable app pinnig
Another option to add which may not improve security or privacy but improves usability - especially
if a difficult passphrase is used - is the enabling of "Extend Unlock".
There "Trusted Devices" can be set or the "On-body Detection" can be enabled.
## Multi-Factor Authentication
@@ -52,7 +103,7 @@ It is possible that some custom ROMs require the user to
Unlocking the bootloader can be a bit challenging for some vendors especially.
For [smartphones and tablets](/wiki/smart_devices.md#smartphones-and-tablet-computers) made by
For [smartphones and tablets](/wiki/smart_device.md#smartphones-and-tablet-computers) made by
Xiaomi there are some steps that have to be done to unlock the bootloader.
This section is based on an
[article about unlocking the bootloader](https://new.c.mi.com/global/post/101245) on Xiaomi

View File

@@ -2,7 +2,7 @@
[DroidCam](https://www.dev47apps.com/) is an App developed and published
by Dev47Apps for [Android](/wiki/android.md) systems.
It enables a [smartphone](/wiki/smart_devices.md) to be used as [webcam](/wiki/webcams.md).
It enables a [smartphone](/wiki/smart_device.md) to be used as [webcam](/wiki/webcam.md).
## Setup
@@ -19,7 +19,7 @@ Alternatively most [Linux systems](/wiki/linux/package_manager.md) feature a pac
## Usage
To initiate a connection between the [smartphone](/wiki/smart_devices.md) and the computer first
To initiate a connection between the [smartphone](/wiki/smart_device.md) and the computer first
start the app on the smartphone.
Make sure to be connected to the same W-LAN as the computer or alternatively connect them with an
USB-cable.
@@ -27,7 +27,7 @@ After starting the application an IP and a port will be displayed.
These have to be pasted into the form that is shown on the computer after starting the corresponding
program.
After pressing `Connect` the link will be established.
The [video feed](/wiki/webcams.md) can then be used in other programs such as Discord or
The [video feed](/wiki/webcam.md) can then be used in other programs such as Discord or
[Matrix](/wiki/matrix.md).
Additionally it can be piped into [OBS](/wiki/obs.md) to edit it more or create a scene.
Despite the option the separate app [DroidCam OBS](https://www.dev47apps.com/obs/) is not

View File

@@ -3,8 +3,8 @@
[Gadgetbridge](https://codeberg.org/Freeyourgadget/Gadgetbridge/) is a free and open source software
for [Android](/wiki/android.md) systems.
It is a cloudless replacement for proprietary software for
[smart devices](/wiki/smart_devices.md), but is especially designed for
[smartwatches and smart bands](/wiki/smart_devices.md#smartwatches-and-smart-bands).
[smart devices](/wiki/smart_device.md), but is especially designed for
[smartwatches and smart bands](/wiki/smart_device.md#smartwatches-and-smart-bands).
## Setup
@@ -72,3 +72,10 @@ The same catalog is also available as an
This section is based on a
[Reddit post by myhairisawesome](https://www.reddit.com/r/Huawei/comments/1dexenl/watch_fit_3_is_there_a_way_to_create_custom_watch/).
### Download Maps
To download one or more map files to display them for activity GPS data on the mobile phone
navigate to the main `Settings`.
Then Select `Maps` and set the `Folder` aswell as download the map and move it into the selected
folder.

View File

@@ -2,7 +2,10 @@
[IP Webcam](https://play.google.com/store/apps/details?id=com.pas.webcam&hl=de&gl=US) is an App
developed and published by Pavel Khlebovich for [Android](/wiki/android.md) systems.
It enables a [smartphone](/wiki/smart_devices.md) to be used as [webcam](/wiki/webcams.md).
It enables a [smartphone](/wiki/smart_device.md) to be used as [webcam](/wiki/webcam.md).
When wanting to stream the screen and not the camera the application
[ScreenStream](/wiki/android/screenstream.md) can be used.
## Setup
@@ -12,7 +15,7 @@ On [Android](/wiki/android.md) IP Webcam is available on the
## Usage
To initiate a connection between the [smartphone](/wiki/smart_devices.md) and the computer first
To initiate a connection between the [smartphone](/wiki/smart_device.md) and the computer first
start the app on the smartphone.
Make sure to be connected to the same W-LAN as the computer or alternatively connect them with an
USB-cable.

View File

@@ -2,7 +2,7 @@
[IR Remote](https://gitlab.com/divested-mobile/irremote) is a free and open-source App developed
for [Android](/wiki/android.md) systems.
It can use a [smartphone](/wiki/smart_devices.md#smartphones-and-tablet-computers) that is capable
It can use a [smartphone](/wiki/smart_device.md#smartphones-and-tablet-computers) that is capable
of sending [infrared](/wiki/infrared.md) signals to be used as an
[infrared remote control](/wiki/infrared.md#remote-controls)

View File

@@ -2,7 +2,7 @@
[LineageOS](https://lineageos.org/) - or short Lineage - is a custom
[Android](/wiki/android.md)-ROM and operating system for
[Smartphones and Tablets](/wiki/smart_devices.md#smartphones-and-tablet-computers) with mostly free
[Smartphones and Tablets](/wiki/smart_device.md#smartphones-and-tablet-computers) with mostly free
and open-source software.
It was formerly known as CyanogenMod.

View File

@@ -0,0 +1,13 @@
# ScreenStream
[ScreenStream](https://f-droid.org/de/packages/info.dvkr.screenstream/) is an application that
allows to stream the screen via HTTP.
When wanting to stream the camera and not the screen the application
[IP Webcam](/wiki/android/ip_webcam.md) can be used.
## Setup
On [Android](/wiki/android.md) ScreenStream is available on
[F-Droid](/wiki/android/f-droid.md) in a package called
[ScreenStream](https://f-droid.org/de/packages/info.dvkr.screenstream/).

38
wiki/android/tasker.md Normal file
View File

@@ -0,0 +1,38 @@
# Tasker
[Tasker](https://tasker.joaoapps.com/) is a tool to automate various settings and other things on
an [Android-phone](/wiki/android.md).
## Setup
On [Android](/wiki/android.md) /name/ is available on the
[Google Play store](/wiki/android.md#app-store) in a package called
[Tasker](https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm).
Additionally the installation of [Tasker Settings](https://github.com/joaomgcd/TaskerSettings) is
recommended.
Please note that on the [Github releases page](https://github.com/joaomgcd/TaskerSettings/releases)
there are different versions to be used with Xiaomi-phones.
Another recommended action to be taken is to grant Tasker permission to write secure settings.
This has to be done for Tasker to be able to turn on or off Wifi and Location.
Allowing Tasker to set these settings can be done by the following command that has to be run on a
computer with the corresponding phone connected via USB and USB-debugging enabled.
```sh
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
```
`adb` is also often used to install [LineageOS](/wiki/android/lineageos.md).
## Usage
This section addresses the usage of Tasker.
On Tasker profiles, tasks and more can be manually added and edited.
An easier way to get things started is importing premade Tasker projects from
[TaskerNet](https://taskernet.com/?public).
Recommended TaskerNet-projects are the following.
- Flip To Shhh

View File

@@ -10,8 +10,9 @@ Podcasts need a so called Podcatcher.
A Podcatcher is used to subscribe to podcasts and download them automatically.
For Linux specific music software navigate to the corresponding
[wiki entry](/wiki/linux/audio.md).
For voice based communication navigate to the [communication article](/wiki/communication.md) and
the corresponding [VoIP section](/wiki/communication.md#voip).
For voice based communication, social platforms or messengers navigate to the
[communication article](/wiki/communication.md) and the corresponding
[section](/wiki/communication.md#social-platforms-messengers-and-voip-services).
For headphones navigate to the [headphones article](/wiki/headphones.md):
## Technical Specifications

86
wiki/betterdiscord.md Normal file
View File

@@ -0,0 +1,86 @@
# BetterDiscord
[BetterDiscord](https://betterdiscord.app) is an unofficial extension to
[Discord](/wiki/discord.md) which allows to add various functionality through plugins and new
themes.
## Setup
BetterDiscord can be downloaded from [the official website](https://betterdiscord.app).
For [Linux-based systems](/wiki/linux.md) the tool
[betterdiscordctl](https://github.com/bb010g/betterdiscordctl) can be used.
After installing it the following commands have to be run for the stable version of Discord to be
converted to BetterDiscord.
```sh
betterdiscordctl install
```
Afterwards BetterDiscord can be kept up to date with the following command.
```sh
betterdiscordctl self-upgrade
```
### Pacman Hook
When using [Arch Linux](/wiki/linux/arch-linux.md) and its package managers
[Pacman and Yay](/wiki/linux/package_manager.md#arch-linux-pacman-and-yay) a hook can be set that
automatically updates the discord installation to setup betterdiscord using betterdiscordctl.
The following is a [pacman hook](/wiki/linux/package_manager.md#hooks) that can be used to update
betterdiscord automatically.
Make sure to change the three occurences of `<username>` to the name of the user to install
betterdiscord for.
```sh
[Trigger]
Type = Package
Operation = Install
Operation = Upgrade
Target = discord*
[Action]
Description = Rebuild BetterDiscord after Discord update
When = PostTransaction
Exec = /usr/bin/sh -c 'sudo -u <username> betterdiscordctl reinstall >/dev/null 2>&1; sudo -u <username> xvfb-run -a discord --help >/dev/null 2>&1; sudo -u <username> betterdiscordctl install >/dev/null 2>&1; true'
Depends = xorg-server-xvfb
Depends = betterdiscordctl
NeedsTargets
```
## Usage
This section addresses the usage of BetterDiscord.
### Recommended Themes
The following themes are recommended by the author of this wiki.
- `midnight` is a dark, customizable discord theme.
- `system24` is a tui-like discord theme.
### Recommended Plugins
The following plugins are recommended by the author of this wiki.
- `BetterChatNames` improves chat names by removing dashes in chat channels.
- `BetterFriendList` adds extra controls to the friend page.
- `BetterVolume` allows to set user volume manually and higher than 200%.
- `ChatCounter` adds a character counter to most inputs.
- `DoNotTrack` stops Discord from tracking many things.
- `GameActivityToggle` adds a quick-toggle game activity button.
- `HideDisabledEmojis` hides disabled emojis form the emoji picker.
- `ImageUtilities` adds several utilities for images/videos.
- `InterTimestamps` allows you to insert timestamp markdown.
- `InvisibleTyping` is an enhanced version of silent typing.
- `MoreRoleColors` adds role colors to usernames.
- `OnlineFriendCount` adds the old online friend count.
- `PermissionViewer` allows to view a users permissions.
- `PinDMs` allows to pin DMs.
- `QuickMention` adds a mention button to the message 3-dot menu.
- `ServerDetails` shows server details in the server list tooltip.
- `SplitLargeMessages` allows you to enter larger messages, which will automatically split into
several smaller messages.
- `StaffTag` adds a crown to server owners (or admins/management).
- `Uncompressed Images` will improve image quality of previews.

View File

@@ -28,5 +28,5 @@ This is not a legal advice.
Take your local laws into account when downloading torrents.
Some torrents can be copyright infringing and therefor illegal to download.
Only download legal and safe torrents like the
[Arch Linux ISO](/wiki/linux/arch-linux.md#iso-medium).
[Arch Linux ISO](/wiki/linux/arch-linux.md#create-installation-medium).
Seeding it can help the community.

View File

@@ -1,11 +1,13 @@
# Calibre
# calibre
[Calibre](https://calibre-ebook.com/) is a cross-platform, free and open-source
software suite for [e-book](/wiki/e-books.md) management.
[calibre](https://calibre-ebook.com/) is a cross-platform, free and open-source
software suite for [e-book](/wiki/e-book.md) management.
It supports various formats aswell as conversion between them.
## Usage
This section addresses various features of calibre.
## Adding a Plugin
A plugin by a third party can be added by selecting a `.zip` archive - usually
@@ -101,3 +103,17 @@ Additionally the `Kobo Touch Extended` plugin is recommended to use since it mak
Kobo e-readers easier.
Finally `KePub Metadata Reader` and `KePub Metadata Reader` make it possible to read and write
metadata to `.kepub` files which is especially useful.
## Exporting and Importing Settings and Libraries
This section explains how to export and import the settings of one calibre instance to another.
It is based on a
[reddit comment by dwhitzzz](https://www.reddit.com/r/Calibre/comments/1313kix/comment/mo4b9rn).
To export the settings and libraries of a calibre instance open the corresponding instance and then
right-click the `calibre` Button on the top menu.
Select `Export/import all calibre data`, select the export or import option and then follow the
instructions.
Please note that the export only works when an empty folder is selected.
All calibre data will then be exported into the selected directory.
For the import process the folder that includes the calibre data has to be selected.

View File

@@ -4,12 +4,14 @@ Computer communication can have multiple different forms.
There are voice and video calls aswell as text based messaging.
This article bundles all of them.
## VoIP
## Social Platforms, Messengers and VoIP Services
This section lists some of the most common Voice over IP (VoIP) platforms.
This section lists some of the most common Voice over IP (VoIP) services, messengers and other
social platforms.
- [Matrix](/wiki/matrix.md) is a decentralized and open-source social platform.
- [Discord](/wiki/discord.md) is a widely used, proprietary social platform.
- [Matrix](/wiki/matrix.md) is a decentralized and open-source social platform.
- [Signal](/wiki/signal.md) is an open-source, encrypted messaging service.
### Soundboards

View File

@@ -43,3 +43,50 @@ This is done by appending it the the mentioned connection string and will look l
`usb://Brother/QL-600?serial=000J1Z140282`.
The examples using the Brother printer are taken from a
[dwaves article](https://dwaves.de/2022/07/13/gnu-linux-debian-11-how-to-setup-brother-ql-600-labelprinter/).
### Custom Formats For Brother Printers
This section is based on an entry in the
[german FAQ on the brother website](https://support.brother.com/g/b/faqend.aspx?c=de&lang=de&prod=lpql1110nwbeuk&faqid=faqp00100409_000).
Especially when using continuos-length Brother label printers it can be useful to set up custom
formats.
After setting up the CUPS install the package that provides
`brpapertoollpr_<printer name in cups>` which differs from printer to printer.
For example when using a Brother QL-600 this command is named `brpapertoollpr_ql600` and on some
[Linux](/wiki/linux.md) distributions like [Arch Linux](/wiki/linux/arch-linux.md) is provided in a
package called `brother-ql600`.
To then set up a new custom format run the following command.
```sh
brpapertoollpr_<printer name in command> -P <printer name in cups> -n <format name> -w <width> -h <height>
```
`<printer name in command>` is the part of the command that corresponds to the printer as described
in the previous sentence.
`<printer name in cups>` and `<format name>` are the name of the printer already set up and given in
CUPS and the name chosen for the new format.
And `<width>` and `<height>` are width and height of the new format both given in millimeters.
A complete command could look something like the following.
```sh
brpapertoollpr_ql600 -P Brother_QL-600 -n "62mmx12mm" -w 62 -h 12
```
The command to delete a custom format is the following.
It uses the same variables and names as the command above.
```sh
brpapertoollpr_ql600 -P <printer name> -d <format name>
```
The usage of this command could look similar to the following example.
```sh
brpapertoollpr_ql600 -P Brother_QL-600 -d "62mmx12mm"
```
After setting up the new format it can be selected in the CUPS interface and used with the Brother
printer it was set up for.

View File

@@ -1,6 +1,6 @@
# Databases
# Database
Databases are data collections of a computer system.
A database is a data collections of a computer system.
Most prominent type of database are SQL databases.
## Database management systems (DBMS)

View File

@@ -21,3 +21,8 @@ The following is a list of bots featured in this wiki that can do this.
- [Sinusbot](/wiki/sinusbot.md) is a self-hosted bot for Discord that can play music and sounds.
It's closed-source and free of charge.
It also features [Teamspeak](/wiki/teamspeak.md) support.
### 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).

View File

@@ -0,0 +1,67 @@
# actualbudget - actual-server
This is a [Docker](/wiki/docker.md) container for an actualbudget server.
The official container and documentation was made by
[actualbudget](https://actualbudget.org/docs/install/docker/).
This docker-rebuild is made up by a `docker-compose.yml` file.
## Set-up
Create the files `rebuild.sh`, `docker-compose.yml` at the same
place.
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 |
| -------------- | ------------------------ | --------- | ------------- |
| `5006` | `5006` | TCP | WebUI |
### Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------- | ------------------ |
| `actual` | `/data` | Actual Budget data |
### rebuild.sh
```sh
#!/bin/sh
docker-compose down
docker-compose up -d
```
### docker-compose.yml
```yml
version: '3'
services:
actual_server:
image: docker.io/actualbudget/actual-server:latest
ports:
# This line makes Actual available at port 5006 of the device you run the server on,
# i.e. http://localhost:5006. You can change the first number to change the port, if you want.
- '5006:5006'
# environment:
# Uncomment any of the lines below to set configuration options.
# - ACTUAL_HTTPS_KEY=/data/selfhost.key
# - ACTUAL_HTTPS_CERT=/data/selfhost.crt
# - ACTUAL_PORT=5006
# - ACTUAL_UPLOAD_FILE_SYNC_SIZE_LIMIT_MB=20
# - ACTUAL_UPLOAD_SYNC_ENCRYPTED_FILE_SYNC_SIZE_LIMIT_MB=50
# - ACTUAL_UPLOAD_FILE_SIZE_LIMIT_MB=20
# See all options and more details at https://actualbudget.github.io/docs/Installing/Configuration
# !! If you are not using any of these options, remove the 'environment:' tag entirely.
volumes:
# Change './actual-data' below to the path to the folder you want Actual to store its data in on your server.
# '/data' is the path Actual will look for its files in by default, so leave that as-is.
- actual:/data
restart: unless-stopped
volumes:
actual:
```

View File

@@ -1,6 +1,6 @@
# grimsi - gameyfin
This is a [Docker](/wiki/docker.md) container for a [Gameyfin](/wiki/games/gameyfin.md).
This is a [Docker](/wiki/docker.md) container for a [Gameyfin](/wiki/game/gameyfin.md).
## Set-up

View File

@@ -0,0 +1,75 @@
# immich-app - immich-server
This is a [Docker](/wiki/docker.md) container for a [immich](/wiki/immich.md) server.
The official container and documentation was made by
[immich](https://github.com/immich-app/immich).
This docker-rebuild is made up by a `docker-compose.yml` file.
In addition to the main container you need to connect a
[redis](/wiki/docker/redis.md) and a [postgres](/wiki/docker/postgres.md) container to it.
## Set-up
Create the files `rebuild.sh`, `.env` and `docker-compose.yml` at the same
place.
Please note that the `docker-compose.yml` file should be retrieved from the
[Github releases page](https://github.com/immich-app/immich/releases/)
Change the settings according to your needs and run `./rebuild.sh` afterwards.
### Environment-variables
The environment variables are set via the `.env` file and listed in the
[corresponding section](#env).
### Ports
Set the following ports in the `ports:` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | --------- | ------------- |
| `2283` | `3001` | TCP | WebUI |
### Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------------- | ------------- |
| `immich_library` | `/usr/src/app/upload` | Library |
| `/etc/timezone` | `/etc/timezone:ro` | Timezone |
### rebuild.sh
```sh #!/bin/sh
docker-compose down
docker-compose up -d
```
### .env
```sh
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=immich_library
# The location where your database files are stored
DB_DATA_LOCATION=immich_postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres
# Disable Machine Learning
IMMICH_MACHINE_LEARNING_ENABLED=false
IMMICH_MACHINE_LEARNING_URL=false
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
```

View File

@@ -1,7 +1,7 @@
# itzg - minecraft-server
This is a [Docker](/wiki/docker.md) container for a
[Minecraft](../games/minecraft.md) server.
[Minecraft](/wiki/game/minecraft.md) server.
The container and documentation was made by
[itzg](https://hub.docker.com/r/itzg/minecraft-server).
@@ -79,6 +79,6 @@ Afterwards run the [`rebuild.sh`](#rebuildsh) to restart the server with loaded
#### Installing Datapacks
The installation of datapacks is done similar to the described process in the
[corresponding section of the minecraft entry](/wiki/games/minecraft.md#installing-datapacks).
[corresponding section of the minecraft entry](/wiki/game/minecraft.md#installing-datapacks).
The only difference is the path to place the `.zip` datapack files in which is `world/datapacks` in
case of this [Docker](/wiki/docker.md) image.

View File

@@ -1,6 +1,6 @@
# jkarlos - git-server-docker
This is a [Docker](/wiki/docker.md) container for a [git](../git.md) server.
This is a [Docker](/wiki/docker.md) container for a [git](/wiki/git_%28general%29.md) server.
The official container and documentation was made by
[jkarlos](https://hub.docker.com/r/jkarlos/git-server-docker).

View File

@@ -1,6 +1,6 @@
# massivedecks - client
This is a [Docker](/wiki/docker.md) container for a [Massive Deecks](/wiki/games/massive_decks.md)
This is a [Docker](/wiki/docker.md) container for a [Massive Deecks](/wiki/game/massive_decks.md)
client.
Due to ease of use this entry will also feature the server container.
The official container and documentation was made by

View File

@@ -0,0 +1,40 @@
# ollama - ollama
This is a [Docker](/wiki/docker.md) container for an ollama server.
The official container and documentation was made by
[ollama](https://hub.docker.com/r/ollama/ollama).
## Set-up
Create the file `rebuild.sh`.
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 |
| -------------- | ------------------------ | --------- | ------------------- |
| `11434` | `11434` | TCP | Communications port |
## Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------- | ------------- |
| `ollama` | `/root/.ollama` | Ollama data |
## rebuild.sh
```sh
#!/bin/sh
docker stop ollama
docker rm ollama
docker pull ollama/ollama
docker run --name ollama \
--restart unless-stopped \
-p 11434:11434 \
-v ollama:/root/.ollama \
-d ollama/ollama
```

View File

@@ -0,0 +1,41 @@
# open-webui - open-webui
This is a [Docker](/wiki/docker.md) container for a Open WebUI server.
The official container and documentation was made by
[open-webui](https://github.com/open-webui/open-webui).
## Set-up
Create the file `rebuild.sh`.
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 |
| -------------- | ------------------------ | --------- | ------------- |
| `11434` | `8080` | TCP | WebUI |
## Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | ------------------- | --------------- |
| `open-webui` | `/app/backend/data` | Open WebUI data |
## rebuild.sh
```sh
#!/bin/sh
docker stop openwebui
docker rm openwebui
docker pull ghcr.io/open-webui/open-webui:main
docker run --name openwebui \
--restart unless-stopped \
-p 11434:8080 \
-v open-webui:/app/backend/data \
-d ghcr.io/open-webui/open-webui:main
```

View File

@@ -0,0 +1,73 @@
# wabayang - jelu
This is a [Docker](/wiki/docker.md) container for a [Jelu](/wiki/jelu.md) server.
The official container and documentation was made by
[wabayang](https://github.com/bayang/jelu).
This docker-rebuild is made up by a `docker-compose.yml` file.
## Set-up
Create the files `rebuild.sh` and `docker-compose.yml` at the same place.
Change the settings according to your needs and run `./rebuild.sh` afterwards.
### Environment-variables
The environment variables are set via the `.env` file and listed in the
[corresponding section](#env).
### Ports
Set the following ports in the `ports:` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | --------- | ------------- |
| `11111` | `11111` | TCP | WebUI |
### Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | ------------------ | ------------------- |
| `config` | `/config` | configuration files |
| `database` | `/database` | database |
| `files_images` | `/files/images` | path for files |
| `files_imports` | `/files/imports` | path for imports |
| `/etc/timezone` | `/etc/timezone:ro` | Timezone |
### rebuild.sh
```sh
version: "2"
services:
jelu:
image: wabayang/jelu
container_name: jelu
volumes:
- config:/config
- database:/database
- files_images:/files/images
- files_imports:/files/imports
- /etc/timezone:/etc/timezone:ro
ports:
- 11111:11111
restart: unless-stopped
volumes:
config:
driver: local
database:
driver: local
files_images:
driver: local
files_imports:
driver: local
```
### docker-compose.yml
```yml
#!/bin/sh
docker-compose down
docker-compose up -d
```

13
wiki/drawio.md Normal file
View File

@@ -0,0 +1,13 @@
# draw.io
[draw.io](https://ww.drawio.net) is a cross-platform graph drawing software application.
## Setup
draw.io can be used online in the browser on [their website](https://app.diagrams.net).
Alternatively a desktop application exists.
The setup files for [Windows](/wiki/windows.md), MacOS and [Linux](/wiki/linux.md) can be found in
[the draw.io GitHub](https://github.com/jgraph/drawio-desktop/releases).
For Linux-distributions there are usually also packages in the
[corresponding package manager](/wiki/linux/package_manager.md) often called `drawio-desktop` or
something similar

View File

@@ -1,6 +1,6 @@
# E-books
# E-book
E-books are digital publications of books.
An E-book is a digital publication of a book.
They can be read with specific hardware - an e-reader - or on a personal
computer.
E-books are usually available in `.epub` or `.pdf` files.
@@ -21,3 +21,11 @@ its supported counterpart [DeDRM by noDRM](https://github.com/noDRM/DeDRM_tools)
Due to legal issues in many places it is recommended to not use these or
similar software.
If the software is to be used by you check your local laws first.
## Tracking
Many e-book readers include a feature to keep track of read books.
However they do not track the time that was needed to finish them or the number of e-books read in
a specific timeframe.
This can be done by using a special tracker like [Jelu](/wiki/jelu.md) which can be used to keep
track of e-books and normal books at the same time which is a feature no e-book reader has.

29
wiki/emulator.md Normal file
View File

@@ -0,0 +1,29 @@
# Emulator
An Emulator is a hard- or software that enables a computer to behave like
another computer.
In the [gaming](/wiki/game.md) context this is mainly used to run games from a console on
another computer.
Emulators usually need ROMs to run games.
ROMs are a digital copy of a video game.
Please note that downloading ROMs of licensed games is not permitted due to copyright.
All [emulators](#list-of-emulator-software) should only use non copyright infringing ROMs.
Due to its form factor emulators can be installed and used nicely on a
[Steam Deck](/wiki/game/steam_deck.md).
Emulator games can even be
[started through the normal interface](/wiki/game/steam_deck.md#running-a-game-directly-through-the-interface).
## List of Emulator software
- [Citra](/wiki/emulator/citra.md) emulates Nintendo 3DS games.
- [Dolphin](/wiki/emulator/dolphin.md) emulates Nintendo GameCube and Wii games.
- [melonDS](/wiki/emulator/melonds.md) emulates Nintendo DS games.
- [mGBA](/wiki/emulator/mgba.md) emulates Nintendo Game Boy, Game Boy Color and Game Boy Advanced
games.
- [Nestopia](/wiki/emulator/nestopia.md) emulates Nintendo Entertainment System games.
- [PCSX2](/wiki/emulator/pcsx2.md) emulates PlayStation 2 games.
- [PPSSPP](/wiki/emulator/ppsspp.md) emulates PlayStation Portable games.
- [simple64](/wiki/emulator/simple64.md) emulates Nintendo 64 games.
- [Snes9x](/wiki/emulator/snes9x.md) emulates Super Nintendo Entertainment System games.
- [yuzu](/wiki/emulator/yuzu.md) emulates Nintendo Switch games.

View File

@@ -1,7 +1,7 @@
# Citra
[Citra](https://citra-emu.org/) is a [Nintendo 3DS](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[Citra](https://citra-emu.org/) is a [Nintendo 3DS](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup

View File

@@ -1,7 +1,7 @@
# Dolphin
[Dolphin](https://dolphin-emu.org/) is a [Nintendo GameCube and Wii](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[Dolphin](https://dolphin-emu.org/) is a [Nintendo GameCube and Wii](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup
@@ -18,11 +18,11 @@ and usage of Dolphin.
### Steam Deck Specific Settings
The following settings are especially useful when emulating games on the
[Steam Deck](/wiki/games/steam_deck.md) as pointed out by
[Steam Deck](/wiki/game/steam_deck.md) as pointed out by
[nchristopher](https://github.com/nchristopher/steamdeck-emulation/blob/main/emulators/dolphin.md).
Select the configuration and select the paths tab.
There the directories for Wii and GameCube [ROMs](/wiki/games/emulators.md) can be added.
There the directories for Wii and GameCube [ROMs](/wiki/emulator.md) can be added.
In the audio tab select `Pulse` as your audio backend.
In the interface tab select `Confirm to Stop` to avoid prompts when closing the
game.

View File

@@ -1,7 +1,7 @@
# melonDS
[melonDS](https://melonds.kuribo64.net/) is a [Nintendo DS](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[melonDS](https://melonds.kuribo64.net/) is a [Nintendo DS](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup
@@ -18,7 +18,7 @@ and usage of Dolphin.
### Start Emulated Game in Fullscreen Mode
In different scenarios it can be useful to start directly into a game in fullscreen mode.
One example would be using the [Steam Deck](/wiki/games/steam_deck.md) to
[set up a game in the Steam UI](/wiki/games/steam_deck.md#running-a-game-directly-through-the-interface)
One example would be using the [Steam Deck](/wiki/game/steam_deck.md) to
[set up a game in the Steam UI](/wiki/game/steam_deck.md#running-a-game-directly-through-the-interface)
so it can be run directly without switching to the desktop mode.
For this add the `-f` flag for fullscreen mode.

View File

@@ -1,8 +1,8 @@
# mGBA
[mGBA](https://mgba.io/) is a
[Nintendo Game Boy, Game Boy Color and Game Boy Advanced](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[Nintendo Game Boy, Game Boy Color and Game Boy Advanced](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup
@@ -19,7 +19,7 @@ and usage of Dolphin.
### Start Emulated Game in Fullscreen Mode
In different scenarios it can be useful to start directly into a game in fullscreen mode.
One example would be using the [Steam Deck](/wiki/games/steam_deck.md) to
[set up a game in the Steam UI](/wiki/games/steam_deck.md#running-a-game-directly-through-the-interface)
One example would be using the [Steam Deck](/wiki/game/steam_deck.md) to
[set up a game in the Steam UI](/wiki/game/steam_deck.md#running-a-game-directly-through-the-interface)
so it can be run directly without switching to the desktop mode.
For this add the `-f` flag for fullscreen mode.

View File

@@ -1,7 +1,7 @@
# Nestopia
[Nestopia](http://0ldsk00l.ca/nestopia/) is a [Nintendo Entertainment System](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[Nestopia](http://0ldsk00l.ca/nestopia/) is a [Nintendo Entertainment System](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup

View File

@@ -1,7 +1,7 @@
# PCSX2
[PCSX2](https://pcsx2.net/) is a [PlayStation 2](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[PCSX2](https://pcsx2.net/) is a [PlayStation 2](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup

View File

@@ -1,7 +1,7 @@
# PPSSPP
[PPSSPP](https://ppsspp.org/) is a [PlayStation Portable](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[PPSSPP](https://ppsspp.org/) is a [PlayStation Portable](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup
@@ -18,13 +18,13 @@ and usage of PPSSPP.
### Steam Deck specific settings
The following settings are especially useful when emulating PSP games on the
[Steam Deck](/wiki/games/steam_deck.md) as pointed out by
[Steam Deck](/wiki/game/steam_deck.md) as pointed out by
[nchristopher](https://github.com/nchristopher/steamdeck-emulation/blob/main/emulators/ppsspp.md).
But it is a good starting point for other systems aswell.
It is important to emphasize that the system needs to meet the requirements to
run Vulkan.
The Device name will change if you are not using a
[Steam Deck](/wiki/games/steam_deck.md).
[Steam Deck](/wiki/game/steam_deck.md).
- Backend: `Vulkan`
- Device: `AMD RADV VANGOGH`

View File

@@ -1,7 +1,7 @@
# simple64
[simple64](https://simple64.github.io/) is a [Nintendo 64](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[simple64](https://simple64.github.io/) is a [Nintendo 64](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup

View File

@@ -1,7 +1,7 @@
# Snes9x
[Snes9x](http://www.snes9x.com/) is a [Super Nintendo Entertainment System](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[Snes9x](http://www.snes9x.com/) is a [Super Nintendo Entertainment System](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup

View File

@@ -1,7 +1,7 @@
# yuzu
[yuzu](https://yuzu-emu.org/) is a [Nintendo Switch](/wiki/games.md)
[emulator](/wiki/games/emulators.md).
[yuzu](https://yuzu-emu.org/) is a [Nintendo Switch](/wiki/game.md)
[emulator](/wiki/emulator.md).
## Setup
@@ -22,8 +22,8 @@ and usage of Dolphin.
### Start Emulated Game in Fullscreen Mode
In different scenarios it can be useful to start directly into a game in fullscreen mode.
One example would be using the [Steam Deck](/wiki/games/steam_deck.md) to
[set up a game in the Steam UI](/wiki/games/steam_deck.md#running-a-game-directly-through-the-interface)
One example would be using the [Steam Deck](/wiki/game/steam_deck.md) to
[set up a game in the Steam UI](/wiki/game/steam_deck.md#running-a-game-directly-through-the-interface)
so it can be run directly without switching to the desktop mode.
For this add the `-f` flag for fullscreen mode aswell as the `-g` flag in front of the path to the
game that should to be started.
@@ -31,7 +31,7 @@ game that should to be started.
### Steam Deck Specific Settings
The following settings are especially useful when emulating games on the
[Steam Deck](/wiki/games/steam_deck.md) as pointed out by
[Steam Deck](/wiki/game/steam_deck.md) as pointed out by
[sofakng](https://www.reddit.com/r/SteamDeck/comments/12ivsky/what_are_the_best_yuzu_settings/).
For a better performance select `Vulkan` under the `Graphics` in `Graphics`.

17
wiki/fido2.md Normal file
View File

@@ -0,0 +1,17 @@
# FIDO2
[FIDO2](https://fidoalliance.org/fido2/) is an initiative to enforce multi-factor-authentication.
## Setup
For FIDO2 to work usually the package `libfido2` can be installed which will include the basic
setups.
## Usage
This section addresses various features of FIDO2.
### Use FIDO2 on Linux with DM-Crypt
The usage of a FIDO2-Stick combined with [DM-Crypt](/wiki/linux/dm-crypt.md) is described in the
[corresponding section of the DM-Crypt entry](/wiki/linux/dm-crypt.md#use-fido2-to-unlock-a-volume).

View File

@@ -2,6 +2,10 @@
[Firefox](https://www.mozilla.org/en-US/Firefox) is a free and open-source web
browser.
There are browsers that are based on Firefox and expand on its features like
[Zen browser](/wiki/zen_browser.md).
For this the usage is mostly the same except for the parts noted in the
[Zen Browser entry](/wiki/zen_browser.md).
## Usage
@@ -138,6 +142,14 @@ Sponsorings are embedded ads in Firefox.
After navigating to `about:config` enabling and disabling of sponsorings can be done at
`browser.newtabpage.activity-stream.showSponsored`.
### Gestures
By default gestures are enabled by default.
This can be annoying especially on laptops when using the touchpad.
But the gestures can easily be disabled.
For this go to `about:config` and clear the preferences for `browser.gesture.swipe.left` and
`browser.gesture.swite.right`.
### Make Fullscreen Only Window Wide
Firefox' default fullscreen does not only hide UI elements of firefox but also increases Firefox'
@@ -308,3 +320,17 @@ security.family_safety.mode = 0
Additionally check [the telemetry section](#telemetry) and
[the sponsoring section](#sponsorings).
## Troubleshooting
This section will focus on errors and the fixing of errors of Firefox.
### Dark Mode Not Used For File Picker
It is possible and a known problem on [Linux-based systems](/wiki/linux.md) that Firefox may not
recognize the system dark mode correctly.
This can result in a light themed file picker despite all other programs on the system like
[GTK](/wiki/linux/gtk.md) or [Qt](/wiki/linux/qt.md) using the dark mode already.
To fix this simply navigate to `about:config` and - if not already existing - create the value for
`ui.systemUsesDarkTheme` and set it to `1`.
This should immediately and without rebooting switch the file picker to use dark mode.

View File

@@ -1,24 +1,25 @@
# Games
# Game
A video game - short game - is an electronic game that features interation and input from the user
to generate a feedback.
Games can be played on different platforms.
To create games [game engines](/wiki/game_engine.md) can be used.
## Game Platforms, Distributors and Managers
There are various platforms for managing games.
[Steam](/wiki/games/steam.md) is a gaming a platform for games that distributes games at the same
[Steam](/wiki/game/steam.md) is a gaming a platform for games that distributes games at the same
time.
Games bought in the Steam shop but also third party games can be added to the game list.
It is very popular and cross platform capable.
For [Linux-based systems](/wiki/linux.md) the most used platform is a game manager called
[Lutris](/wiki/games/lutris.md).
[Lutris](/wiki/game/lutris.md).
Lutris can incorporate local games, aswell as games from various big platforms including steam.
It is especially popular on Linux because it can manage [WINE](/wiki/linux/wine.md) prefixes and
thus is able to easily run [Windows](/wiki/windows.md) games on Linux.
Furthermore [Gameyfin](/wiki/games/gameyfin.md) is a game manager that can be easily accessed
Furthermore [Gameyfin](/wiki/game/gameyfin.md) is a game manager that can be easily accessed
through a web interface.
Games can then be downloaded from the website.
@@ -48,8 +49,8 @@ Afterwards move the game saves to the directory set up by Syncthing and create
[symbolic links](/wiki/linux/shell.md#symbolic-links-using-ln) to link them back to the original
place.
For games on [Steam](/wiki/games/steam.md) it is possible that they are automatically synchronized
by [Steam Cloud](/wiki/games/steam.md#steam-cloud-and-game-synchronization).
For games on [Steam](/wiki/game/steam.md) it is possible that they are automatically synchronized
by [Steam Cloud](/wiki/game/steam.md#steam-cloud-and-game-synchronization).
## Speedrunning

View File

@@ -1,8 +1,8 @@
# Bottles
[Bottles](https://usebottles.com/) is an application similar to
[Lutris](/wiki/games/lutris.md) that focusses on running both
[Windows](/wiki/windows.md) applications aswell as [games](/wiki/games.md) through
[Lutris](/wiki/game/lutris.md) that focusses on running both
[Windows](/wiki/windows.md) applications aswell as [games](/wiki/game.md) through
[WINE](/wiki/linux/wine.md) or their own runner [Caffe](#caffe).
## Caffe

View File

@@ -1,14 +1,14 @@
# Counter-Strike 2
[Counter-Strike 2](https://www.counter-strike.net/cs2) is a tactical first-person shooter
[game](/wiki/games.md) developed by [Valve](https://www.valvesoftware.com/en/).
[game](/wiki/game.md) developed by [Valve](https://www.valvesoftware.com/en/).
It is distributed via [Steam](./steam.md).
## Troubleshooting
This section addresses various errors that can happen when playing Counter-Strike 2.
### Problems launching on [Steam](/wiki/games/steam.md)
### Problems launching on [Steam](/wiki/game/steam.md)
On [Linux](/wiki/linux.md) systems launching can run into problems.
To fix those the following line should be set as launch options in the general tab of steams game

View File

@@ -1,6 +1,6 @@
# Gameyfin
[Gameyfin](https://github.com/grimsi/gameyfin) is a simple [game](/wiki/games.md) library manager
[Gameyfin](https://github.com/grimsi/gameyfin) is a simple [game](/wiki/game.md) library manager
with a web interface to browse and download games.
## Setup

View File

@@ -1,6 +1,6 @@
# Guild Wars 2
[Guild Wars 2](https://www.guildwars2.com) is a MMORPG [game](/wiki/games.md) which is available as
[Guild Wars 2](https://www.guildwars2.com) is a MMORPG [game](/wiki/game.md) which is available as
a standalone Launcher for Windows and on [Steam](./steam.md).
## Resources

View File

@@ -1,7 +1,7 @@
# League of Legends
[League of Legends](https://www.leagueoflegends.com/en-us) is a multiplayer
online battle arena [game](/wiki/games.md) which is available as a standalone Launcher for
online battle arena [game](/wiki/game.md) which is available as a standalone Launcher for
[Windows](/wiki/windows.md).
It is developed and published by [Riot Games](https://www.riotgames.com/en).
@@ -11,7 +11,7 @@ League of Legends is available to download for
[Windows](/wiki/windows.md) systems on
[the official website](https://signup.leagueoflegends.com/en-us/signup/index#/).
For [Linux](/wiki/linux.md) distributions [Lutris](/wiki/games/lutris.md)
For [Linux](/wiki/linux.md) distributions [Lutris](/wiki/game/lutris.md)
and [WINE](/wiki/linux/wine.md) can be used to run the game.
The correct version can be downloaded using the
[Lutris website](https://lutris.net/games/league-of-legends/).

View File

@@ -1,18 +1,18 @@
# Lutris
[Lutris](https://lutris.net/) is a free and open source video [game](/wiki/games.md) platform for
[Lutris](https://lutris.net/) is a free and open source video [game](/wiki/game.md) platform for
[Linux](/wiki/linux.md) systems.
It features compatibility with [GOG](https://www.gog.com/),
[Humble Bundle](https://humblebundle.com/),
[Epic Games](https://www.epicgames.com/), [Steam](/wiki/games/steam.md) and many
[Epic Games](https://www.epicgames.com/), [Steam](/wiki/game/steam.md) and many
other [Windows](/wiki/windows.md) games via its own installer that uses
[WINE](/wiki/linux/wine.md). Lutris can also use [Proton](/wiki/games/proton.md)
[WINE](/wiki/linux/wine.md). Lutris can also use [Proton](/wiki/game/proton.md)
- a patched version of WINE developed by
[Valve](https://www.valvesoftware.com/).
Additionally to that Lutris supports many different
[emulators](/wiki/games/emulators.md).
[emulators](/wiki/emulator.md).
For running both Windows applications aswell as games
[Bottles](/wiki/games/bottles.md) can be used.
[Bottles](/wiki/game/bottles.md) can be used.
## Usage
@@ -124,10 +124,10 @@ be selected.
After right-clicking a game and selecting `Configure` the `Wine version` can be
changed under the `Runner options` tab.
There are many different versions of WINE, WINE-fshack and various
[Proton](/wiki/games/proton.md) and
[Proton GE versions](/wiki/games/proton.md#ge-version) to select.
Using the default runner of [Bottles](/wiki/games/bottles.md) - called
[Caffe](/wiki/games/bottles.md#caffe) - is also possible.
[Proton](/wiki/game/proton.md) and
[Proton GE versions](/wiki/game/proton.md#ge-version) to select.
Using the default runner of [Bottles](/wiki/game/bottles.md) - called
[Caffe](/wiki/game/bottles.md#caffe) - is also possible.
### Disable Networking for a Game
@@ -140,10 +140,10 @@ Afterwards all networking of the selected game is disabled.
### Adding and Removing Runners and Sources
Runners are ways to run [games](/wiki/games.md) on [Linux](/wiki/linux.md).
Examples for runners are [WINE](/wiki/linux/wine.md), [Steams Proton](/wiki/games/proton.md) or
Runners are ways to run [games](/wiki/game.md) on [Linux](/wiki/linux.md).
Examples for runners are [WINE](/wiki/linux/wine.md), [Steams Proton](/wiki/game/proton.md) or
[Flatpak](/wiki/linux/flatpak.md).
Sources are platforms for game distributions like [Steam](/wiki/games/steam.md) and Lutris itself.
Sources are platforms for game distributions like [Steam](/wiki/game/steam.md) and Lutris itself.
Both sources and runners can be added and removed as needed by entering `Preferences` through the
drop-down menu and toggling on or off sources aswell as installing or uninstalling runners.
@@ -174,6 +174,6 @@ handled by [WINE](/wiki/linux/wine.md) one point of failure is the selected
WINE version.
Change the version used as explained in
[the regarding section](#change-wineproton-version).
Especially trying [Proton GE versions](/wiki/games/proton.md#ge-version) or
Especially trying [Proton GE versions](/wiki/game/proton.md#ge-version) or
WINE fshack versions can lead to successful running of the game.
Specific games also benefit from running [Caffe](/wiki/games/bottles.md#caffe).
Specific games also benefit from running [Caffe](/wiki/game/bottles.md#caffe).

View File

@@ -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/games/trading_card_games.md).
[collectible card game](/wiki/game/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
@@ -21,7 +21,7 @@ This is also known as MTG Online or MTGO.
It is also possible to remotely play with tabletop cards.
This is most easily done on [Spelltable](https://spelltable.wizards.com/) which is an official
website by Wizards.
For playing Spelltable a [webcam](/wiki/webcams.md) is needed to be set up with a bird's eye view
For playing Spelltable a [webcam](/wiki/webcam.md) is needed to be set up with a bird's eye view
over the playing field.
An alternative to a normal webcam is [DroidCam](/wiki/android/droidcam.md) for
[Android](/wiki/android.md) which is supported by the website itself.

View File

@@ -1,6 +1,6 @@
# Medieval 2: Total War
Medieval 2: Total War is a [game](/wiki/games.md) from the [Total War](https://www.totalwar.com)
Medieval 2: Total War is a [game](/wiki/game.md) from the [Total War](https://www.totalwar.com)
series.
## Mods

View File

@@ -1,6 +1,6 @@
# Minecraft
[Minecraft](https://www.minecraft.net) is a sandbox [video game](/wiki/games.md) created by "Notch".
[Minecraft](https://www.minecraft.net) is a sandbox [video game](/wiki/game.md) created by "Notch".
## Setup
@@ -62,7 +62,7 @@ For safety reasons it is advised to back up the instance before updating the ver
Mods can be installed client- and server-side.
For client-side mods most [up-to-date clients](#client) feature an easy installation process.
Especially [MultiMC5 and its derivatives](/wiki/games/multimc5.md) have an easy way to achieve
Especially [MultiMC5 and its derivatives](/wiki/game/multimc5.md) have an easy way to achieve
this.
For the installation of server-side mods the process can vary slightly depending on the
[server host](#server).

View File

@@ -1,7 +1,7 @@
# MultiMC5
[MultiMC5](https://multimc.org) is a custom launcher that allows multiple instances of the
[game](/wiki/games.md) [Minecraft](./minecraft.md) to be installed at once.
[game](/wiki/game.md) [Minecraft](./minecraft.md) to be installed at once.
In recent times there have been problems with the maintainer of MultiMC5.
Due to this similar launchers like the [Prism Launcher](https://prismlauncher.org/) have gotten
popular.
@@ -31,7 +31,7 @@ OptiFine available.
- Navigate to `Loader Mods` and press `Add`, then select the downloaded
OptiFine file
OptiFine works best on older [Minecraft](/wiki/games/minecraft.md) versions.
OptiFine works best on older [Minecraft](/wiki/game/minecraft.md) versions.
Some people recommend [Sodium](https://modrinth.com/mod/sodium/versions) or other optimization mods
to use on newer versions.

View File

@@ -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/games/trading_card_games.md) and more.
[trading card game](/wiki/game/trading_card_game.md) and more.
## Resources

View File

@@ -1,7 +1,7 @@
# Proton
[Proton](https://github.com/ValveSoftware/Proton) is a compatibility tool for
[games](/wiki/games.md) made by the developers of [Steam](./steam.md),
[games](/wiki/game.md) made by the developers of [Steam](./steam.md),
[Valve](https://www.valvesoftware.com).
It is based on [WINE](../linux/wine.md).
@@ -22,7 +22,7 @@ can be installed through [Flatpak](../linux/flatpak.md) or the package manager
of the distribution.
ProtonUp is usually bundled in a package named `protonup-qt`.
It can be used to install Proton GE versions for both
[Steam](/wiki/games/steam.md) and [Lutris](/wiki/games/lutris.md).
[Steam](/wiki/game/steam.md) and [Lutris](/wiki/game/lutris.md).
## Troubleshooting

View File

@@ -1,7 +1,7 @@
# Sid Meier's Civilization VI
[Sid Meier's Civilization VI](https://civilization.com/de-DE/) is a round-based
strategy [game](/wiki/games.md) which is available as a standalone Launcher for Windows and on
strategy [game](/wiki/game.md) which is available as a standalone Launcher for Windows and on
[Steam](./steam.md) and many other video game distribution services.
## Troubleshooting

View File

@@ -1,6 +1,6 @@
# Steam
[Steam](https://store.steampowered.com/) is a software for digital [game](/wiki/games.md)
[Steam](https://store.steampowered.com/) is a software for digital [game](/wiki/game.md)
destribution.
It is developed by [Valve](https://www.valvesoftware.com).
Steam uses its compatibility layer, [Proton](./proton.md) for running windows
@@ -40,13 +40,13 @@ This will open the website with the Steam browser.
The following paragraph explains the usage of [SteamGridDB](https://www.steamgriddb.com/) in a
normal Steam installation.
For [Steam Deck](/wiki/games/steam_deck.md) users the
[plugin manager Decky](/wiki/games/steam_deck.md#plugin-manager-decky) can be used to install
For [Steam Deck](/wiki/game/steam_deck.md) users the
[plugin manager Decky](/wiki/game/steam_deck.md#plugin-manager-decky) can be used to install
SteamGridDB in a package of the same name.
Icons and Banners can then be changed by opening the menu after selecting a game and selecting
`Change Artwork...`.
[Images](/wiki/images.md) for games can be changed by downloading them and applying them manually.
[Images](/wiki/image.md) for games can be changed by downloading them and applying them manually.
An easier route can be taken by using
[SGDBoop](https://www.steamgriddb.com/boop).
To use it, you first need to install it.
@@ -74,7 +74,7 @@ The data stored this way can be accessed on the
[corresponding website](https://store.steampowered.com/account/remotestorage).
Games can also be synchronized without the Steam Cloud by using [Syncthing](/wiki/syncthing.md) as
described in [the games entry](/wiki/games.md#syncing-game-saves-across-systems).
described in [the games entry](/wiki/game.md#syncing-game-saves-across-systems).
## Error Handling

View File

@@ -1,15 +1,15 @@
# Steam Deck
The [Steam Deck](https://store.steampowered.com/steamdeck) is a handheld [gaming](/wiki/games.md)
computer made by the same developers as [Steam](./steam.md),
The [Steam Deck](https://store.steampowered.com/steamdeck) is a handheld [gaming](/wiki/game.md)
computer made by the same developers as [Steam](/wiki/game/steam.md),
[Valve](https://www.valvesoftware.com).
Due to its form factor it can be used especially well to play games that need a
controller, such as many games that run on [emulators](./emulators.md).
controller, such as many games that run on [emulators](/wiki/emulator.md).
But by adding a USB-hub and connecting keyboard and mouse it can be used to
play classical PC games aswell.
As the Steam Deck is using a linux based operating system all the windows based
games are run with the help of [Proton](./proton.md).
The Steam Deck includes the Flatpak based [Discover](../linux/flatpak.md)
games are run with the help of [Proton](/wiki/game/proton.md).
The Steam Deck includes the Flatpak based [Discover](/wiki/linux/flatpak.md)
software management suite to install additional software.
## Usage
@@ -22,18 +22,18 @@ software management suite to install additional software.
### Running a Game Directly Through the Interface
Simple programs can be started from inside the gaming mode by adding it as a
[non-Steam game](/wiki/games/steam.md#adding-non-steam-games).
[non-Steam game](/wiki/game/steam.md#adding-non-steam-games).
For [emulator games](/wiki/games/emulators.md) the setup is more complex.
For [emulator games](/wiki/emulator.md) the setup is more complex.
Firstly the emulator needs to be added as a
[non-Steam game](/wiki/games/steam.md#adding-non-steam-games).
To run a game instantly the path to the [ROM](./emulators.md) needs to be
[non-Steam game](/wiki/game/steam.md#adding-non-steam-games).
To run a game instantly the path to the [ROM](/wiki/emulator.md) needs to be
appended to the command used for starting the emulator needed for it.
This should be made in quotation marks as it could contain characters that need
to be escaped.
Afterwards the icons and banners of it can be set using
[SteamGridDB](/wiki/games/steam.md#setting-icons-and-banners-for-games).
[SteamGridDB](/wiki/game/steam.md#setting-icons-and-banners-for-games).
### Plugin Manager Decky
@@ -48,5 +48,5 @@ There plugins can be installed and removed aswell as managed.
The following list includes some useful plugins.
- [SteamGridDB](/wiki/games/steam.md#setting-icons-and-banners-for-games) can be used for setting
new and better [images](/wiki/images.md) for games.
- [SteamGridDB](/wiki/game/steam.md#setting-icons-and-banners-for-games) can be used for setting
new and better [images](/wiki/image.md) for games.

9
wiki/game_engine.md Normal file
View File

@@ -0,0 +1,9 @@
# Game Engine
A game engine is a framework to create [games](/wiki/game.md).
## List of Game Engines
The following list contains various game engines.
- [LOVE](/wiki/love.md) is a game engine to create 2-dimensional games using lua.

View File

@@ -1,29 +0,0 @@
# Emulators
An Emulator is a hard- or software that enables a computer to behave like
another computer.
In the [gaming](/wiki/games.md) context this is mainly used to run games from a console on
another computer.
Emulators usually need ROMs to run games.
ROMs are a digital copy of a video game.
Please note that downloading ROMs of licensed games is not permitted due to copyright.
All [emulators](#list-of-emulator-software) should only use non copyright infringing ROMs.
Due to its form factor emulators can be installed and used nicely on a
[Steam Deck](/wiki/games/steam_deck.md).
Emulator games can even be
[started through the normal interface](/wiki/games/steam_deck.md#running-a-game-directly-through-the-interface).
## List of Emulator software
- [Citra](/wiki/games/emulators/citra.md) emulates Nintendo 3DS games.
- [Dolphin](/wiki/games/emulators/dolphin.md) emulates Nintendo GameCube and Wii games.
- [melonDS](/wiki/games/emulators/melonds.md) emulates Nintendo DS games.
- [mGBA](/wiki/games/emulators/mgba.md) emulates Nintendo Game Boy, Game Boy Color and Game Boy Advanced
games.
- [Nestopia](/wiki/games/emulators/nestopia.md) emulates Nintendo Entertainment System games.
- [PCSX2](/wiki/games/emulators/pcsx2.md) emulates PlayStation 2 games.
- [PPSSPP](/wiki/games/emulators/ppsspp.md) emulates PlayStation Portable games.
- [simple64](/wiki/games/emulators/simple64.md) emulates Nintendo 64 games.
- [Snes9x](/wiki/games/emulators/snes9x.md) emulates Super Nintendo Entertainment System games.
- [yuzu](/wiki/games/emulators/yuzu.md) emulates Nintendo Switch games.

View File

@@ -1,12 +0,0 @@
# Trading Card Games
Trading card games - short TCG - sometimes also named collectible card game - short CCG - is a card
game that is based on strategic deck building but also features elements of trading cards.
## Popular Trading Card Games
The following is a list of popular TCGs.
- [Magic: The Gathering](/wiki/games/magic%3A_the_gathering.md) is the oldest TCG.
It was introduced in 1993.
- [Pokemon TCG](/wiki/games/pokemon.md) is a TCG from the Pokemon franchise made by Nintendo.

View File

@@ -1,4 +1,4 @@
# Git
# Git (Server)
Git is probably the best version control system (VCS) there is.
It's easy and can be lightweight, but also has tons of possibilities for using graphical (including
@@ -10,9 +10,8 @@ Git consists of two parts: [a client](#client) and [a server](#server).
### Client
The Git client for [Linux-based operating systems](/wiki/linux.md) has a
separate article in this wiki which is called
[Git client](/wiki/linux/git_\(client\).md).
The Git package which can be used as a client for [Linux-based operating systems](/wiki/linux.md)
has a [separate article](/wiki/linux/git_%28package%29.md).
### Server

View File

@@ -5,18 +5,18 @@ It is similar to GitHub but opensource.
## Setup
Gitea as a [Git](./git.md) service consists of a [client](#client) and a
Gitea as a [Git](/wiki/git_%28general%29.md) service consists of a [client](#client) and a
[server](#server).
### Server
The software can be setup via [Docker](/wiki/docker.md) with the
[gitea image](./docker/gitea_-_gitea.md).
[gitea image](/wiki/docker/gitea_-_gitea.md).
Additionally to this a client is needed on the system that need access to the
server software.
### Client
If you want to use all features in addition to the basic client described in
[git.md](git.md) but don't want to use the web-interface all the time you can get
[tea](https://gitea.com/gitea/tea) the official cli-tool for gitea.
[the git entry](/wiki/git_%28general%29.md) but don't want to use the web-interface all the time you
can get [tea](https://gitea.com/gitea/tea) the official cli-tool for gitea.

21
wiki/globalprotect.md Normal file
View File

@@ -0,0 +1,21 @@
# GlobalProtect
[GlobalProtect](https://www.paloaltonetworks.de/resources/datasheets/globalprotect-datasheet) is a
cross-platform [VPN](/wiki/vpn.md).
## Installation
The GlobalProtect client is available for [Windows](/wiki/windows.md), MacOS,
[Linux](/wiki/linux.md), [Android](/wiki/android.md) aswell as iOs and iPadOS.
On some Linux distributions the package is called `globalprotect-openconnect` but the corresponding
command is called `gpclient` which can sometimes lead to confusion.
## Usage
The usage of the GlobalProtect client is pretty simple.
After starting the program the portal address has to be added and is followed by a login.
Afterwards the client will connect.
GlobalProtect is usually used by bigger companies and universities like the
[University of Oldenburg](https://uol.de/it-services/services/campus-network) which wrote a proper
installation and usage guide for all the operating systems that are supported.

View File

@@ -0,0 +1,37 @@
# Hardware (General)
This entry focusses on various hardware components of a general desktop PC or a laptop.
For [Linux](/wiki/linux.md) Systems see
[the corresponding entry](/wiki/linux/hardware_%28linux%29.md).
## Contents of Technic Bag
The following are components that are useful to be included in cable- and technic bags to.
For power banks and power supplies it is useful to check for the power delivery standard.
When using PD3.1 or higher special cables containing the e-marker chip are needed to reach charging
speeds greater than 100W.
For all components the bandwith should be checked to match the needs.
- USB-C Power Supply
- USB-C Power Bank
- Various USB-C to USB-C cables (male to male) (3m, 2m, 2x 1m, 2x 30cm)
- 1m CAT (8.1) cable
- 3.5mm Y-Splitter (male to female)
- USB-C to 3.5mm adapter (male to female)
- 3.5mm Y-Splitter Audio/Microphone (male to female)
- 3.5mm Y-Splitter Audio/Microphone (female to male)
- HDMI 25cm extension cable (male to female)
- USB-A WLAN adapter
- USB-A Presenter
- Wireless HDMI Transmitter & Receiver
- USB-C hub (with outputs like HDMI, (micro-)SD card, 2x USB-C, 2x USB-A)
- USB-C to CAT adapter (male to female)
- HDMI to VGA adapter (female to male)
- 2x USB-A - USB-A extension adapter (female to female)
- 2x USB-C - USB-C extension adapter adapter (female to female)
- 2x USB-C - USB-C (90 degree-)tiltable adapter (female to male)
- 3x USB-C - USB-B adapter (female to male)
- 3x USB-A - USB-C adapter (male to female)
- USB-C multimeter
- Additional adapter (USB-C to proprietary standards like smart watches, laptops, etc)
- (micro-)SD cards & USB-A/USB-C sticks

View File

@@ -1,7 +1,7 @@
# Home Assistant
[Home Assistant](https://www.home-assistant.io/) is a central control system for
[smart home](/wiki/smart_devices.md#smart-home) and other Internet of Things devices.
[smart home](/wiki/smart_device.md#smart-home) and other Internet of Things devices.
## Setup

View File

@@ -1,25 +1,32 @@
# Images
# Image
An image is a visual representation of something.
In the computer context it is a file with an extension like `png`, `jpg`, `gif` among others.
In the computer context it is a file with an extension like `png`, `jpg`, `gif` and `svg` for
vector graphics but there are many more.
This entry also features medicinal image and visual formats such as DICOM.
## Clients
## Viewer
- [sxiv](https://github.com/xyb3rt/sxiv) is an image viewer for [Linux'](/wiki/linux.md)
[X window system](/wiki/linux/x_window_system.md).
- [Weasis](https://github.com/nroduit/Weasis) is a cross-platform DICOM viewer.
## Editing
## Editors
Editing images can be done by various image manipulation software.
A popular cross-platform program for this is [GIMP](https://www.gimp.org/).
A second cross-platform software suite for displaying, creating and editing (raster) images is
[ImageMagick](/wiki/imagemagick.md).
- [GIMP](https://www.gimp.org/) 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.
- [Inkscape](/wiki/inkscape.md) is a cross-platform vector graphic editor.
- [draw.io](/wiki/drawio.md) is a cross-platform program and web application for creating and
editing diagrams.
Another part of image manipulation is the upscaling of low resolution images.
This can be done by the cross-platform program [upscayl](https://github.com/upscayl/upscayl).
## Management
Digital images can be stored and managed.
A software that has a similar look and feel to Google Photos is [Immich](/wiki/immich.md).
### Getting Metadata

9
wiki/immich.md Normal file
View File

@@ -0,0 +1,9 @@
# Immich
[Immich](https://immich.app/) is a management software for [digital images](/wiki/image.md).
## Setup
The software can be setup via [Docker](/wiki/docker.md) with the
[immich-app image](/wiki/docker/immich-app_-_immich-server.md).

38
wiki/inkscape.md Normal file
View File

@@ -0,0 +1,38 @@
# Inkscape
[Inkscape](https://inkscape.org/) is a cross-platform editor for vector graphics.
## Setup
On the [Inkscape website](https://inkscape.org/release/) setup files for
[Windows](/wiki/windows.md), MacOS and [Linux](/wiki/linux.md) can be found.
On most Linux distributions Inkscape can usually be installed with the corresponding
[package manager](/wiki/linux/package_manager.md).
## Usage
This section addresses various way to use Inkscape for specific tasks.
### Convert Handwriting to Vector Graphic
This section is based on a two source.
One is a [YouTube video by vecteezy](https://www.youtube.com/watch?v=gW19K11ihIc) which explains the
setting of the levels, aswell as the tracing of the bitmap.
though an older version was used which is why some features may be found at another place in the
menus.
This was changed accordingly for the following guide.
The other is a [YouTube video by Logos By Nick](https://www.youtube.com/watch?v=EFHLF1hcrjg) which
explains the simplification process.
To convert handwriting to a vector graphic an image of the writing should first be opened in
Inkscape.
First the levels of black and white can be changed by using `Extensions > Raster > Levels` and
changing the values for white and black points.
Afterwards the bitmap should be traced.
For this select `Path > Trace Bitmap` and change the values in the Detection mode
`Brightness cutoff` until it matches your expectations.
After this the image has been converted to a bitmap, but most of the times it is not smooth and has
quite some errors.
The removal can be done by hand by removing the points manually.
This is useful to do for bigger errors.
For smaller errors `Path > Simplify` can be used.

11
wiki/jelu.md Normal file
View File

@@ -0,0 +1,11 @@
# Jelu
[Jelu](https://github.com/bayang/jelu) is a tracking software for books and
[e-books](/wiki/e-book.md).
It includes locally stored subscription management.
## Setup
The software can be setup via [Docker](/wiki/docker.md) with the
[wabayang image](/wiki/docker/wabayang_-_jelu.md).

View File

@@ -0,0 +1,28 @@
# android-file-transfer
[android-file-transfer](https://github.com/whoozle/android-file-transfer-linux) is an MTP client
that allows accessing the files of an [Android](/wiki/android.md)
[smart device](/wiki/smart_device.md#smartphones-and-tablet-computers) under
[Linux](/wiki/linux.md).
## Setup
On most linux distributions Khal can be installed with the `android-file-transfer` package.
Alternatively it can be installed via
[GitHub](https://github.com/whoozle/android-file-transfer-linux).
## Usage
This section addresses the usage of android-file-transfer.
### Mounting and Unmounting Android Device
An [Android](/wiki/android.md)
[smart device](/wiki/smart_device.md#smartphones-and-tablet-computers) can be mounted by using the
following command.
Please note that this command assumes one Android device is connected via USB.
In this case the device will be mounted on the directory `~/mnt`.
```sh
aft-mtp-mount ~/mnt
```

View File

@@ -22,7 +22,7 @@ The installation of a basic Arch Linux system is described in the
The entry features a guide to install a system with a X server setup aswell as
programs for the most used tasks on a system.
### ISO Medium
### Create Installation Medium
For the installation usage of a simple USB key is advised.
This has to be flashed with the Arch ISO.
@@ -30,7 +30,10 @@ The ISO file can be found on the
[official website](https://www.archlinux.org/download/).
The iso can be written on an USB-stick using the command
`dd bs=4M if=<path to ISO> of=/dev/sdx conv=fsync oflag=direct status=progress`.
`<path to ISO>` points the command to the location of the ISO file
`<path to ISO>` points the command to the location of the ISO file.
Alternatively a [Ventoy stick can be created](/wiki/ventoy.md) which can contain multiple
[ISO images](/wiki/linux/iso_image.md) without flashing.
## Usage
@@ -70,7 +73,7 @@ This section addresses problems that can occur when using Arch Linux.
This section focusses on a basic guide to troubleshoot systems that are not bootable.
To access the files of the system an Arch Linux boot stick has to be created as explained in
[a previous section](#iso-medium).
[a previous section](#create-installation-medium).
After booting into it set your keymap layout using the `loadkeys` setup similar to
[the installation preparation](/wiki/linux/arch-linux/installation.md#1-preparation).
Afterwards [mount](/wiki/linux/disk-management.md#mounting) the partition that contains the root

View File

@@ -15,6 +15,7 @@ The following is a list of installations using this guide and if it is working.
| Commit | Date | Device | Working |
| ------- | ---------- | ---------------------- | ----------- |
| f8b83cf | 19.02.2025 | Lenovo E14 AMD Version | No Problems |
| 033ad68 | 02.03.2025 | Acer Switch Alpha 12 | No Problems |
## 1. Preparation
@@ -84,7 +85,7 @@ The right partition has the label `Linux filesystem`.
For this guide this partition is assumed to be `/dev/sda2`.
```sh
cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sda2
cryptsetup -c aes-xts-plain -s 512 -y -v luksFormat /dev/sda2
```
Afterwards confirm with `YES`.
Now you can assign a passphrase.
@@ -122,7 +123,10 @@ Now the created filesystems will be mounted for the installation.
## 6. Starting base installation
Now you need a working internet connection.
Plug in your lan cable or use `wifi-menu` to get a wireless connection.
If a wireless internet connection is needed start `iwctl`, scan (`station wlan0 scan`) and connect
to the router (`station wlan0 connect <router ssid>`).
Afterwards the internet connection will be established.
Exit `iwctl`.
- `pacstrap /mnt base base-devel dosfstools gptfdisk lvm2 linux linux-firmware vim networkmanager ntp`
- `genfstab -Up /mnt > /mnt/etc/fstab` - creation of fstab
@@ -157,14 +161,14 @@ en_US.UTF-8 UTF-8
- Search the line `MODULES=()` and change it to:
`MODULES=(ext4)`
- Search the line `HOOKS=([...])` and change it to:
`HOOKS=(base udev autodetect modconf block kms keyboard keymap consolefont encrypt lvm2 filesystems resume fsck shutdown)`
`HOOKS=(base udev autodetect microcode modconf block kms keyboard keymap consolefont encrypt lvm2 filesystems resume fsck shutdown)`
- `mkinitcpio -p linux` - generate Kernel-Image
## 9. Install and configure UEFI bootloader
- `bootctl install` - Prepare bootloader
- `ls -l /dev/disk/by-uuid` - find out the UUID of your root partition.
- `ls -l /dev/disk/by-uuid` - find out the UUID of your root partition (matching `/dev/sda2`).
- `vim /boot/loader/entries/arch.conf` - Create configuration
- Change the config to look similar to this:
@@ -225,6 +229,9 @@ UEFI, don't forget to enable the EFI option, otherwise the system won't boot.
## 13. Further steps and graphical environment
For the following steps to work you may need to repeat the network setup if you use WLAN.
This can easily be done by using `nmtui`.
Now you can follow the recommended larbs installation script of this wiki
(`curl -LO larbs.sh https://raw.githubusercontent.com/tiyn/larbs/master/larbs.sh`)
this will install a bunch of useful base software including
@@ -235,6 +242,10 @@ Especially the
[Recommended practices](/wiki/linux/arch-linux.md#recommended-practices)
should be checked for further setups.
In some cases the Arch keyring needs to be repopulated.
This is discussed in
[the package manager entry](/wiki/linux/package_manager.md#error-during-updating-is-marginal-trust).
Additionally if you have a NVidia Graphics Cards you should read
[the NVidia article](../nvidia.md) too.

View File

@@ -74,11 +74,3 @@ If the fn keys are not working properly run
[a script](https://github.com/tiyn/dotfiles/blob/master/.local/bin/etc/fchange)
that changes the `sys/module/hid_apple/parameters/fnmode` file.
This toggles between the two different fn key functions.
## Toggle the touchpad
To toggle the touchpad on or off
[a simple script](https://github.com/tiyn/dotfiles/blob/master/.local/bin/tools/dwm/toggletouchpad)
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.

View File

@@ -0,0 +1,29 @@
# Display Managers
Display managers are graphical user interfaces that is displayed after booting.
Usually it also manages the login process before starting the window manager.
## List of Display Managers
The following display managers are featured in this wiki.
- [LightDM](/wiki/linux/lightdm.md) is a lightweight GUI display manager.
- [Lemurs](/wiki/linux/lemurs.md) is a lightweight TUI display manager.
- [Ly](/wiki/linux/ly.md) is a lightweight display manager with consolue UI.
## Use `xinitrc` as `xsession`
Often a display manager needs a `xsession` to work.
For this `xinit-xsession` needs to be installed which is available on most
[Linux distributions](/wiki/linux.md#distributions) in a package of the same name.
When setting this up there should be no `~/.xsession` available.
If it is please use another setup or backup this file.
Make the `xinitrc` file executable as shown in the following command and link it to the `xsession`
file.
```sh
chmod +x ~/.xinitrc
ln -s ~/.xsession ~/.xinitrc
```
Afterwards the session will start like the `xinitrc`

View File

@@ -7,7 +7,7 @@ DM-Crypt can create and manage encrypted devices.
### Creating an Encrypted Devices
To create a encrypted device simply run:
`cryptsetup -y -v luksFormat /dev/sda2`.
`cryptsetup -c aes-xts-plain -s 512 -y -v luksFormat /dev/sda2`.
Where `/dev/sda2` is the device to be created.
### Create/Add a Key File to an encrypted volume
@@ -173,4 +173,40 @@ Additionally the following lines has to be adapted and added to the file
[universally unique identifier](/wiki/linux/disk-management.md#universally-unique-identifier)
of the volume.
`<location of key file>` describes the location where to find the key file
created in the previous step.
created in the previous step (for example `/root/key.bin`).
### Use FIDO2 to Unlock a Volume
To use a FIDO2-Stick on [Linux-based systems](/wiki/linux.md) with
[DM-Crypt](/wiki/linux/dm-crypt.md) first set up the FIDO2 stick and add it to the encrypted
volume.
```sh
ll /dev/hidraw0
fido2-token -S /dev/hidraw0
sudo systemd-cryptenroll --fido2-device=auto /dev/nvme0n1p1
sudo cryptsetup open --token-only /dev/nvme1n1p2 test
```
Next the hooks in the file `/etc/mkinitcpio.conf` need to be changed.
It is recommended to set up [Plymouth]() so that the login screen is clean.
Switch `udev` and other `HOOKS` to `systemd`.
Next remove the UDEV-rules for usb-decryption in `FILES`.
For this switch `udev keymap consolefont encrypt` to `systemd sd-vconsole sd-encrypt`.
Then the file `/boot/loader/entries/arch.conf` and `/boot/loader/entries/arch-fallback.conf` needs
to be changed.
For this the following example is given.
Notice that `cryptdevice=UUID=` is switched to `rd.luks.name=` aswell as various options.
```txt
options cryptdevice=UUID=3c306b1b-49a5-48c1-b93f-a619b96d6855:lvm:allow-discards root=/dev/mapper/main-root resume=/dev/mapper/main-swap rw quiet splash cryptdevice=/dev/usbkey:14848:2048
```
```txt
options rd.luks.name=3c306b1b-49a5-48c1-b93f-a619b96d6855=lvm rd.luks.options=discard,fido2-device=auto root=/dev/mapper/main-root resume=/dev/mapper/main-swap rw quiet splash
```
Finally rebuild the initramfs `sudo mkinitcpio -p linux` and `reboot`.
Make sure to touch FIDO2-key during boot to make it work.

View File

@@ -66,7 +66,7 @@ bitrate and audio bitrate.
### Create a Virtual Camera Using an IP Video Stream
The following section will create a virtual [webcam](/wiki/webcams.md) from an IP video stream like
The following section will create a virtual [webcam](/wiki/webcam.md) from an IP video stream like
the one provided by [IP Webcam](/wiki/android/ip_webcam.md) [Android](/wiki/android.md) app.
For this a free [V4L2](/wiki/linux/v4l2.md) video device will be needed.
To information on how to create it navigate to the V4L2 entry and its sections on

View File

@@ -155,6 +155,6 @@ intended to be used as day-to-day font.
- [MagicMedieval & MagicSymbols](http://www.thealmightyguru.com/GameFonts/Series-MagicTheGathering.html)
are fonts that are similar to the font used in the game
[Magic: The Gathering](/wiki/games/magic%3A_the_gathering.md).
[Magic: The Gathering](/wiki/game/magic%3A_the_gathering.md).
An overview of the glyphs can be found in a
[StackExchange post by Cicada](https://tex.stackexchange.com/questions/570890/how-can-i-typeset-magic-the-gathering-symbols-using-the-pifont-package-in-latex).

22
wiki/linux/ghostscript.md Normal file
View File

@@ -0,0 +1,22 @@
# Ghostscript
[Ghostscript](https://ghostscript.com) is a program used to convert, compress and render different
formats like PDF, PostScript and more.
## Setup
The Ghostscript program can be installed on most [Linux](/wiki/linux.md) distributions and
[package managers](/wiki/linux/package_manager.md) via a package called `ghostscript`.
## Usage
This section addresses the usage of Ghostscript.
### Compressing a PDF File
A PDF file can be compressed using Ghostscript by running the following command.
`<input-file>` and `<output-file>` are the paths to the input and output PDF files.
```sh
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile=<output-file> <input-file>
```

View File

@@ -2,6 +2,9 @@
This entry deals with the Git client used in
[Linux-based systems](/wiki/linux.md).
For a basic overview and the server setup of git see the
[corresponding entry](/wiki/git_%28general%29.md)
The client is pretty simple to understand.
With only a handfull of commands you should be able to get your versioning going.
For servers with web interfaces there are different cli tools to control it

View File

@@ -10,6 +10,8 @@ On most linux distributions GPG can be installed with the `gnupg` package.
## Usage
This section addresses the usage of the Open GPG.
### Generating a Key Pair
A fast way to generate a key pair is by running the following command.
@@ -100,3 +102,33 @@ Replace `<id>` with the identifier of the key that should be received and truste
gpg --recv-key <id>
gpg --lsign <id>
```
## Troubleshooting
This section will focus on errors and the fixing of errors of GPG.
### `keyblock resource '.../pubring.kbx': No such file or directory`
This error mostly occurs when updating packages via various
[package managers](/wiki/linux/package_manager.md).
It can easily be fixed by running the following command.
Which will (re-)generate the needed files and directories for GPG.
```sh
dirmngr
```
### `gpg: keyserver receive failed: No data`
This error mostly occurs when updating packages via various
[package managers](/wiki/linux/package_manager.md).
It prevents specific packages from installing after the PGP key is not imported correctly.
This can be fixed by importing the PGP key manually by the following command.
In this command `<key-id>` is the id for the PGP key given by the package manager before the error
occurs.
`hkp://pgp.rediris.es` is a key server that can be used but other possibilities are available and
can and should be used depending on the location.
```sh
gpg --keyserver hkp://pgp.rediris.es --recv-key <key-id>
```

46
wiki/linux/gtk.md Normal file
View File

@@ -0,0 +1,46 @@
# GTK
[GTK](https://gtk.org) is an GUI and widget toolkit.
## Setup
On most linux distributions different GTK versions are installed as a dependency of various
programs that use graphical user interfaces.
### Configurations
GTK has different versions.
For GTK3 and GTK4 configurations can be achieved by creating the file `settings.ini` in the folders
`~/.config/gtk-3.0` and `~/.config/gtk-4.0`.
An example file that enables dark mode, uses the Adwaita theme and sets the default font to
sans-serif of size 12 looks something like the following.
```txt
[Settings]
gtk-application-prefer-dark-theme = true
gtk-icon-theme-name = Adwaita
gtk-font-name = Sans 12
```
For GTK2 an older version of config files has to be used.
The file can be found or created at `~/.config/gtk-2.0/gtkrc-2.0`.
A similar setup to the previous configuration of GTK3 and GTK4 can be achieved by the following.
```txt
gtk-theme-name="AdwaitaDark"
gtk-font-name="Sans 12"
```
#### Achieving a System-Wide Uniform Look
[Qt](/wiki/linux/qt.md) is the other big widget toolkit in use.
An easy way to achieve a uniform look of GTK and Qt is the usage of the Adwaita theme in both
toolkits.
This is also described in the
[official Arch wiki](https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Styles_for_both_Qt_and_GTK).
Since it is the default theme on GTK it just has to be set inside as described in the
[configuration section](#configuration).
For setting the same theme for Qt refer to the
[corresponding entry](/wiki/linux/qt.md#achieving-a-system-wide-uniform-look).

View File

@@ -0,0 +1,60 @@
# Hardware (Linux)
This entry focusses on various hardware components of a [Linux](/wiki/linux.md) desktop PC or a
laptop.
For non-Linux specific or general topics in hardware see the
[correspoding entry](/wiki/hardware_%28general%29.md)
## Battery
The battery of a notebook can be inspected by using the `upower` command.
To use it the tool needs to be installed.
In most [Linux](/wiki/linux.md) distributions this is bundled in a package of the same name.
A usage example is shown in the following command.
It will show the state, voltage, percentage and many other information about a given battery.
```sh
upower -i /org/freedesktop/UPower/devices/battery_BAT0
```
Alternatively `acpi` can be used to achieve the same.
For this run the following command.
```sh
acpi -b
```
## Power Management
Tools, programs and guides to manage the power usage and improve battery life are described in the
[power management entry](/wiki/linux/power_management.md).
## (Liquid) Coolers
The viewing of temperatures of coolers aswell as the selection of RGB-settings can be achieved by
using [liquidctl](https://github.com/liquidctl/liquidctl).
## Temperature
To check the temperature the command `sensors` can be used which (on most distributions) is a part
of the `lm_sensors` package.
It will then display all the available temperature sensors available aswell as many other sensors
like the RPM for fans.
## ThinkPad TrackPoint
This section is based on a
[Reddit comment by zedbraxmen](https://www.reddit.com/r/thinkpad/comments/wjb8qz/configuring_trackpoint_in_wayland/).
The sensitivity and speed of the classic trackpoint on ThinkPads can be changed using UDEV rules.
The following lines are an example for a potential file `.rules` located at `/etc/udev/rules.d/`.
It could look something like the following.
The values for sensitivity and speed could be adjusted.
```txt
ACTION=="add",
SUBSYSTEM=="input",
ATTR{name}=="TPPS/2 IBM TrackPoint",
ATTR{device/sensitivity}="275",
ATTR{device/speed}="215",
```

View File

@@ -25,3 +25,12 @@ The file names have to be changed according to the situation.
```sh
bchunk IMAGE.bin IMAGE.cue IMAGE.iso
```
### Linux Boot Stick
Many [Linux distributions](/wiki/linux.md), but also [Windows](/wiki/windows.md) use boot sticks
to install or repair the system.
The [Arch Linux entry](/wiki/linux/arch-linux.md) contains a section on the
[creation of such a stick](/wiki/linux/arch-linux.md#create-installation-medium).
An alternative to this is [Ventoy](/wiki/ventoy.md) which is cross-platform and can contain
multiple `.iso` files at the same time.

31
wiki/linux/lemurs.md Normal file
View File

@@ -0,0 +1,31 @@
# Lemurs
[Lemurs](https://github.com/coastalwhite/lemurs) is a lightweight TUI
[display manager](/wiki/linux/display_managers.md).
It is available for both [X](/wiki/linux/x_window_system.md) and Wayland.
## Setup
On most linux distributions LightDM can be installed with the `lemurs` package.
This setup needs an `xsession`.
An alternative to this is using `xinitrc` as an `xsession`.
The process of this is desribed in the
[display manager entry](/wiki/linux/display_managers.md#use-xinitrc-as-xsession).
Make sure to have a working `xsession` or `xinitrc`.
If you are not sure about it, use the tests provided in the penultimate step.
Before finishing the setup the functionality should be tested.
This can be done by using one or both of the following commands.
```sh
systemctl start lemurs.service
```
Finally the [SystemD](/wiki/linux/systemd.md) lightdm service needs to be enabled and reboot the
system.
```sh
systemctl enable lemurs.service`
reboot
```

179
wiki/linux/lightdm.md Normal file
View File

@@ -0,0 +1,179 @@
# LightDM
[LightDM](https://github.com/canonical/lightdm/) is a lightweight GUI
[display manager](/wiki/linux/display_managers.md).
It is available for both [X](/wiki/linux/x_window_system.md) and Wayland.
## Setup
On most linux distributions LightDM can be installed with the `lightdm` package.
Additionally `lightdm-gtk-greeter` and `xorg-server-xephyr` are recommended.
This setup will work with [LightDM-GTK-Greeter](#lightdm-gtk-greeter) which is the default greeter.
If another greeter is to be chosen `lightdm-gtk-greeter` does not have to be installed, but an
alternative for it.
For a guide on how to set the greeter navigate to the [greeter section](#greeters).
This section will also discuss various other greeters like the
[LightDM-Mini-Greeter](#lightdm-mini-greeter).
This setup needs an `xsession`.
An alternative to this is using `xinitrc` as an `xsession`.
The process of this is desribed in the
[display manager entry](/wiki/linux/display_managers.md#use-xinitrc-as-xsession).
Make sure to have a working `xsession` or `xinitrc`.
If you are not sure about it, use the tests provided in the penultimate step.
Then edit the config file `~/.dmrc` and edit the file to the following contents.
```txt
[Desktop]
Session=xinitrc
```
Before finishing the setup the functionality should be tested.
This can be done by using one or both of the following commands.
```sh
lightdm --test-mode --debug
systemctl start lightdm.service
```
Finally the [SystemD](/wiki/linux/systemd.md) lightdm service needs to be enabled and reboot the
system.
```sh
systemctl enable lightdm.service`
reboot
```
## Greeters
LightDM features the option to choose between many different greeters.
This section focusses on various greeters.
The greeter can be set with the option `greeter-session` under the section `[Seat:*]` in the file
`/etc/lightdm/lightdm.conf`.
This will look similar to the following line.
```txt
[Seat:*]
greeter-session=lightdm-mini-greeter
```
If no `greeter-session` is set the default will fall back to the
[LightDM-GTK-Greeter](#lightdm-gtk-greeter).
### LightDM-GTK-Greeter
The [LightDM-GTK-Greeter](https://github.com/Xubuntu/lightdm-gtk-greeter) is the default greeter
for LightDM.
This is the default [greeter](#greeters) of [GTK](/wiki/linux/gtk.md) but others may be chosen.
### LightDM-Mini-Greeter
[LightDM-Mini-Greeter](https://github.com/prikhi/lightdm-mini-greeter) is a minimal, single-user
greeter.
For the LightDM-Mini-Greeter to work correctly some settings have to be set in the file
`/etc/lightdm/lightdm-mini-greeter.conf`.
The following lines show an example of this file.
The most important changes have been done to set the `user` under `[greeter]`
and `background-image` under `[greeter-theme]`.
The background image path can vary, but lightdm has to be able to access the
image.
```txt
# LightDM Mini Greeter Configuration
#
# To test your configuration out, run: lightdm --test-mode
[greeter]
# The user to login as.
user = user
# Whether to show the password input's label.
show-password-label = true
# The text of the password input's label.
password-label-text = Password:
# The text shown when an invalid password is entered. May be blank.
invalid-password-text = Invalid Password
# Show a blinking cursor in the password input.
show-input-cursor = true
# The text alignment for the password input. Possible values are:
# "left", "center", or "right"
password-alignment = left
# The number of characters that should fit into the password input.
# A value of -1 will use GTK's default width.
# Note: The entered width is a suggestion, GTK may render a narrower input.
password-input-width = -1
# Show the background image on all monitors or just the primary monitor.
show-image-on-all-monitors = false
[greeter-hotkeys]
# The modifier key used to trigger hotkeys. Possible values are:
# "alt", "control" or "meta"
# meta is also known as the "Windows"/"Super" key
mod-key = meta
# Power management shortcuts (single-key, case-sensitive)
shutdown-key = s
restart-key = r
hibernate-key = h
suspend-key = u
[greeter-theme]
# A color from X11's `rgb.txt` file, a quoted hex string(`"#rrggbb"`) or a
# RGB color(`rgb(r,g,b)`) are all acceptable formats.
# The font to use for all text
font = "Sans"
# The font size to use for all text
font-size = 1em
# The font weight to use for all text
font-weight = bold
# The font style to use for all text
font-style = normal
# The default text color
text-color = "#eeeeee"
# The color of the error text
error-color = "#F8F8F0"
# An absolute path to an optional background image.
# The image will be displayed centered & unscaled.
# Note: The file should be somewhere that LightDM has permissions to read
# (e.g., /etc/lightdm/).
background-image = "/etc/lightdm/background.jpg"
# The screen's background color.
background-color = "#0e0f14"
# The password window's background color
window-color = "#282828"
# The color of the password window's border
border-color = "#555a63"
# The width of the password window's border.
# A trailing `px` is required.
border-width = 2px
# The pixels of empty space around the password input.
# Do not include a trailing `px`.
layout-space = 15
# The character used to mask your password. Possible values are:
# "-1", "0", or a single unicode character(including emojis)
# A value of -1 uses the default bullet & 0 displays no characters when you
# type your password.
password-character = -1
# The color of the text in the password input.
password-color = "#eeeeee"
# The background color of the password input.
password-background-color = "#282828"
# The color of the password input's border.
# Falls back to `border-color` if missing.
password-border-color = "#282828"
# The width of the password input's border.
# Falls back to `border-width` if missing.
password-border-width = 2px
# The border radius of the password input.
password-border-radius = 0.341125em
```
## Troubleshooting
If it comes to problems that deny the login it can be useful to switch to another tty.
This can be done by hitting the key combination `CTRL+ALT+F2`.

26
wiki/linux/ly.md Normal file
View File

@@ -0,0 +1,26 @@
# Ly
[Ly](https://github.com/fairyglade) is a lightweight console UI
[display manager](/wiki/linux/display_managers.md).
## Setup
On most linux distributions Ly can be installed with the `ly` package.
This setup needs an executable `~/.xinitrc` file.
If you are not sure about it, use the tests provided in the penultimate step.
Before finishing the setup the functionality should be tested.
This can be done by using one or both of the following commands.
```sh
systemctl start ly.service
```
Finally the [SystemD](/wiki/linux/systemd.md) Ly service needs to be enabled and reboot the
system.
```sh
systemctl enable ly.service`
reboot
```

View File

@@ -1,9 +1,69 @@
# mkinitcpio
`mkinitcpio` is a script to create an initial ramdisk environment.
This environment provides the [Linux](/wiki/linux.md) kernel, containing essential drivers and
utilities required at boot.
## Kernel Versions
There are a few possible kernel version that can be used by `mkinitcpio`.
### Stable-Version: `linux`
The stable version of the [Linux](/wiki/linux.md) kernel can usually be found in a package called
`linux` and is usually installed from the start or in the recommended setup.
### Zen-Version: `linux-zen`
The zen kernel is a collaborative project of kernel hackers to provide the best
[Linux](/wiki/linux.md) kernel for everyday systems.
Especially the response time of the system under load
[is said to be better](https://github.com/zen-kernel/zen-kernel/wiki/Detailed-Feature-List#zen-kernel-improvements).
This will - for example - make the system less stuttery when something is compiled.
Desktop and gaming systems will benefit the most.
To setup the zen kernel do the following. Firstly install the packages `linux-zen` and
`linux-zen-header`.
Afterwards open the file `boot/loader/entries/arch.conf` and change the following lines.
```txt
linux /vmlinuz-linux
initrd /initramfs-linux.img
```
To look like the following lines.
```txt
linux /vmlinuz-linux-zen
initrd /initramfs-linux-zen.img
```
If you want to switch the backup to Zen too, the backup file in `boot/loader/entries/` has to be
changed too.
Afterwards the system should be rebooted for the change to take effect.
## Usage
The following addresses various usage and configuration choices for mkinitcpio.
### Default and Fallback Images
It is recommended to have at least one default and one fallback version for kernels.
After the initial generation of the kernel the configuration file can be found in the
`/etc/mkinitcpio.d` directory.
For the [`linux`-kernel](#stable-version-linux) it would contain `linux.preset` and for the
[`linux-zen`-kernel](#zen-version-linux-zen) `linux-zen.preset`.
Inside these preset files the following line manages the generation of a default or fallback image.
```txt
PRESETS=('default' 'fallback')
```
Notice that the options are separated only by a space.
To just build a fallback image remove `'default'` or vice versa.
Afterwards the initial ramdisk has to be [rebuild](#manually-generate-initial-ramdisk).
### Manually Generate Initial Ramdisk
The following command will (re-)generate the initial ramdisk by a preset, which in this case is
@@ -20,11 +80,27 @@ But it is also possible to (re-)generate all available presets with the followin
mkinitcpio -P
```
### Enable/Disable Compression
To save space on the boot partition the kernel images can be compressed.
To enable compression activate it in `/etc/mkinitcpio.conf` under `COMPRESSION=`.
In the configuration file some compression algorithms are recommended.
Additionally compression options can be set under `COMPRESSION_OPTIONS=`.
An easily usable example for this is the following line.
```txt
COMPRESSION_OPTIONS=(-v -5 --long)
```
To disable compression remove the corresponding lines.
After enabling and disabling of the compression the initial ramdisk has to be
[rebuild](#manually-generate-initial-ramdisk).
## Troubleshooting
This section addresses various errors that can happen when using mkinitcpio.
### '/lib/modules/xxxxxxx' is not a valid kernel module directory
### `'/lib/modules/xxxxxxx' is not a valid kernel module directory`
When you encounter an error like the header of this section when running
`mkinitcpio` try first to reinstall the `linux`, `linux-headers` and
@@ -37,3 +113,27 @@ to the correct location `/boot/initramfs-linux.img` in the boot directory (back
up the old one).
After that reboot and it should again work fine (Source:
[Unix Stackexchange](https://unix.stackexchange.com/questions/395402/lib-modules-4-9-8-1-arch-is-not-a-valid-kernel-module-directory)).
### `WARNING: Possibly missing firmware for module: ...`
If the warning `WARNING: Possibly missing firmware for module: ...` is shown during the process of
rebuilding the initramfs there is a firmware package missing.
It is not necessarily needed to install them but is recommended for the hardware to run correctly.
A simple table that shows firmware modules and corresponding
[Arch Linux](/wiki/linux/arch-linux.md) packages is shown on the
[Arch Linux wiki](https://wiki.archlinux.org/title/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX).
### `No space left on device`
If this error or one similar to this is shown the boot partition is filled up completely during the
generation of the initial ramdisk.
This can be fixed by either [compressing the image](#enabledisable-compression) or by
[disabling unused fallbacks](#default-and-fallback-images).
### `WARNING: Possibly missing firmware for module`
If the warning `WARNING: Possibly missing firmware for module` is shown a firmware package is
missing for the hardware of the system.
Though it is not neccessary it is recommended to install ist.
To check which firmware package is needed for which firmware module check
[the Arch Linux wiki](https://wiki.archlinux.org/title/Mkinitcpio#Possibly_missing_firmware_for_module_XXXX).

View File

@@ -2,6 +2,7 @@
NetworkManager - short NM - is a program to automatically detect and connect to
networks by providing options for various configuration.
It is used to set up [Wi-Fi](/wiki/linux/wi-fi.md).
## Setup
@@ -26,3 +27,18 @@ This plugin can be installed with the `networkmanager-openvpn` package.
OpenVPNs `.ovpn` files can then be imported by running
`nmcli connection import type openvpn file <openvpn-file>`.
Afterwards they can be modified accordingly.
## Troubleshooting
This section focusses on the troubleshooting of situations where the system does not connect
correctly.
### Restarting and Reenabling Wi-Fi
A useful chain of commands is the following.
It will restart the [SystemD](/wiki/linux/systemd.md) service and enable the Wi-Fi device.
```sh
systemctl restart NetworkManager
nmcli radio wifi on
```

View File

@@ -19,6 +19,33 @@ It features the same syntax.
This section addresses various usages of the arch linux package managers.
#### Ignoring Packages
Packages can be ignored by adding the package in `/etc/pacman.conf` under `IgnorePkg`.
In the following example `waybar` is ignored from updates.
To add more packages just add them separated by spaces.
```txt
IgnorePkg = waybar
```
To unignore the package from updates remove it from this line.
#### Downgrading Packages
Packages of the AUR can be downgraded by using the
[Downgrade](https://github.com/archlinux-downgrade/downgrade) program.
This program can then easily be used to an AUR package.
This works like the following assuming the package `v4l2loopback-dmks` needs to be downgraded.
```sh
sudo downgrade v4l2loopback-dmks
```
Afterwards the target version can be selected and the downgrading process will conclude.
After the downgrade of a package you will get asked if you want to
[ignore future updates](#ignoring-packages).
#### Manual Installation of a `PKGBUILD` File
A `PKGBUILD` file is a [shell](/wiki/linux/shell.md) script that contains the installation
@@ -49,12 +76,34 @@ The cache of all packages except the one installed can be deleted by running the
pacman -Sc
```
Alternatively the pacman cache can be deleted partly by running the following command which will
clear the cache of pacman except for the latest version.
The amount of versions to keep can be specified by changing the number in the following command
accordingly.
```sh
paccache -rvk1
```
And finally the following command will remove all cached files that belong to uninstalled packages.
Again the number can be changed to keep a specific number of versions.
```sh
paccache -rvuk0
```
Since `yay` mirrors the usage of `pacman` it can be used the same way and will clean both caches.
```sh
yay -Sc
```
Similar to `paccache` a command called [yaycache](https://github.com/aokellermann/yaycache) can be
used.
It follows the same options as `paccache`.
The clearing of the cache can be automated by using a [hook](#hook-clear-cache).
#### Enabling `multilib`
`multilib` is a repository that contains 32-bit software and libraries.
@@ -66,9 +115,142 @@ To enable it search and uncomment the following lines in the file `/etc/pacman.c
Include = /etc/pacman.d/mirrorlist
```
#### Hooks
Hooks are commands that are run before or after installation of one or more packages.
They are needed to have the `.hook` extension and can be found inside two directories.
The first one is `/usr/share/libalpm/hooks/`.
The second one is defined in `HookDir` inside the file `/etc/pacman.conf`.
By default it points towards `/etc/pacman.d/hooks`.
Examples of hooks can be found in the following sections.
##### Hook: List Orphans
The following hook will display orphans after any package is update.
It was found in a
[reddit post by IBNash](https://www.reddit.com/r/archlinux/comments/dsnu81/hear_ye_archers_share_your_pacman_hooks/)
which references a
[gist by Strykar](https://gist.github.com/Strykar/3b3cd5bbdabe7e5c77f9414b2b4fe7e8).
```txt
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Description = Searching for orphaned packages...
When = PostTransaction
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '==> no orphans found.'"
```
##### Hook: Clear Cache
The following hook will [clear the pacman cache](#clear-cache) except for the last version of a package.
It was found in a
[reddit post by IBNash](https://www.reddit.com/r/archlinux/comments/dsnu81/hear_ye_archers_share_your_pacman_hooks/)
which references an
[AUR comment by itaranto](https://aur.archlinux.org/packages/pacman-cleanup-hook).
```txt
[Trigger]
Type = Package
Operation = Remove
Operation = Install
Operation = Upgrade
Target = *
[Action]
Description = Removing unnecessary cached files (keeping the latest one)...
When = PostTransaction
Exec = /usr/bin/paccache -rvk1 && paccache -ruvk0
```
##### Hook: Informant
The following hook will use [informant](https://github.com/bradford-smith94/informant) to check for
Arch News that may require manual intervention and not allow the update if there are news unread.
It was found in a
[reddit post by IBNash](https://www.reddit.com/r/archlinux/comments/dsnu81/hear_ye_archers_share_your_pacman_hooks/)
which references the
[informant Github](https://github.com/bradford-smith94/informant/blob/master/informant.hook).
```txt
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = *
Target = !informant
[Action]
Description = Checking Arch News with Informant...
When = PreTransaction
Exec = /usr/bin/informant check
Depends = informant
AbortOnFail
```
##### Hook: Update Package Mirrorlist
The following hook will use [reflector](https://xyne.dev/projects/reflector/) to update the pacman
mirrorlist.
It will use german mirrors (`-c de`), will list the fastest 15 mirrors (`-n 15`) and only do so if
the mirror was online in the last 24 hours (`-a 24`).
It was found in a
[reddit post by IBNash](https://www.reddit.com/r/archlinux/comments/dsnu81/hear_ye_archers_share_your_pacman_hooks/)
which references the
[pacman-hooks Github](https://github.com/desbma/pacman-hooks/blob/master/reflector/reflector.hook).
```txt
[Trigger]
Operation = Upgrade
Type = Package
Target = pacman-mirrorlist
[Action]
Description = Updating pacman-mirrorlist with reflector...
When = PostTransaction
Depends = reflector
Exec = /bin/bash -c 'reflector -c de -n 15 -a 24 > /etc/pacman.d/mirrorlist ; test -f /etc/pacman.d/mirrorlist.pacnew && mv -v /etc/pacman.d/mirrorlist.{pacnew,orig} || true'
```
##### Hook: Kernel Reboot Needed
The following hook will use determine if a reboot is needed because the kernel was updated.
It was found in a
[reddit commend by progandy](https://www.reddit.com/r/archlinux/comments/dsnu81/comment/f6sogat).
```txt
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = File
Target = usr/lib/modules/*
[Action]
Description = Check for upgrade of running kernel...
When = PostTransaction
Exec = /bin/bash -c "[[ -f \"/proc/modules\" && ! -d \"/usr/lib/modules/$(uname -r)\" ]] && printf '==> WARNING: %s\n -> %s\n' 'Running kernel has been updated or removed!' 'A reboot is required!' || true"
```
### Troubleshooting
This section addresses various uses of the pacman and yay package managers.
This section will focus on errors and the fixing of errors of package managers.
#### `/usr/lib/firmware/nvidia/ad104` exists in filesystem linux-firmware-nvidia
This error comes from a decision to split the firmware modules into different parts.
An easy way to fix it is by simply reinstalling the `linux-firmware` package and updating the
packages of the system.
```sh
pacman -Syu linux-firmware
```
#### Update Mirrorlist
@@ -80,11 +262,6 @@ This can be fixed by updating it with the following command:
curl -o /etc/pacman.d/mirrorlist https://archlinux.org/mirrorlist/all/
```
### Troubleshooting
This section addresses various errors that can happen when using the package managers yay and
pacman.
#### Error While Importing Keys
Both `yay` and `pacman` use [GPG keys](/wiki/linux/gpg.md).
@@ -103,8 +280,8 @@ The identifier of the key usually gets gets printed in the line above the error
#### Error During Updating `is marginal trust`
If the error `[...] Key [...] is marginal trust` occurs while updating the
system, it can be fixed by running the following commands and then restarting
If the error `[...] Key [...] is marginal trust` (also `of unknown trust`) occurs while updating
the system, it can be fixed by running the following commands and then restarting
the update process of the package manager.
```sh
@@ -118,3 +295,32 @@ pacman-key --refresh-keys
The error `the following untracked working tree files would be overwritten` can happen when the
cache features a changed version of the files used by yay to update the package.
This can easily be fixed by removing the cache of the corresponding package.
#### Python `ModuleNotFoundError: No module named...`
This section is based on a
[StackOverflow post by Helen](https://stackoverflow.com/questions/55923868/how-to-fix-modulenotfounderror-no-module-named-setuptools).
In this case the error stems from a missing package.
Normally it can easily be fixed by installing that corresponding package.
But please note that [pyenv](/wiki/programming_language/golang.md#setup) can hide packages if the
global Python version is set to something other than `system`.
This is especially the case on [Arch Linux-systems](/wiki/linux/arch-linux.md) because Python
packages are also installed via [Pacman or Yay](#arch-linux-pacman-and-yay).
In this case the global Version has to be changed to `system` or the package installed to the
non-system Python version.
#### Error `exists in filesystem`
This section is based on a
[reddit post by 194668PT](https://www.reddit.com/r/archlinux/comments/17jempk/pacman_exists_in_filesystem_errors/).
If an error shows up that describes that a file of a package `exists in filesystem` usually a
permission/owner error happened.
This can happen when running `pacman -Syyu`.
To update the package either way the following command can be used.
`<package name>` should be exchanged for the package that throws the error.
```sh
sudo pacman -S --overwrite "*" <package name>
```

View File

@@ -6,7 +6,10 @@ for LaTeX using the BibTeX format.
## Setup
Papis can be installed on most distributions by acquiring the `papis` package.
Papis can be installed on most [Linux](/wiki/linux.md) distributions by acquiring the `papis`
package.
On some distributions there may be problems installing this from the official repository.
Another option to install papis is to use [pip](/wiki/programming_language/python.md).
Alternatively it can be downloaded from [the GitHub page](https://github.com/papis/papis).
### Configuration

73
wiki/linux/plymouth.md Normal file
View File

@@ -0,0 +1,73 @@
# Plymouth
[Plymouth](https://www.freedesktop.org/Software/Plymouth) is a software that provides a better
graphical boot process.
It can change the native resolution early in the boot process and display splash screens.
## Setup
On most linux distributions LightDM can be installed with the `plymouth` package.
Afterwards the kernel options need to be changed.
On [Arch Linux](/wiki/linux/arch-linux.md) systems this can be done by editing the file located at
`/boot/loader/entries/arch.conf`.
In the options line append `quiet` if you want to use the quiet-mode and `splash` if you want to
add a splash screen.
If the splash screen option was selected set a default theme.
A more detailed guide on this is available in [another section](#list-install-and-set-themes).
```sh
plymouth-set-default-theme bgrt
```
Alternatively another theme than `fade-in` can be set.
The listing of installed themes is featured in a [latter section](#list-available-themes).
Then inside the file `/etc/mkinitcpio.conf` add the hook under the `HOOKS` section.
Add `plymouth` after `systemd` (if available) and before `encrypt` and `lvm2` (if available.)
Finally regenerate the initial ramdisk as described
[in the mkinitcpio entry](/wiki/linux/mkinitcpio.md#manually-generate-initial-ramdisk).
For this run the following command.
```sh
mkinitcpio -p linux
```
## Usage
This section addresses the location and
### List, Install and Set Themes
A list of installed themes can be listed by running the following.
```sh
plymouth-set-default-theme --list
```
One of the listed themes can then be installed like the following command does.
`<theme>` needs to be replaced with a theme that is included in the listed themes (like `fade-in`).
```sh
plymouth-set-default-theme <theme>
```
If this command is run the
[initramfs needs to be rebuild](/wiki/linux/mkinitcpio.md#manually-generate-initial-ramdisk).
A command that includes the rebuilding process is the following.
```sh
plymouth-set-default-theme -R <theme>
```
Other themes can be found in online sources like the
[AUR](/wiki/linux/arch-linux.md#package-manager-and-aur) or websites like
[Gnome-Look.org](https://www.gnome-look.org/browse?cat=108).
The following are recommended themes.
- [Arch10](https://github.com/eromatiya/plymouth-theme-arch10) is a theme for
[Arch Linux](/wiki/linux/arch-linux.md) similar to the boot splash screen of
[Windows](/wiki/windows.md) 10.

View File

@@ -0,0 +1,13 @@
# Power Management
This entry addresses the saving of [battery](/wiki/linux/hardware_%28linux%29.md#battery) usage aswell as
battery care.
Other than this it also focusses on the general management and usage of power.
## Programs
The following list consists of programs that work as battery saver or battery care.
- [TLP](/wiki/linux/tlp.md) is a utility for saving battery.
- [PowerTOP](https://github.com/fenrus75/powertop) is a program to display and analyze power usage.
- [tp-battery-mode](https://github.com/zhanghai/tp-battery-mode) is a tool to set battery thresholds.

View File

@@ -25,3 +25,35 @@ To make this config apply for all Qt applications the following line needs to be
```sh
export QT_QPA_PLATFORMTHEME="qt6ct"
```
Afterwards `qt6ct` can be used to enable the dark mode or change other configurations.
#### Achieving a System-Wide Uniform Look
[GTK](/wiki/linux/gtk.md) is the other big widget toolkit in use.
An easy way to achieve a uniform look of GTK and Qt is the usage of the Adwaita theme in both
toolkits.
This is also described in the
[official Arch wiki](https://wiki.archlinux.org/title/Uniform_look_for_Qt_and_GTK_applications#Styles_for_both_Qt_and_GTK).
A simple way to achieve this in Qt is the installation of
[adwaita-qt6](https://github.com/FedoraQt/adwaita-qt) which is also available as an
[AUR](/wiki/linux/package_manager.md#installing-an-aur-program-with-a-specific-version) package.
After the installation it can be selected by `qt6ct` as described in the
[configuration section](#configuration).
For setting the same theme for GTK refer to the
[corresponding entry](/wiki/linux/gtk.md#achieving-a-system-wide-uniform-look).
## Troubleshooting
This section will focus on errors and the fixing of errors of Qt.
### Incorrect Configuration: `The libqt6ct.so plugin is compiled against incompatible Qt version`
When updating the system it is possible that the theme will not work correctly anymore.
Often the error `The libqt6ct.so plugin is compiled against incompatible Qt version` is responsible
for this.
To fix it most of the time it is enough to recompile the `qt6ct` package.
Afterwards a reboot might be needed for the theme to be displayed correctly again.

9
wiki/linux/scc.md Normal file
View File

@@ -0,0 +1,9 @@
# SCC
[SCC](https://github.com/boyter/scc) is a tool to count lines of code accurately.
## Installation
On some [Linux](/wiki/linux.md) distributions SCC is available in a package called `scc`.
If this is not the case it can easily be installed from the
[Github Repository](https://github.com/boyter/scc).

View File

@@ -210,6 +210,131 @@ cd ../"$(ls -F .. | grep '/' | grep -B1 -xF "${PWD##*/}/" | head -n 1)"
cd ../"$(ls -F .. | grep '/' | grep -A1 -xF "${PWD##*/}/" | tail -n 1)"
```
### Replacing All Occurences in a Directory
To all occurences of a given string for all files recursively in a given directory run the
following command, where `<directory>` is the directory to replace in.
`<query>` is the string to replace and `<replacement>` is the string it should replaced with; both
of these may be escaped if special signs are contained in them.
```sh
find <directory> -type f -exec sed -i "s/<query>/<replacement>/g" {} \;
```
### Using ANSI Color
ANSI-Colors can easily be used in the shell by using the control sequences as described by
[techstop](https://techstop.github.io/bash-script-colors).
Each color has an own sequence and can be combined to affect the background.
Additionally the font can also be changed using these control sequences.
The following tables display these sequences.
The first table displays regular colors.
| Value | Color |
| ---------- | ------ |
| `\e[0;30m` | Black |
| `\e[0;31m` | Red |
| `\e[0;32m` | Green |
| `\e[0;33m` | Yellow |
| `\e[0;34m` | Blue |
| `\e[0;35m` | Purple |
| `\e[0;36m` | Cyan |
| `\e[0;37m` | White |
The second table is for the bold colors.
| Value | Color |
| ---------- | -------- |
| `\e[1;30m` | Black |
| `\e[1;31m` | Red |
| `\e[1;32m` | Green |
| `\e[1;33m` | Yellow |
| `\e[1;34m` | Blue |
| `\e[1;35m` | Purple |
| `\e[1;36m` | Cyan |
| `\e[1;37m` | White |
| `\e[1m` | No Color |
The third table is for the underline colors.
| Value | Color |
| ---------- | -------- |
| `\e[4;30m` | Black |
| `\e[4;31m` | Red |
| `\e[4;32m` | Green |
| `\e[4;33m` | Yellow |
| `\e[4;34m` | Blue |
| `\e[4;35m` | Purple |
| `\e[4;36m` | Cyan |
| `\e[4;37m` | White |
| `\e[4m` | No Color |
The fourth table is for the underline colors.
| Value | Color |
| -------- | ------ |
| `\e[40m` | Black |
| `\e[41m` | Red |
| `\e[42m` | Green |
| `\e[43m` | Yellow |
| `\e[44m` | Blue |
| `\e[45m` | Purple |
| `\e[46m` | Cyan |
| `\e[47m` | White |
The fifth table is for horizontally expanded backgrounds.
| Value | Color |
| ------- | -------- |
| `\e[K` | No Color |
The sixth table is for high intensity colors.
| Value | Color |
| ---------- | ------ |
| `\e[0;90m` | Black |
| `\e[0;91m` | Red |
| `\e[0;92m` | Green |
| `\e[0;93m` | Yellow |
| `\e[0;94m` | Blue |
| `\e[0;95m` | Purple |
| `\e[0;96m` | Cyan |
| `\e[0;97m` | White |
The seventh table is for bold high intensity colors.
| Value | Color |
| ---------- | ------ |
| `\e[1;90m` | Black |
| `\e[1;91m` | Red |
| `\e[1;92m` | Green |
| `\e[1;93m` | Yellow |
| `\e[1;94m` | Blue |
| `\e[1;95m` | Purple |
| `\e[1;96m` | Cyan |
| `\e[1;97m` | White |
The eight table is for high intensity background colors.
| Value | Color |
| ----------- | ------ |
| `\e[0;100m` | Black |
| `\e[0;101m` | Red |
| `\e[0;102m` | Green |
| `\e[0;103m` | Yellow |
| `\e[0;104m` | Blue |
| `\e[0;105m` | Purple |
| `\e[0;106m` | Cyan |
| `\e[0;107m` | White |
The ninth and final table is for the reset sequence.
| Value | Color |
| ------- | ------ |
| `\e[0m` | Reset |
## Error solving
This section addresses various problems that can occur and are related to the shell.
@@ -222,3 +347,12 @@ It is related to a terminal line setting problem.
```sh
stty sane
```
### Error `cannot open shared object file: No such file or directory`
This section is based on a
[Github issue by stephenson](https://github.com/rubygems/rubygems/issues/7523).
This error can occur for many different programs and with many different commands which is why it
is listed in the shell entry.
To fix it the most common and most effective way is to [reinstall](/wiki/linux/package_manager.md)
the program that throws the error.

Some files were not shown because too many files have changed in this diff Show More