1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-11-08 14:11:16 +01:00

Compare commits

...

7 Commits

Author SHA1 Message Date
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
8 changed files with 98 additions and 1 deletions

View File

@@ -4,6 +4,9 @@
developed and published by Pavel Khlebovich for [Android](/wiki/android.md) systems. 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_devices.md) to be used as [webcam](/wiki/webcams.md).
When wanting to stream the screen and not the camera the application
[ScreenStream](/wiki/android/screenstream.md) can be used.
## Setup ## Setup
On [Android](/wiki/android.md) IP Webcam is available on the On [Android](/wiki/android.md) IP Webcam is available on the

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/).

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

@@ -37,3 +37,21 @@ To check the temperature the command `sensors` can be used which (on most distri
of the `lm_sensors` package. of the `lm_sensors` package.
It will then display all the available temperature sensors available aswell as many other sensors It will then display all the available temperature sensors available aswell as many other sensors
like the RPM for fans. 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

@@ -129,3 +129,11 @@ If this error or one similar to this is shown the boot partition is filled up co
generation of the initial ramdisk. generation of the initial ramdisk.
This can be fixed by either [compressing the image](#enabledisable-compression) or by This can be fixed by either [compressing the image](#enabledisable-compression) or by
[disabling unused fallbacks](#default-and-fallback-images). [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

@@ -76,7 +76,7 @@ The following line will set this to 10 minutes.
HibernateDelaySec=10min HibernateDelaySec=10min
``` ```
### Handle Power Key and Lid Seitch ### Handle Power Key and Lid Switching
The management of power keys and lid switches is handled in the file `/etc/systemd/logind.conf`. The management of power keys and lid switches is handled in the file `/etc/systemd/logind.conf`.
The following line will set the behaviour of the power key to hibernate. The default for this would The following line will set the behaviour of the power key to hibernate. The default for this would
@@ -97,6 +97,24 @@ HandleLidSwitch=suspend-then-hibernate
For further behaviour of the suspend and hibernate actions check the For further behaviour of the suspend and hibernate actions check the
[corresponding section](#change-suspend-and-hibernate-behaviour). [corresponding section](#change-suspend-and-hibernate-behaviour).
When wanting to work with a closed lid some of the settings in the config file have to be set to
ignore.
As [machetie writes on Reddit](https://www.reddit.com/r/framework/comments/185035i/how_to_use_the_laptop_with_lid_closed_linux/)
the following settings need to be set.
```txt
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
```
Afterwards the logind service has to be restarted
[as described on a later section](#startstopenabledisable-a-service-and-retrieve-its-logs).
```sh
sudo systemctl restart systemd-logind
```
## Troubleshooting ## Troubleshooting
This section focusses on errors that correspond to the SystemD software. This section focusses on errors that correspond to the SystemD software.

View File

@@ -93,3 +93,11 @@ To fix it downgrade the packages `v4l2loopback-dkms` and `v4l2loopback-utils` to
version. version.
For [Arch Linux](/wiki/linux/arch-linux.md) this can be achieved by using For [Arch Linux](/wiki/linux/arch-linux.md) this can be achieved by using
[Downgrade](/wiki/linux/package_manager.md#downgrading-packages). [Downgrade](/wiki/linux/package_manager.md#downgrading-packages).
### `Error! Bad return status for module build on kernel`
When updating the `v4l2loopback` package this error can occur after the creation of the
[initramfs](/wiki/linux/mkinitcpio.md).
This may point to an incompatibility of the package and kernel version which can only but easily
and temporarily be fixed by downgrading the package as described in
[the corresponding package manager section](/wiki/linux/package_manager.md#downgrading-packages).

View File

@@ -28,3 +28,10 @@ The following is a list of useful extensions for Thunderbird.
- "Send Later" is an extension which allows for the scheduling of mails. - "Send Later" is an extension which allows for the scheduling of mails.
- "Signature Switch" is an extension which adds different signatures for different purposes and - "Signature Switch" is an extension which adds different signatures for different purposes and
allows easy and automatic switching between them. allows easy and automatic switching between them.
### Hide Completed Tasks
Under the tasks tab it is possible to show only incomplete tasks aswell as other specific tasks
using the selection on the left hand site of the screen.
Alternatively complete tasks can be hidden by selecting "View" in the top bar, then "Tasks" and
finally "Incomplete Tasks".