1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-04-10 02:27:45 +02:00

Compare commits

...

4 Commits

Author SHA1 Message Date
5384682935 obs: virtual camera updated 2023-01-10 02:57:56 +01:00
21ce1a12cb shell: silencing and disowning commands added 2023-01-10 01:41:51 +01:00
f597980488 fwupd: added 2023-01-09 23:58:14 +01:00
fae07548c8 arch: recommended setup 2023-01-09 23:39:15 +01:00
13 changed files with 100 additions and 20 deletions

View File

@ -7,7 +7,14 @@ The Arch User Repositories (AUR) features community-made packages that can be
installed with different
[package manager that inlcude access to the AUR](/wiki/linux/arch-linux/package_manager.md).
## Installation Medium
## Installation
The installation of a basic Arch Linux system is described in the
[installation entry](/wiki/linux/arch-linux/installation.md).
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
For the installation usage of a simple USB key is advised.
This has to be flashed with the Arch ISO.
@ -17,11 +24,20 @@ 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
## Recommended Practices
The following articles describe steps to undertake to harden the system security
or setups and installation that are recommended for Arch Linux.
## Enable Microcode Updates
The microcode of Intel and AMD CPUs can be automatically updated by installing
the `amd-ucode` or `intel-ucode` package depending on your CPU.
The following description assumes the system is installed with
Not all processors are supported, especially old ones can lead to problems.
It has to be confirmed that the processor is supported, if this is not the case
is possible for the next steps to break the functionality of the bootloader.
The following part assumes the system is installed with
[UEFI bootloader](/wiki/linux/arch-linux/installation.md#10-install-and-configure-uefi-bootloader)
similar to the [recommended guide](/wiki/linux/arch-linux/installation.md).
The microcode updates can then be enabled by adding the following line into

View File

@ -209,6 +209,9 @@ this will install a bunch of useful base software including
[a graphical environment](../x_window_system.md) and
[a window manager](../suckless.md#programs).
You can go on to other guides aswell.
Especially the
[Recommended practices](/wiki/linux/arch-linux/arch-linux.md#recommended-practices)
should be checked for further setups.
Additionally if you have a NVidia Graphics Cards you should read
[the NVidia article](../nvidia.md) too.

View File

@ -2,7 +2,6 @@
DM-Crypt can create and manage encrypted devices.
## Usage
### Creating an Encrypted Devices

View File

@ -8,8 +8,8 @@ Easyeffects uses [Pipewire](./pipewire.md) as
## Setup
Easyeffects can be installed in most distributions by installing the
`easyeffects` plugin.
Easyeffects can be installed on most distributions by installing the
`easyeffects` package.
An installation via [Flatpak](./flatpak.md) is also possible.
## Usage

View File

@ -2,8 +2,10 @@
This article describes the `flac` package on linux.
For the audio codec see the [flac entry](../flac_(codec).md)
`flac` is a package to work with the [flac codec](../flac_(codec).md).
## Setup
On most distributions it is bundled together with the command line tagging
software `metaflac` and other auxiliary tools in the `flac` package.
Another possible tagging software is [MusicBrainz Picard](../picard.md)

39
wiki/linux/fwupd.md Normal file
View File

@ -0,0 +1,39 @@
# fwupd
[fwupd](https://fwupd.org/) is a daemon for managing and installing firmware
updates on Linux based operating systems.
It is mainly used for UEFI firmware and supported devices.
## Setup
fwupd can be installed on most distributions by installing the
`fwupd` package.
## Usage
The following commands describe the basic usage of an update process using
fwupd.
First the devices updatable by fwupd can be checked.
```sh
fwupdmgr get-devices
```
Afterwards the latest metadata can be downloaded by the following command.
```sh
fwupdmgr refresh
```
The updates can the be listed.
```sh
fwupdmgr get-updates
```
Finally the updates can be installed.
```sh
fwupdmgr update
```

View File

@ -10,7 +10,7 @@ They provide motherboard chips, network interface controllers, flash memory,
Intel graphics is the name for various intel made integrated graphics
processors.
### Usage
### Configuration
#### Screen Tearing

View File

@ -3,7 +3,7 @@
Processor vendors release stability and security updates to the processor
microcode.
## Installation
## Setup
Most Linux based operating systems feature packages depending on the processor
manufacturer (on Arch Linux for example `intel-ucode` and `amd-ucode`).

View File

@ -3,7 +3,7 @@
NetworkManager - short NM - is a program to automatically detect and connect to
networks by providing options for various configuration.
## Installation
## Setup
NetworkManager can be installed with the `networkmanager` package on most linux
distributions which provides daemon aswell as `nmcli` a command line interface

View File

@ -2,7 +2,7 @@
NVidia is a vendor for graphics cards.
## Setup NVidia GPU
## Setup
For NVidia GPUs to work install the `nvidia` and the `nvidia-utils` package.
If you want to easily configure the monitors as described in a later section of

View File

@ -4,9 +4,6 @@
## Setup
### Arch-Linux
Sc-im can be installed via [github](https://github.com/andmarti1424/sc-im).
Some distributions also feature the `sc-im` package.

View File

@ -3,7 +3,7 @@
A shell is a command-line interpreter that provides a command-line interface to
interact with the many unix-like system.
## Change /bin/sh
## Change the standard shell
The Shell in some distributions is made up by a POSIX compliant mode of bash.
Problem with that is the speed.
@ -15,3 +15,27 @@ dash.
- `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash
- `sudo vim /usr/share/libalpm/hooks/bash-update.hook` - setup a hook to avoid
bash resetting the symlink
## Disown a Command
This section is based on a guide by
[baeldung](https://www.baeldung.com/linux/detach-process-from-terminal).
Disowning a command removes it from the current shell.
Commands that are detached from a shell will not terminate upon its closure.
A command can be disowned simply by appending `& disown` at the end of it.
It will then provide the PID of the command that got disowned.
## Silencing a Command
This section is based on a guide by
[baeldung](https://www.baeldung.com/linux/silencing-bash-output).
If the output of a command is unwanted it can be silenced.
There are two parts that can be silenced independently.
Non-error outputs (stdout) can be silenced by appending `1> /dev/null` to the
command.
Due to the `1` being ommitable `> /dev/null` has the same effect.
Error outputs (stderr) can be silenced by appending `2> /dev/null`.
The complete output of both stderr and stdout can be silenced by appending
`> /dev/null 2>&1` to the command.
A shortened version of it not possible on all shells is `&> /dev/null`.

View File

@ -2,6 +2,8 @@
[Open Broadcaster Software](https://obsproject.com) - short OBS - is a free
and open source software for video recording and live streaming.
Additionally see the
[the webcams entry](/wiki/linux/webcams.md#configure-the-webcam) if on Linux.
## Plugins
@ -19,12 +21,10 @@ camera.
First of all [V4L2](./linux/v4l2.md) needs to be set up.
This guide assumes it is set up according to the section in the
[V4L2 entry](./linux/v4l2.md#v4l2loopback).
Make sure to start and/or enable it.
Additionally `obs-v4l2sink` needs to be installed.
Under `Tools/v4l2sink` select the device path set up in V4L2.
Select the same video format as set for your camera.
For Linux see [the webcams entry](/wiki/linux/webcams.md#configure-the-webcam)
to configure the video format.
Make sure to
[start the service](/wiki/linux/systemd.md#startstopenabledisable-a-service) by
running `systemctl start v4l2loopback.service` or enable it to start after each
boot with `systemctl enable v4l2loopback.service`.
Afterwards the virtual camera can be started.
### Background Removal