diff --git a/wiki/docker.md b/wiki/docker.md index 42146c7..1de3013 100644 --- a/wiki/docker.md +++ b/wiki/docker.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 +``` diff --git a/wiki/game/steam.md b/wiki/game/steam.md index f3fb128..07e3cb8 100644 --- a/wiki/game/steam.md +++ b/wiki/game/steam.md @@ -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 `` accordingly. ```js diff --git a/wiki/imagemagick.md b/wiki/imagemagick.md index 249c1d6..c662a4f 100644 --- a/wiki/imagemagick.md +++ b/wiki/imagemagick.md @@ -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 diff --git a/wiki/linux/bluez.md b/wiki/linux/bluez.md index 7dfcd41..6f45b6b 100644 --- a/wiki/linux/bluez.md +++ b/wiki/linux/bluez.md @@ -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. diff --git a/wiki/linux/gpg.md b/wiki/linux/gpg.md index 76e1182..e716443 100644 --- a/wiki/linux/gpg.md +++ b/wiki/linux/gpg.md @@ -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 diff --git a/wiki/linux/khard.md b/wiki/linux/khard.md index 3c30ea6..af9f7f4 100644 --- a/wiki/linux/khard.md +++ b/wiki/linux/khard.md @@ -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 diff --git a/wiki/linux/neomutt.md b/wiki/linux/neomutt.md index 3379317..58a38f7 100644 --- a/wiki/linux/neomutt.md +++ b/wiki/linux/neomutt.md @@ -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 diff --git a/wiki/linux/networkmanager.md b/wiki/linux/networkmanager.md index ec7a061..101ae04 100644 --- a/wiki/linux/networkmanager.md +++ b/wiki/linux/networkmanager.md @@ -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. diff --git a/wiki/linux/papis.md b/wiki/linux/papis.md index fcc2972..f086f62 100644 --- a/wiki/linux/papis.md +++ b/wiki/linux/papis.md @@ -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. +`` is the path to the (PDF-)file and `` 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 +``` diff --git a/wiki/linux/playerctl.md b/wiki/linux/playerctl.md index 7d6e6d1..fdc8856 100644 --- a/wiki/linux/playerctl.md +++ b/wiki/linux/playerctl.md @@ -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. diff --git a/wiki/linux/shell.md b/wiki/linux/shell.md index 934fe8f..4fea7be 100644 --- a/wiki/linux/shell.md +++ b/wiki/linux/shell.md @@ -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 diff --git a/wiki/linux/suckless.md b/wiki/linux/suckless.md index 7af3074..510bcc8 100644 --- a/wiki/linux/suckless.md +++ b/wiki/linux/suckless.md @@ -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. diff --git a/wiki/system_console.md b/wiki/linux/system_console.md similarity index 84% rename from wiki/system_console.md rename to wiki/linux/system_console.md index 60de82e..2142ed9 100644 --- a/wiki/system_console.md +++ b/wiki/linux/system_console.md @@ -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 diff --git a/wiki/linux/todoman.md b/wiki/linux/todoman.md index 5c55748..eae0b81 100644 --- a/wiki/linux/todoman.md +++ b/wiki/linux/todoman.md @@ -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 diff --git a/wiki/mail.md b/wiki/mail.md index 74055f3..175b540 100644 --- a/wiki/mail.md +++ b/wiki/mail.md @@ -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. diff --git a/wiki/nginx.md b/wiki/nginx.md index 9d6a59a..1e7fdaa 100644 --- a/wiki/nginx.md +++ b/wiki/nginx.md @@ -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 diff --git a/wiki/vnc.md b/wiki/vnc.md index d42bbdf..acd2606 100644 --- a/wiki/vnc.md +++ b/wiki/vnc.md @@ -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.