mirror of
https://github.com/tiyn/wiki.git
synced 2025-11-07 21:51:15 +01:00
Compare commits
5 Commits
6afc9f57ca
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
179a9d2426 | ||
|
|
c6e60f5cbc | ||
|
|
e53fa8d207 | ||
|
|
dc4ea0c91b | ||
|
|
c292bea09b |
@@ -2,4 +2,4 @@
|
||||
|
||||
[Deskreen](https://github.com/pavlobu/deskreen) is a tool for [Linux](/wiki/linux.md),
|
||||
[Windows](/wiki/windows.md) and MacOS that allows to extend the screen of a device with Deskreen
|
||||
installed to a device with any web browser.
|
||||
installed to a device with any [web browser](/wiki/web_browser.md).
|
||||
|
||||
@@ -10,7 +10,7 @@ Due to easy handling and reproducable environments it is a useful tool.
|
||||
|
||||
Another possibility is to try the official convenience script.
|
||||
To get and execute it run the following in your
|
||||
[terminal](/wiki/system_console.md).
|
||||
[terminal](/wiki/linux/system_console.md).
|
||||
|
||||
```sh
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh
|
||||
@@ -21,7 +21,7 @@ sudo sh get-docker.sh
|
||||
|
||||
This section addresses various features of Docker.
|
||||
|
||||
### virtualize Operating Systems
|
||||
### Virtualize Operating Systems
|
||||
|
||||
Docker is a tool that can be used to virtualize different programs and softwares.
|
||||
Especially for containerizing and virtualizing operating systems (mostly based on
|
||||
@@ -69,3 +69,22 @@ the [web browser](/wiki/web_browser.md) or [VNC](/wiki/vnc.md).
|
||||
For this
|
||||
[jlesages baseimage-gui container](https://hub.docker.com/r/jlesage/baseimage-gui)
|
||||
can be used.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This section will focus on errors and the fixing of errors of docker.
|
||||
|
||||
### `Error saving credentials: 'Cannot autolaunch D-Bus without X11 $DISPLAY'`
|
||||
|
||||
As explained by
|
||||
[gotam19 in a Docker forum post](https://forums.docker.com/t/docker-login-fails-with-error-message-saving-credentials-cannot-autolaunch-d-bus-without-x11-display/77789)
|
||||
this error message only occurs on [Linux](/wiki/linux.md) when trying to login or pulling a Docker
|
||||
image.
|
||||
To fix it install [GPG](/wiki/linux/gpg.md) and the `pass`
|
||||
[package](/wiki/linux/package_manager.md).
|
||||
Afterwards running the following command should will perform the login to the Docker servers and
|
||||
the error message should not come up again.
|
||||
|
||||
```sh
|
||||
docker login
|
||||
```
|
||||
|
||||
@@ -60,8 +60,7 @@ The following add-ons increase the security or privacy.
|
||||
- [Exclude pages from](http://www.jeffersonscher.com/gm/google-hit-hider/)
|
||||
[search results](/wiki/search_engine.md)
|
||||
- [Auto close YouTube ads](https://greasyfork.org/en/scripts/9165-auto-close-youtube-ads)
|
||||
- [uBlock Origin](https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin)
|
||||
blocks unwanted content like ads.
|
||||
- [uBlock Origin](/wiki/ublock_origin.md) is an ad blocker.
|
||||
- [User-Agent Switcher and Manager](https://addons.mozilla.org/en-GB/firefox/addon/user-agent-string-switcher)
|
||||
spoofs websites that try to gather information about your webbrowser.
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ It will display the list of games inside the wishlist.
|
||||
Identify the game that has been removed and is not shown in the wishlist
|
||||
anymore.
|
||||
Remember the `appid` of the game
|
||||
Then run the following command inside the [console](/wiki/system_console.md) and
|
||||
Then run the following command inside the [console](/wiki/linux/system_console.md) and
|
||||
change `<appid>` accordingly.
|
||||
|
||||
```js
|
||||
|
||||
@@ -6,7 +6,7 @@ displaying, creating and editing (raster) images.
|
||||
## Usage
|
||||
|
||||
The following section addresses different uses ImageMagick.
|
||||
For most of ImageMagicks features the [command-line interface](/wiki/system_console.md) can be used.
|
||||
For most of ImageMagicks features the [command-line interface](/wiki/linux/system_console.md) can be used.
|
||||
|
||||
## Rotate an Image
|
||||
|
||||
|
||||
@@ -25,6 +25,6 @@ The Bluetooth features can be managed by different types of front-ends.
|
||||
- `bluetoothctl` is a command-line interface included in the `bluez-utils`
|
||||
package
|
||||
- `bluetuith` can be used as a bluetooth manager with a
|
||||
[terminal](/wiki/system_console.md) user interface.
|
||||
[terminal](/wiki/linux/system_console.md) user interface.
|
||||
It is included in a package of the same name, that needs to be installed
|
||||
before usage.
|
||||
|
||||
31
wiki/linux/gnirehtet.md
Normal file
31
wiki/linux/gnirehtet.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# Gnirehtet
|
||||
|
||||
[Gnirehtet](https://github.com/Genymobile/gnirehtet) provides a reverse tethering setup for
|
||||
[Android](/wiki/android.md) [smartphones](/wiki/smart_device.md#smartphones-and-tablet-computers).
|
||||
|
||||
## Setup
|
||||
|
||||
Many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
||||
package Gnirehtet in the `gnirehtet` package.
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of Gnirehtet.
|
||||
|
||||
## Setting Up and Running Reverse Tethering
|
||||
|
||||
The following command can be used to setup the reverse tethering and also run it.
|
||||
For it to work the mobile device has to enable `USB Debugging` so Gnirehtet can automatically be
|
||||
installed (which is internally done using `adb`).
|
||||
|
||||
```sh
|
||||
gnirehtet run
|
||||
```
|
||||
|
||||
Alternatively and only after being set up correctly the reverse tethering can be started and
|
||||
stopped with the corresponding two commands that follow.
|
||||
|
||||
```sh
|
||||
gnirehtet start
|
||||
gnirehtet stop
|
||||
```
|
||||
@@ -6,7 +6,8 @@ It is used to savely encrypt and decrypt messages or files using assymetric encr
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions GPG can be installed with the `gnupg` package.
|
||||
On most linux distributions GPG can be installed with the `gnupg` package.
|
||||
Sometimes it is also called `gnupg2`.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Khard
|
||||
|
||||
[Khard](https://github.com/lucc/khard) is a adressbook that runs in your
|
||||
[terminal](/wiki/system_console.md).
|
||||
[terminal](/wiki/linux/system_console.md).
|
||||
You can sync it with [vdirsyncer](vdirsyncer.md).
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# NeoMutt
|
||||
|
||||
Neomutt is a mail program that runs in your [terminal](/wiki/system_console.md).
|
||||
Neomutt is a mail program that runs in your [terminal](/wiki/linux/system_console.md).
|
||||
It can be easily configured using mutt-wizard.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -8,7 +8,7 @@ It is used to set up [Wi-Fi](/wiki/linux/wi-fi.md).
|
||||
|
||||
NetworkManager can be installed with the `networkmanager` package on most linux
|
||||
distributions which provides daemon aswell as `nmcli` a command line interface
|
||||
and `nmtui` a [terminal](/wiki/system_console.md) user interface for
|
||||
and `nmtui` a [terminal](/wiki/linux/system_console.md) user interface for
|
||||
configuration.
|
||||
Additionally `nm-connection-editor` can be installed for a graphical user
|
||||
interface.
|
||||
|
||||
@@ -84,7 +84,7 @@ The command-line output will show the address to reach the service.
|
||||
papis serve
|
||||
```
|
||||
|
||||
### Create a BibTeX file
|
||||
### Export Library to BibTeX file
|
||||
|
||||
A BibTeX file containing all the entries of all the libraries can be created by running the
|
||||
following command.
|
||||
@@ -99,7 +99,7 @@ papis export --all --format bibtex --out lib.bib
|
||||
The cache of Papis can be cleared by running the following command.
|
||||
|
||||
```sh
|
||||
papis --cc
|
||||
papis cache clear
|
||||
```
|
||||
|
||||
### Import Entries from a BibTeX File
|
||||
@@ -126,11 +126,33 @@ The path for that can be found in the [config file](#configuration).
|
||||
mv tmp-db/* /path/to/your/library/folder/
|
||||
```
|
||||
|
||||
Finally the cache needs to be cleared for Papis to display the new entries correctly.
|
||||
Finally the cache needs to be cleared
|
||||
[as described in the corresponding section](#clearing-the-cache) for Papis to display the new
|
||||
entries correctly.
|
||||
|
||||
```sh
|
||||
papis --cc
|
||||
### Changing the Default Names of the Library
|
||||
|
||||
The changing of the default names is done by changing the [config file](#configuration).
|
||||
The following lines are an example which will change the default file, folder and reference names.
|
||||
|
||||
```txt
|
||||
add-file-name = {doc[author_list][0][family]}_{doc[year]}_-_{doc[title]}
|
||||
add-folder-name = {doc[author_list][0][family]}_{doc[year]}_-_{doc[title]}
|
||||
ref-format = {doc[author_list][0][family]}{doc[year]}
|
||||
```
|
||||
|
||||
Finally the cache needs to be [cleared](#clearing-the-cache) for Papis to display the new entries
|
||||
correctly.
|
||||
Doing this the existing entries, its files, folders and references will not be renamed.
|
||||
To achieve a factual renaming of all the entries in a library,
|
||||
[export the library](#export-library-to-bibtex-file), remove all entries from within it and then
|
||||
[import the entries](#import-entries-from-a-bibtex-file) into it again.
|
||||
|
||||
### Adding Files to Existing Entry
|
||||
|
||||
To add files - for example PDF files to an existing entry run the following command.
|
||||
`<file>` is the path to the (PDF-)file and `<library>` is the name of the library to add to.
|
||||
After running the command a [TUI](comm) will open to select the entry to which the file will be
|
||||
added.
|
||||
|
||||
```sh
|
||||
papis addto --files <file> <library>
|
||||
```
|
||||
|
||||
@@ -32,6 +32,6 @@ playerctl previous
|
||||
## Using Hotkeys
|
||||
|
||||
Hotkeys can be more accessible than typing the commands to start or stop music
|
||||
in the [terminal](/wiki/system_console.md).
|
||||
in the [terminal](/wiki/linux/system_console.md).
|
||||
With [SXHKD](/wiki/linux/sxhkd.md#setting-a-hotkey) commands from the CLI can
|
||||
be set to a hotkey.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
A shell is a command-line interpreter that provides a command-line interface to
|
||||
interact with the many unix-like system.
|
||||
It is usually used in the [system console](/wiki/system_console.md)
|
||||
It is usually used in the [system console](/wiki/linux/system_console.md)
|
||||
|
||||
## Unix Shells
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ Notable works of Suckless are the following.
|
||||
- [dwm](https://dwm.suckless.org/) is a window manager
|
||||
- [ii](https://tools.suckless.org/ii/) is an IRC client
|
||||
- [slock](https://tools.suckless.org/slock/) is a screen locker
|
||||
- [st](https://st.suckless.org/) is a [terminal](/wiki/system_console.md)
|
||||
- [st](https://st.suckless.org/) is a [terminal](/wiki/linux/system_console.md)
|
||||
|
||||
Additionally to this Suckless maintains a list of free and open-source software that is endorsed by
|
||||
Suckless.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
A system console is used for entering data into a computer and communicating
|
||||
with it.
|
||||
It mostly uses a keyboard for input aswell as a screen for displaying results.
|
||||
Additionally a terminal is used.
|
||||
The word system console is often used synonymous with the word terminal.
|
||||
|
||||
## Terminals
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Todoman
|
||||
|
||||
[todoman](https://github.com/pimutils/todoman) is a todolist you can use in your
|
||||
[terminal](/wiki/system_console.md).
|
||||
[terminal](/wiki/linux/system_console.md).
|
||||
You can sync it using [vdirsyncer](vdirsyncer.md)
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -2,3 +2,16 @@
|
||||
|
||||
[Wayland](https://wayland.freedesktop.org/) is a replacement for the
|
||||
[X11 window system](/wiki/linux/x_window_system.md).
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of Wayland.
|
||||
|
||||
### Display wlroots Screens
|
||||
|
||||
To list all the attached screens and displays the following command can be used.
|
||||
For this to work the compositor needs to use wlroots.
|
||||
|
||||
```sh
|
||||
wlr-randr
|
||||
```
|
||||
|
||||
27
wiki/linux/wayvnc.md
Normal file
27
wiki/linux/wayvnc.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# wayvnc
|
||||
|
||||
[wayvnc](https://github.com/any1/wayvnc) is a VNC server for [Linux](/wiki/linux.md) systems using
|
||||
[Waylands](/wiki/linux/wayland.md) compositors using wlroots.
|
||||
To use wayvnc the system with the server has to be on the same network as the client.
|
||||
This is also explained in the [screen sharing entry](/wiki/screen-sharing.md).
|
||||
|
||||
## Setup
|
||||
|
||||
Many [Linux](/wiki/linux.md) [package managers](/wiki/linux/package_manager.md)
|
||||
package wayvnc in the `wayvnc` package.
|
||||
|
||||
## Usage
|
||||
|
||||
This section addresses the usage of wayvnc.
|
||||
|
||||
### Starting and Running
|
||||
|
||||
The following command can be used to start the server.
|
||||
`<ip>` describes the IPs the server can be reached by (for example `0.0.0.0`) and `<screen>` is a
|
||||
placeholder for the screen that will be shared (for example `HDMI-A-1`).
|
||||
The name of the screen can be retrieved by using
|
||||
[wlroots](/wiki/linux/wayland.md#display-wlroots-screens).
|
||||
|
||||
```sh
|
||||
wayvnc <ip> --output=<screen> --render-cursor
|
||||
```
|
||||
@@ -20,7 +20,7 @@ If you don't have a built-in web interface for your mail-server you need some
|
||||
software to access your mails.
|
||||
And even if you have it can be useful to keep your mails synced locally on your pc.
|
||||
|
||||
- [Neomutt](linux/neomutt.md) is a [terminal-based](/wiki/system_console.md)
|
||||
- [Neomutt](linux/neomutt.md) is a [terminal-based](/wiki/linux/system_console.md)
|
||||
mail client for linux, that has a simple interface.
|
||||
- [Thunderbird](/wiki/thunderbird.md) is a free and open source mail client which is cross
|
||||
platform.
|
||||
|
||||
@@ -18,3 +18,11 @@ This section addresses various features of NextCloud.
|
||||
|
||||
You can access ownCloud via WebDAV with the link
|
||||
`https://<nextcloud instance>/remote.php/dav/files/<user>/<path to folder or file>`.
|
||||
|
||||
### Nesting Nextcloud Data of Multiple Servers
|
||||
|
||||
By default it is not possible for one servers files to be saved to the folder structure that is
|
||||
used for another server or to nest data from two or more servers within each other.
|
||||
This however can be conveniently avoided by using symbolic links
|
||||
(for example [symbolic links](/wiki/linux/shell.md#symbolic-links-using-ln) in
|
||||
[Linux](/wiki/linux.md)), which are not by default synchronized to NextCloud.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
## Setup
|
||||
|
||||
The software can be setup via [Docker](/wiki/docker.md) with a
|
||||
[terminal](/wiki/system_console.md) user interface program for nginx and
|
||||
[terminal](/wiki/linux/system_console.md) user interface program for nginx and
|
||||
certbot, which is called nginx-certbot-docker-tui or short ncdt.
|
||||
|
||||
Alternatively the standalone [nginx image](./docker/nginx.md) can be
|
||||
|
||||
19
wiki/screen-sharing.md
Normal file
19
wiki/screen-sharing.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Screen-Sharing
|
||||
|
||||
Screen-sharing describes the practice of remotely accessing or displaying the contents of a screen
|
||||
or the whole desktop.
|
||||
|
||||
## Software
|
||||
|
||||
The following software options make it possible to share the screen of a device to another device
|
||||
in the same network.
|
||||
For this they have to be connected to the same (WiFi) network or be [tethered](/wiki/tethering.md).
|
||||
|
||||
- [Deskreen](/wiki/deskreen.md) is a tool for [Linux](/wiki/linux.md), [Windows](/wiki/windows.md)
|
||||
and MacOS that allows to extend the screen of a device with Deskreen installed to a device with
|
||||
any [web browser](/wiki/web_browser.md).
|
||||
- [Weylus](https://github.com/H-M-H/Weylus) is an alternative to Deskreen and also makes it
|
||||
possible to display the screen of a [Linux](/wiki/linux.md), [Windows](/wiki/windows.md) or MacOS
|
||||
system on a [web browser](/wiki/web_browser.md).
|
||||
- [wayvnc](/wiki/linux/wayvnc.md) is a VNC server for [Linux](/wiki/linux.md) systems using
|
||||
[Waylands](/wiki/linux/wayland.md) compositors using wlroots.
|
||||
@@ -1,6 +1,8 @@
|
||||
# Screen Capture
|
||||
|
||||
Screen capture describes the process of recording a computer screen.
|
||||
For the remotely displaying the screen to another device the
|
||||
[corresponding entry](/wiki/screen_sharing.md) contains tips and tricks.
|
||||
|
||||
## Screen Capture options
|
||||
|
||||
|
||||
18
wiki/tethering.md
Normal file
18
wiki/tethering.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Tethering
|
||||
|
||||
Tethering describes the sharing of a
|
||||
[mobile device's](/wiki/smart_device.md#smartphones-and-tablet-computers) cellular data connection
|
||||
with one or more connected computers.
|
||||
|
||||
Tethering can be achieved by multiple options including [Bluetooth](/wiki/bluetooth.md) and WiFi
|
||||
and is usually available in the settings of [Android](/wiki/android.md) and iOS mobile devices.
|
||||
|
||||
## Reverse Tethering
|
||||
|
||||
Reverse Tethering describes the sharing of a computers network with a
|
||||
[mobile device](/wiki/smart_device.md#smartphones-and-tablet-computers).
|
||||
For [Linux](/wiki/linux.md) this can be achieved using [Gnirehtet](/wiki/linux/gnirehtet.md).
|
||||
|
||||
When using USB- and Reverse Tethering make sure that the host machine does not recognize the USB
|
||||
connection towards the mobile device as eithernet connection.
|
||||
Otherwise none of the two devices will be able to connect to local or internet pages.
|
||||
30
wiki/ublock_origin.md
Normal file
30
wiki/ublock_origin.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# uBlock Origin
|
||||
|
||||
[uBlock Origin](https://ublockorigin.com) is a free and open-source [browser](/wiki/web_browser.md)
|
||||
extension fof ad blocking.
|
||||
It is available for most browsers like [Firefox](/wiki/firefox.md), its derivatives like
|
||||
[Zen](/wiki/zen_browser.md), Chrome, and Chromium based browsers like Edge, Brave and many more.
|
||||
|
||||
## Setup
|
||||
|
||||
The setup of the [browser](/wiki/web_browser.md) extension of uBlock Origin is based on the browser
|
||||
used and can vary slightly.
|
||||
For [Firefox](/wiki/firefox.md) it can be found in the
|
||||
[addon page](https://addons.mozilla.org/en-GB/firefox/addon/ublock-origin) and many other browser
|
||||
follow this pattern.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
This section will focus on errors and the fixing of errors of uBlock Origin.
|
||||
|
||||
### YouTube Videos Do Not Load
|
||||
|
||||
In general [YouTube](/wiki/youtube.md) videos can be viewed with uBlock Origin removing the
|
||||
advertisements.
|
||||
It is however possible that is also blocks YouTube from loading the videos altogether.
|
||||
Most of the times this can be fixed easily as explained in a
|
||||
[Reddit post by orestaras](https://www.reddit.com/r/firefox/comments/1hipkzh/ublock_origin_no_longer_works_on_youtube).
|
||||
Open the dashboard in the extension menu.
|
||||
Under the tab `Filter List`, extend `Built-in` and uncheck `uBlock filters - Quick fixes`.
|
||||
Afterwards reload the page containing the YouTube video and it should load normally and without
|
||||
advertisements.
|
||||
@@ -5,6 +5,6 @@ desktop of a system.
|
||||
It is based on the Remote Frame Buffer protocoll which is also named RFB.
|
||||
|
||||
VNC is especially used for accessing graphical applications or
|
||||
[terminals](/wiki/system_console.md) of a remote server,
|
||||
[terminals](/wiki/linux/system_console.md) of a remote server,
|
||||
[dockerized](/wiki/docker.md#dockerize-a-graphical-application) or virtualized
|
||||
program.
|
||||
|
||||
Reference in New Issue
Block a user