mirror of
https://github.com/tiyn/wiki.git
synced 2025-11-06 21:21:16 +01:00
changing structure, expanding papis and docker entries
This commit is contained in:
@@ -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.
|
Another possibility is to try the official convenience script.
|
||||||
To get and execute it run the following in your
|
To get and execute it run the following in your
|
||||||
[terminal](/wiki/system_console.md).
|
[terminal](/wiki/linux/system_console.md).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
curl -fsSL https://get.docker.com -o get-docker.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.
|
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.
|
Docker is a tool that can be used to virtualize different programs and softwares.
|
||||||
Especially for containerizing and virtualizing operating systems (mostly based on
|
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
|
For this
|
||||||
[jlesages baseimage-gui container](https://hub.docker.com/r/jlesage/baseimage-gui)
|
[jlesages baseimage-gui container](https://hub.docker.com/r/jlesage/baseimage-gui)
|
||||||
can be used.
|
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
|
||||||
|
```
|
||||||
|
|||||||
@@ -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
|
Identify the game that has been removed and is not shown in the wishlist
|
||||||
anymore.
|
anymore.
|
||||||
Remember the `appid` of the game
|
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.
|
change `<appid>` accordingly.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ displaying, creating and editing (raster) images.
|
|||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
The following section addresses different uses ImageMagick.
|
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
|
## 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`
|
- `bluetoothctl` is a command-line interface included in the `bluez-utils`
|
||||||
package
|
package
|
||||||
- `bluetuith` can be used as a bluetooth manager with a
|
- `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
|
It is included in a package of the same name, that needs to be installed
|
||||||
before usage.
|
before usage.
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ It is used to savely encrypt and decrypt messages or files using assymetric encr
|
|||||||
## Setup
|
## 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
|
## Usage
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Khard
|
# Khard
|
||||||
|
|
||||||
[Khard](https://github.com/lucc/khard) is a adressbook that runs in your
|
[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).
|
You can sync it with [vdirsyncer](vdirsyncer.md).
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# NeoMutt
|
# 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.
|
It can be easily configured using mutt-wizard.
|
||||||
|
|
||||||
## Setup
|
## 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
|
NetworkManager can be installed with the `networkmanager` package on most linux
|
||||||
distributions which provides daemon aswell as `nmcli` a command line interface
|
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.
|
configuration.
|
||||||
Additionally `nm-connection-editor` can be installed for a graphical user
|
Additionally `nm-connection-editor` can be installed for a graphical user
|
||||||
interface.
|
interface.
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ The command-line output will show the address to reach the service.
|
|||||||
papis serve
|
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
|
A BibTeX file containing all the entries of all the libraries can be created by running the
|
||||||
following command.
|
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.
|
The cache of Papis can be cleared by running the following command.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
papis --cc
|
papis cache clear
|
||||||
```
|
```
|
||||||
|
|
||||||
### Import Entries from a BibTeX File
|
### 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/
|
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
|
### Changing the Default Names of the Library
|
||||||
papis --cc
|
|
||||||
|
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
|
Doing this the existing entries, its files, folders and references will not be renamed.
|
||||||
correctly.
|
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
|
## Using Hotkeys
|
||||||
|
|
||||||
Hotkeys can be more accessible than typing the commands to start or stop music
|
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
|
With [SXHKD](/wiki/linux/sxhkd.md#setting-a-hotkey) commands from the CLI can
|
||||||
be set to a hotkey.
|
be set to a hotkey.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
A shell is a command-line interpreter that provides a command-line interface to
|
A shell is a command-line interpreter that provides a command-line interface to
|
||||||
interact with the many unix-like system.
|
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
|
## Unix Shells
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Notable works of Suckless are the following.
|
|||||||
- [dwm](https://dwm.suckless.org/) is a window manager
|
- [dwm](https://dwm.suckless.org/) is a window manager
|
||||||
- [ii](https://tools.suckless.org/ii/) is an IRC client
|
- [ii](https://tools.suckless.org/ii/) is an IRC client
|
||||||
- [slock](https://tools.suckless.org/slock/) is a screen locker
|
- [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
|
Additionally to this Suckless maintains a list of free and open-source software that is endorsed by
|
||||||
Suckless.
|
Suckless.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
A system console is used for entering data into a computer and communicating
|
A system console is used for entering data into a computer and communicating
|
||||||
with it.
|
with it.
|
||||||
It mostly uses a keyboard for input aswell as a screen for displaying results.
|
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
|
## Terminals
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Todoman
|
# Todoman
|
||||||
|
|
||||||
[todoman](https://github.com/pimutils/todoman) is a todolist you can use in your
|
[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)
|
You can sync it using [vdirsyncer](vdirsyncer.md)
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|||||||
@@ -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.
|
software to access your mails.
|
||||||
And even if you have it can be useful to keep your mails synced locally on your pc.
|
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.
|
mail client for linux, that has a simple interface.
|
||||||
- [Thunderbird](/wiki/thunderbird.md) is a free and open source mail client which is cross
|
- [Thunderbird](/wiki/thunderbird.md) is a free and open source mail client which is cross
|
||||||
platform.
|
platform.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
The software can be setup via [Docker](/wiki/docker.md) with a
|
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.
|
certbot, which is called nginx-certbot-docker-tui or short ncdt.
|
||||||
|
|
||||||
Alternatively the standalone [nginx image](./docker/nginx.md) can be
|
Alternatively the standalone [nginx image](./docker/nginx.md) can be
|
||||||
|
|||||||
@@ -5,6 +5,6 @@ desktop of a system.
|
|||||||
It is based on the Remote Frame Buffer protocoll which is also named RFB.
|
It is based on the Remote Frame Buffer protocoll which is also named RFB.
|
||||||
|
|
||||||
VNC is especially used for accessing graphical applications or
|
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
|
[dockerized](/wiki/docker.md#dockerize-a-graphical-application) or virtualized
|
||||||
program.
|
program.
|
||||||
|
|||||||
Reference in New Issue
Block a user