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

changing structure, expanding papis and docker entries

This commit is contained in:
tiyn
2025-11-06 02:34:53 +01:00
parent e53fa8d207
commit c6e60f5cbc
17 changed files with 66 additions and 24 deletions

View File

@@ -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
```

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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>
```

View File

@@ -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.

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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.