mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-19 14:07:46 +02:00
Compare commits
No commits in common. "7d47b19c298078acd989a031505756b6b1445249" and "cf69eaa409e466ad43a5e40a9412034fcb4a5dee" have entirely different histories.
7d47b19c29
...
cf69eaa409
@ -3,6 +3,6 @@
|
||||
[F-Droid](https://f-droid.org) is an installable catalogue of free and open source
|
||||
software for Android systems.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
To install F-Droid simply download and run the [apk](https://f-droid.org/F-Droid.apk).
|
||||
|
@ -8,12 +8,7 @@ interacting with the [DNS](./dns.md).
|
||||
The software can be setup via docker with the
|
||||
[ventz image](./docker-images/ventz_-_bind.md).
|
||||
|
||||
## Usage
|
||||
|
||||
The following sections describe various use cases for Bind and how to set up
|
||||
specific domains.
|
||||
|
||||
### Configure Local DNS server with forwarding
|
||||
## Configure Local DNS server with forwarding
|
||||
|
||||
After setting up the server.
|
||||
Look into the file `/etc/bind/named.conf.options`.
|
||||
@ -50,7 +45,7 @@ options {
|
||||
};
|
||||
```
|
||||
|
||||
### Configure local domains
|
||||
## Configure local domains
|
||||
|
||||
This section explains how to add local domains for local systems.
|
||||
It is explicitly compatible with the
|
||||
|
@ -10,10 +10,10 @@ the [Dolphin website](https://dolphin-emu.org/download/).
|
||||
Additionally it can be installed using [Flatpak](../linux/flatpak.md) where the
|
||||
package is called `org.DolphinEmu.dolphin-emu`.
|
||||
|
||||
## Usage
|
||||
## Configuration
|
||||
|
||||
The following sections describe specific issues relating to the configuration
|
||||
and usage of Dolphin.
|
||||
of Dolphin.
|
||||
|
||||
### Steam Deck specific settings
|
||||
|
||||
|
@ -14,12 +14,12 @@ It is a Lord of the Rings themed mod, not only adding a large array of new
|
||||
units, castles and factions, but converting it to a setting based in
|
||||
Middle-earth.
|
||||
|
||||
#### Setup (Windows)
|
||||
#### Installation (Windows)
|
||||
|
||||
For Windows guides follow the official installation guide at
|
||||
[MOD DB](https://www.moddb.com/mods/divide-and-conquer/).
|
||||
|
||||
#### Setup (Linux)
|
||||
#### Installation (Linux)
|
||||
|
||||
The installation guide for this mod is based on
|
||||
[Laetus'](http://www.twcenter.net/forums/showthread.php?724777-Third-Age-and-Linux)
|
||||
|
@ -3,9 +3,7 @@
|
||||
[MultiMC5](https://multimc.org) is a custom launcher that allows multiple
|
||||
[Minecraft](./minecraft.md) instances installed at once.
|
||||
|
||||
## Usage
|
||||
|
||||
### Adding OptiFine to a Minecraft instance
|
||||
## Add OptiFine to a Minecraft instance
|
||||
|
||||
[OptiFine](https://www.optifine.net/home) is a Minecraft optimization mod.
|
||||
The following steps show how to add optifine to a MultiMC5 Minecraft instance.
|
||||
|
@ -10,10 +10,10 @@ the [PPSSPP website](https://ppsspp.org/downloads.html).
|
||||
Additionally it can be installed using [Flatpak](../linux/flatpak.md) where the
|
||||
package is called `org.ppsspp.PPSSPP`.
|
||||
|
||||
## Usage
|
||||
## Configuration
|
||||
|
||||
The following sections describe specific issues relating to the configuration
|
||||
and usage of PPSSPP.
|
||||
of PPSSPP.
|
||||
|
||||
### Steam Deck specific settings
|
||||
|
||||
|
@ -4,14 +4,12 @@
|
||||
strategy game which is available as a standalone Launcher for Windows and on
|
||||
[Steam](./steam.md) and many other video game distribution services.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Problems launching with [Proton](./steam.md)
|
||||
## Problems launching with [Proton](./steam.md)
|
||||
|
||||
Due to the standalone launcher of Civilization VI being used in the startup
|
||||
process of steam, it can be useful to skip the launcher by
|
||||
process of [steam](./steam.md), it can be useful to skip the launcher by
|
||||
setting the following line as launch options in the general tab of
|
||||
steams game related settings:
|
||||
[steams](./steam.md) game related settings:
|
||||
|
||||
```sh
|
||||
eval $( echo "%command%" | sed "s/2KLauncher\/LauncherPatcher.exe'.*/Base\/Binaries\/Win64Steam\/CivilizationVI'/" )
|
||||
|
@ -6,9 +6,7 @@ It is developed by [Valve](https://www.valvesoftware.com).
|
||||
Steam uses its compatibility layer, [Proton](./proton.md) for running windows
|
||||
games on linux based operating systems.
|
||||
|
||||
## Usage
|
||||
|
||||
### Adding non-Steam Games
|
||||
## Adding non-Steam Games
|
||||
|
||||
Games that are not in the Steam store can be added to the Steam application.
|
||||
This is done by opening (the desktop mode) of Steam and selecting
|
||||
@ -28,7 +26,7 @@ command but this can also differ depending on the launcher.
|
||||
Websites can be added by setting `xdg-open "<url/ip>"` as the `Launch Option`.
|
||||
This will open the website with the Steam browser.
|
||||
|
||||
### Setting Icons and Banners for Games
|
||||
## Setting Icons and Banners for Games
|
||||
|
||||
Images for games can be changed by downloading them and applying them manually.
|
||||
An easier route can be taken by using
|
||||
|
@ -12,9 +12,7 @@ games are run with the help of [Proton](./proton.md).
|
||||
The Steam Deck includes the Flatpak based [Discover](../linux/flatpak.md)
|
||||
software management suite to install additional software.
|
||||
|
||||
## Usage
|
||||
|
||||
### Shortcuts
|
||||
## Shortcuts
|
||||
|
||||
- Esc: `STEAM + D-Pad Left`
|
||||
- Show Keyboard: `STEAM + X`
|
||||
|
@ -8,7 +8,7 @@ Bitlocker-ed volumes under Linux systems.
|
||||
On most of the Linux distributions Dislocker is bundled with the `dislocker`
|
||||
package.
|
||||
|
||||
## Usage
|
||||
## Mounting Bitlocker-ed volume
|
||||
|
||||
For the mounting to work two directories are required.
|
||||
One to mount the `dislocker-file` (`/mnt/bitlocker`) and one to mount the
|
||||
|
@ -6,7 +6,7 @@ streams.
|
||||
Easyeffects uses [Pipewire](./pipewire.md) as
|
||||
[sound server](/wiki/linux/audio.md#sound-server).
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
Easyeffects can be installed in most distributions by installing the
|
||||
`easyeffects` plugin.
|
||||
@ -17,7 +17,7 @@ An installation via [Flatpak](./flatpak.md) is also possible.
|
||||
Easyeffects can apply `Effects` to input and output sound.
|
||||
|
||||
### Noise cancellation
|
||||
Setup
|
||||
|
||||
Noise cancellation can be achieved by installing
|
||||
Easyeffects.
|
||||
Make sure to check the box `Process all Inputs` and `Process all Outputs` to
|
||||
|
@ -4,7 +4,7 @@
|
||||
for identifying and deleting duplicate files residing within one or more
|
||||
specified directories.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
The fdupes program can be installed by going to the
|
||||
[github page of it](https://github.com/adrianlopezroche/fdupes/releases).
|
||||
|
@ -3,9 +3,7 @@
|
||||
[ffmpeg](https://www.ffmpeg.org) is a free and open-source suite consisting of
|
||||
many audio and video tools and libraries.
|
||||
|
||||
## Usage
|
||||
|
||||
### Convert from format to another
|
||||
## Convert from format to another
|
||||
|
||||
The following line is an example for a conversion of a video and audio capable
|
||||
format - in this case `.webm` - to an audio format - in this case `.flac`:
|
||||
|
@ -8,9 +8,7 @@ On most distributions it is bundled together with the command line tagging
|
||||
software `metaflac` and other auxiliary tools in the `flac` package.
|
||||
Another possible tagging software is [MusicBrainz Picard](../picard.md)
|
||||
|
||||
## Usage
|
||||
|
||||
### Splitting Flac file according to cue file
|
||||
## Splitting Flac file according to cue file
|
||||
|
||||
An easy way to split flac files according to a [cue file](../cue_sheet.md) is
|
||||
using `cuebreakpoints` and `shnsplit`.
|
||||
|
@ -16,16 +16,14 @@ For browsing and installing Flatpak packages via a graphic user interface the
|
||||
software management suite called Discover can be used.
|
||||
It requires the Flatpak backend.
|
||||
|
||||
## Usage
|
||||
|
||||
### Installing software
|
||||
## Installing software
|
||||
|
||||
When software installation is done with Flatpak it is recommended to pass the
|
||||
`--user` so the software is not installed system-wide but for the user only.
|
||||
In practice it looks like the following:
|
||||
`flatpak install --user <package to install>`.
|
||||
|
||||
### Running software
|
||||
## Running software
|
||||
|
||||
Software installed via Flatpak can be run by typing the full package path into
|
||||
the command line, for example `com.makemkv.MakeMKV`.
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
`hwclock` is a program to set and display the hardware clock.
|
||||
|
||||
## Usage
|
||||
|
||||
### Display time and date
|
||||
## Display time and date
|
||||
|
||||
To display the hardware clock run the following command:
|
||||
|
||||
@ -12,7 +10,7 @@ To display the hardware clock run the following command:
|
||||
hwclock
|
||||
```
|
||||
|
||||
### Sync the hardware clock to the system time
|
||||
## Sync the hardware clock to the system time
|
||||
|
||||
To sync the hardware clock run the following command:
|
||||
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Intel
|
||||
|
||||
[Intel](https://www.intel.de/content/www/de/de/homepage.html) is a vendor and
|
||||
manufacturer of semiconductor chips.
|
||||
They provide motherboard chips, network interface controllers, flash memory,
|
||||
[graphics chips](#intel-graphics) and more.
|
||||
|
||||
## Intel Graphics
|
||||
|
||||
Intel graphics is the name for various intel made integrated graphics
|
||||
processors.
|
||||
|
||||
### Usage
|
||||
|
||||
#### Screen Tearing
|
||||
|
||||
Linux systems that use intel graphics can sometimes have problems with screen
|
||||
tearing.
|
||||
To get this working you need to change the `/etc/X11/xorg.conf.d/20-intel.conf`
|
||||
as explained on
|
||||
[maketecheasier](https://www.maketecheasier.com/get-rid-screen-tearing-linux)
|
||||
to:
|
||||
|
||||
```txt
|
||||
Section "Device"
|
||||
Identifier "Intel Graphics"
|
||||
Driver "intel"
|
||||
Option "TearFree" "true"
|
||||
EndSection
|
||||
```
|
||||
|
@ -4,9 +4,7 @@
|
||||
interfaces, routing and tunnels.
|
||||
It is a replacement for the program `ifconfig`.
|
||||
|
||||
## Usage
|
||||
|
||||
### List all network interfaces
|
||||
## List all network interfaces
|
||||
|
||||
You can list network interfaces by running:
|
||||
|
||||
@ -14,7 +12,7 @@ You can list network interfaces by running:
|
||||
ip link list
|
||||
```
|
||||
|
||||
### Enable/disable a network interface
|
||||
## Enable/disable a network interface
|
||||
|
||||
Assuming the interface is named `wlan0` run the following:
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
# Khal
|
||||
|
||||
[Khal](https://github.com/pimutils/khal) is a calendar you can use in your terminal.
|
||||
`khal` is a calendar you can use in your terminal.
|
||||
You can sync it with [vdirsyncer](vdirsyncer.md)
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions Khal can be installed with the `khal` package.
|
||||
Alternatively it can be installed via [Github](https://github.com/pimutils/khal).
|
||||
### Arch-Linux
|
||||
|
||||
- `pacman -S khal` - Install needed packages
|
||||
|
||||
### Configuration
|
||||
|
||||
|
@ -1,12 +1,13 @@
|
||||
# Khard
|
||||
|
||||
[Khard](https://github.com/lucc/khard) is a adressbook that runs in your terminal.
|
||||
`khard` is a adressbook that runs in your terminal.
|
||||
You can sync it with [vdirsyncer](vdirsyncer.md).
|
||||
|
||||
## Setup
|
||||
|
||||
On most linux distributions Khal can be installed with the `khard` package.
|
||||
Alternatively it can be installed via [Github](https://github.com/lucc/khard).
|
||||
### Arch Linux
|
||||
|
||||
- `pacman -S khard` - Install needed programs
|
||||
|
||||
### Configuration
|
||||
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
`lvm` is a utility to create logical volumes.
|
||||
|
||||
## Usage
|
||||
|
||||
### Create VG for proxmox
|
||||
## Create VG for proxmox
|
||||
|
||||
We will use `/dev/sdb` as our drive.
|
||||
Setup the disk for the physical volume with `sgdisk -N 1 /dev/sdb`.
|
||||
@ -15,7 +13,7 @@ This can be solved by removing the old partition table with `wipefs -a /dev/sdb`
|
||||
And finally create the volume group `vgcreate vmdata /dev/sdb`.
|
||||
Then follow the guide in proxmox on how to connect a `vg` to proxmox.
|
||||
|
||||
### Add Drive to existing volume group
|
||||
## Add Drive to existing volume group
|
||||
|
||||
First format the disk so that it has one partition (we will assume its called
|
||||
`/dev/sdc1`).
|
||||
@ -26,7 +24,7 @@ pvcreate /dev/sdc1
|
||||
vgextend <name of your volume group> /dev/sdc1
|
||||
```
|
||||
|
||||
### Resize a physical volume
|
||||
## Resize a physical volume
|
||||
|
||||
To increase the size of a physical volume you have to have free free space
|
||||
in the partition containing the physical volume.
|
||||
@ -38,7 +36,7 @@ encrypted with LUKS a guide is available in
|
||||
To resize the physical volume to the size of the containing volume run:
|
||||
`pvresize /dev/mapper/<name of physical volume>`
|
||||
|
||||
### Increase size of a logical volume
|
||||
## Increase size of a logical volume
|
||||
|
||||
To increase the size of the logical volume you have to have free space in the
|
||||
according volume group. You can check that by running: `vgdisplay`.
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
`mdadm` is a utility to create and manage raid devices.
|
||||
|
||||
## Usage
|
||||
|
||||
### Get information about a raid
|
||||
## Get information about a raid
|
||||
|
||||
To get an info for a running raid (assuming it is `/dev/md0`) run
|
||||
`mdadm -D /dev/md0`.
|
||||
@ -17,11 +15,11 @@ be a whole drive and the mdadm drive is called `/dev/md0`.
|
||||
|
||||
`mdadm --add /dev/md0 /dev/sdd1`
|
||||
|
||||
### Raid 1
|
||||
## Raid 1
|
||||
|
||||
Raid 1 creates a mirror with even amount of drives.
|
||||
|
||||
#### Create raid 1 device
|
||||
### Create raid 1 device
|
||||
|
||||
You can create a Raid 1 device with
|
||||
`mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb`
|
||||
@ -29,7 +27,7 @@ where `sda` and `sdb` are the disks you want to include in your raid.
|
||||
You can increase the number of raid devices, but they have to be at least 2.
|
||||
If it is an uneven amount of disks in the raid, a disk will act as a spare disk.
|
||||
|
||||
#### Convert raid 1 to raid 5
|
||||
### Convert raid 1 to raid 5
|
||||
|
||||
Assuming the raid device is called `/dev/md0`.
|
||||
All other drives are part of the `md0` raid device.
|
||||
|
@ -3,9 +3,7 @@
|
||||
A MIME type (short for Multipurpose Internet Mail Extensions) is a identifier
|
||||
for file formats and contents on the internet.
|
||||
|
||||
## Usage
|
||||
|
||||
### Setting applications for MIME types
|
||||
## Setting applications for MIME types
|
||||
|
||||
In `~/.config/mimeapps.list` a list of applications to run specific MIME
|
||||
types can be found.
|
||||
@ -46,7 +44,7 @@ Exec=/usr/bin/sxiv -a %f
|
||||
Atleast `Type`, `Name` and `Exec` have to be specified for a minimal
|
||||
application file.
|
||||
|
||||
### Getting MIME type of a file
|
||||
## Getting MIME type of a file
|
||||
|
||||
The MIME type of a file can be returned by running
|
||||
`xdg-mime query filetype <file>` or `file -b --mime-type image.png`.
|
||||
|
@ -3,9 +3,7 @@
|
||||
[Netplan](https://netplan.io) is a utility for configuring the networking of a
|
||||
linux system via YAML files.
|
||||
|
||||
## Usage
|
||||
|
||||
### Add more IP addresses to a system
|
||||
## Add more IP addresses to a system
|
||||
|
||||
In the file `/etc/netplan/50-cloud-init.yaml` create an `addresses:` section
|
||||
for a device (for example an ethernet device) and list the IP addresses you
|
||||
|
@ -4,6 +4,8 @@ NVidia is a vendor for graphics cards.
|
||||
|
||||
## Setup NVidia GPU
|
||||
|
||||
### Arch Linux
|
||||
|
||||
For NVidia GPUs to work install the `nvidia` and the `nvidia-utils` package.
|
||||
If you want to easily configure the monitors as described in a later section of
|
||||
this file you can also install `nvidia-settings`.
|
||||
@ -11,24 +13,17 @@ this file you can also install `nvidia-settings`.
|
||||
There is no initial setup in for of a `xorg.conf` in `/etc/X11` needed
|
||||
(except for a multiple GPU/APU setup).
|
||||
|
||||
### Configuration
|
||||
## Change monitor configuration
|
||||
|
||||
A basic configuration can be achieved by running `nvidia-xconfig`.
|
||||
|
||||
## Usage
|
||||
|
||||
Most configuration and changes require the use of `nvidia-settings`.
|
||||
|
||||
### Change monitor configuration
|
||||
|
||||
In `nvidia-setting` monitors can be dragged and dropped to your liking.
|
||||
After running `sudo nvidia-setting` can drag and drop the monitors to your
|
||||
liking.
|
||||
After that you have to save the configuration to the
|
||||
[X window manager](./x_window_system.md) configuration file
|
||||
`/etc/X11/xorg.conf`.
|
||||
|
||||
### Avoid screen tearing
|
||||
## Avoid screen tearing
|
||||
|
||||
In `nvidia-settings` under
|
||||
`X Server Display Configuration` select your display and click on `Advanced`
|
||||
and select either `Force Composition Timeline` or
|
||||
To avoid screen tearing open up `nvidia-settings` and under
|
||||
`X Server Display Configuration` select your display.
|
||||
Then click on `Advanced` and select either `Force Composition Timeline` or
|
||||
`Force Full Composition Timeline`.
|
||||
|
@ -3,9 +3,7 @@
|
||||
[OpenSSL](https://www.openssl.org) is a software library for secure
|
||||
communication over computer networks.
|
||||
|
||||
## Usage
|
||||
|
||||
### Creating a key pair
|
||||
## Creating a key pair
|
||||
|
||||
As described by [dreikanter](https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b)
|
||||
you can create and save a pretty secure private key to `private.key` with
|
||||
@ -13,7 +11,7 @@ you can create and save a pretty secure private key to `private.key` with
|
||||
After that run `openssl rsa -in private.key -pubout -out public.key` to save the
|
||||
according public key to `public.key`.
|
||||
|
||||
### Encrypting and decrypting files
|
||||
## Encrypting and decrypting files
|
||||
|
||||
[Dreikanter](https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b)
|
||||
describes to encrypt larger files with symmetric encryption and encrypt the key
|
||||
|
@ -3,7 +3,7 @@
|
||||
[Pipewire](https://pipewire.org) is a graph based
|
||||
[sound server](/wiki/linux/audio.md#sound-server).
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
For clients that use the [PulseAudio](/wiki/linux/pulseaudio.md) API
|
||||
`pipewire-pulse` (on Arch-based distros or according
|
||||
@ -13,7 +13,7 @@ Additionally `pipewire-alsa` and `pipewire-jack` for JACK and Alsa clients are
|
||||
available.
|
||||
Make sure to restart to be sure everything is running correctly.
|
||||
|
||||
## Usage
|
||||
## Sound processing
|
||||
|
||||
For simple sound processing in the form of volume adjustment as well as setting
|
||||
the default input and output devices `pavucontrol` can be used as a simple
|
||||
|
@ -78,7 +78,7 @@ To increase it navigate to the webinterface and click on Datacenter and Storage
|
||||
select the storage you want to save your backup to and change `Max Backups` to
|
||||
your liking.
|
||||
|
||||
## Troubleshooting
|
||||
## Bugfixing
|
||||
|
||||
### No internet after mainboard swap
|
||||
|
||||
|
@ -4,9 +4,7 @@
|
||||
[sound server](/wiki/linux/audio.md#sound-server) distributed by the
|
||||
[freedesktop.org](https://www.freedesktop.org/wiki/Software/PulseAudio) project.
|
||||
|
||||
## Usage
|
||||
|
||||
### Mixing
|
||||
## Sound Processing
|
||||
|
||||
For simple sound processing in the form of volume adjustment as well as setting
|
||||
the default input and output devices `pavucontrol` can be used as a simple
|
||||
|
@ -1,14 +1,13 @@
|
||||
# SC-IM
|
||||
|
||||
[sc-im](https://github.com/andmarti1424/sc-im) is a program to view and edit tables especially in csv-format.
|
||||
`sc-im` is a program to view and edit tables especially in csv-format.
|
||||
|
||||
## Setup
|
||||
|
||||
|
||||
### Arch-Linux
|
||||
|
||||
Sc-im can be installed via [github](https://github.com/andmarti1424/sc-im).
|
||||
Some distributions also feature the `sc-im` package.
|
||||
- `yay -S sc-im` - Install sc-im
|
||||
- `sc-im <insert-filename>.csv` - Edit files
|
||||
|
||||
## Usage
|
||||
|
||||
@ -19,7 +18,7 @@ You can delete (multiple (for example `3`) rows `dr`/`d3r`, yank rows `yr`/`y3r`
|
||||
You can delete (multiple (for example `3`) columns `dc`/`d3c`, yank rows `yc`/`y3c`.
|
||||
You can insert new rows `ir`/`i3r` or columns `ic`/`i3c`.
|
||||
|
||||
### Calculations and Functions
|
||||
### Special numbers
|
||||
|
||||
There are some functions you can use when in numbers mode.
|
||||
|
||||
|
@ -1,15 +1,13 @@
|
||||
# Shell
|
||||
|
||||
A shell is a command-line interpreter that provides a command-line interface to
|
||||
interact with the many unix-like system.
|
||||
# Shells
|
||||
|
||||
## Change /bin/sh
|
||||
|
||||
The Shell in some distributions is made up by a POSIX compliant mode of bash.
|
||||
### Arch-Linux
|
||||
|
||||
The Shell in Arch-Linux is made up by a POSIX compliant mode of bash.
|
||||
Problem with that is the speed.
|
||||
A shell like dash would be much faster.
|
||||
This is a guide on how to persistently change the symlink /bin/sh from bash to
|
||||
dash.
|
||||
This is a guide on how to persistently change the symlink /bin/sh from bash to dash.
|
||||
|
||||
- `yay -S dash` - Install dash
|
||||
- `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash
|
@ -3,19 +3,17 @@
|
||||
SSH is a network protocoll to securely connect to a computer.
|
||||
In this article it is assumed that `openssh` is used.
|
||||
|
||||
## Usage
|
||||
|
||||
### Generate new keys
|
||||
## Generate new keys
|
||||
|
||||
To generate new ssh keys simply run `ssh-keygen -t ed25519` or
|
||||
`ssh-keygen -t rsa -b 4096`.
|
||||
|
||||
### Enable root login via SSH
|
||||
## Enable root login via SSH
|
||||
|
||||
Edit the `/etc/ssh/sshd_config` and change the line containing `PermitRootLogin`
|
||||
to `PermitRootLogin yes`.
|
||||
|
||||
### Add login via SSH public key
|
||||
## Add login via SSH public key
|
||||
|
||||
To enable easy login without password you can add the contents of the file
|
||||
`~/.ssh/id_rsa.pub` from your local machine to the file `~/.ssh/authorized_keys`
|
||||
@ -26,7 +24,7 @@ You can use the modified command below for ease of use:
|
||||
cat ~/.ssh/id_rsa.pub | ssh username@server 'cat >> ~/.ssh/authorized_keys'
|
||||
```
|
||||
|
||||
### Mount directory with sshfs
|
||||
## Mount directory with sshfs
|
||||
|
||||
To mount a directory (in this case called `directory`) from a remote server
|
||||
(in this case called `server` also can be substituted by something like
|
||||
|
@ -3,15 +3,7 @@
|
||||
Suckless is a community that is best known for minimalist free software.
|
||||
Notable works include `dwm` and `dmenu`.
|
||||
|
||||
## Programs
|
||||
|
||||
- dmenu is a menu with prgram launcher functionality
|
||||
- dwm is a window manager
|
||||
- ii is an IRC client
|
||||
- slock is a screen locker
|
||||
- st is a terminal
|
||||
|
||||
## Setup
|
||||
## Workflow for installation
|
||||
|
||||
Programs written by the suckless community are minimal by default.
|
||||
`.diff` files are available to patch functionality.
|
||||
@ -40,10 +32,15 @@ new `feature`
|
||||
- Get the `config.def.h` of `master` into `config` with
|
||||
`git checkout master config.def.h`
|
||||
|
||||
## Programs
|
||||
|
||||
## Troubleshooting
|
||||
- dmenu is a menu with prgram launcher functionality
|
||||
- dwm is a window manager
|
||||
- ii is an IRC client
|
||||
- slock is a screen locker
|
||||
- st is a terminal
|
||||
|
||||
### suckless program crashes or struggles with colored emojis
|
||||
## suckless program crashes or struggles with colored emojis
|
||||
|
||||
Suckless programs especially `st` and `dmenu` can not display colored
|
||||
emojis.
|
||||
|
@ -3,9 +3,7 @@
|
||||
SystemD is an [init system](./init.md) for Linux systems.
|
||||
It is used for service configuration and startup.
|
||||
|
||||
## Usage
|
||||
|
||||
### Run Command on Boot
|
||||
## Run command on boot
|
||||
|
||||
To run a command (in this case `/bin/bash /root/run.sh`) create the following
|
||||
file at `/etc/systemd/system/` with a name ending on `.service`.
|
||||
|
@ -1,13 +1,13 @@
|
||||
# Todoman
|
||||
|
||||
[todoman](https://github.com/pimutils/todoman) is a todolist you can use in your terminal.
|
||||
`todoman` is a todolist you can use in your terminal.
|
||||
You can sync it using [vdirsyncer](vdirsyncer.md)
|
||||
|
||||
## Setup
|
||||
|
||||
Todoman can be installed via the
|
||||
[github page](https://github.com/pimutils/todoman).
|
||||
Some distributions also feature the `todoman` package.
|
||||
### Arch-Linux
|
||||
|
||||
- `pacman -S todoman` - Install needed packages
|
||||
|
||||
### Configuration
|
||||
|
||||
|
@ -3,9 +3,7 @@
|
||||
[UFW (Uncomplicated Firewall)](https://code.launchpad.net/ufw) is a program to
|
||||
manage a netfilter firewall.
|
||||
|
||||
## Usage
|
||||
|
||||
### Block specific IPs
|
||||
## Block specific IPs
|
||||
|
||||
To block the whole traffic from a specific IP to your computer run:
|
||||
`ufw deny from <ip> to any`
|
||||
@ -14,7 +12,7 @@ was blocked.
|
||||
If you don't care if the target knows you can also run:
|
||||
`sudo ufw reject from <ip> to any`
|
||||
|
||||
### List all rules
|
||||
## List all rules
|
||||
|
||||
To show all rules you can run:
|
||||
`ufw status`
|
||||
@ -22,7 +20,7 @@ or:
|
||||
`ufw status numbered`
|
||||
if you want to have a list of all rules with according numbers.
|
||||
|
||||
### Remove rules
|
||||
## Remove rules
|
||||
|
||||
Locate the rule you want to remove by showing all rules (numbered).
|
||||
Then run:
|
||||
|
@ -1,13 +1,13 @@
|
||||
# Vdirsyncer
|
||||
|
||||
[Vdirsyncer](https://github.com/pimutils/vdirsyncer) can sync calendars and
|
||||
contacts using the caldav and carddav protocol.
|
||||
`vdirsyncer` can sync calendars and contacts using the caldav and carddav
|
||||
protocol.
|
||||
|
||||
## Setup
|
||||
|
||||
Vdirsyncer can be installed via the
|
||||
[github page](https://github.com/pimutils/vdirsyncer).
|
||||
Some distributions also feature the `vdirsyncer` package.
|
||||
### Arch-Linux
|
||||
|
||||
- `pacman -S vdirsyncer` - Install needed packages
|
||||
|
||||
### Configuration
|
||||
|
||||
|
@ -2,15 +2,7 @@
|
||||
|
||||
[ViFM](https://vifm.info) is a file manager focussed on vim like usage.
|
||||
|
||||
## Setup
|
||||
|
||||
ViFM can be installed via the
|
||||
[github page](https://github.com/vifm/vifm).
|
||||
Some distributions also feature the `vifm` package.
|
||||
|
||||
### Configuration
|
||||
|
||||
#### Image Previews with Ueberzug
|
||||
## Image Previews with Ueberzug
|
||||
|
||||
This section is based on a
|
||||
[video by Distrotube](https://www.youtube.com/watch?v=qgxsduCO1pE).
|
||||
|
@ -1,22 +1,23 @@
|
||||
# Wine
|
||||
|
||||
[Wine](https://www.winehq.org/) is a compatibility layer to run windows
|
||||
programs on linux machines.
|
||||
Wine is a compatibility layer to run windows programs on linux machines.
|
||||
|
||||
## Setup
|
||||
|
||||
Wine can be installed on most distributions by acquiring the `wine` package.
|
||||
The `winetricks` package also is recommended.
|
||||
Alternatively it can be downloaded from
|
||||
[the official website](https://www.winehq.org/).
|
||||
- Enable multilib support in pacman
|
||||
- `vim /etc/pacman.conf` - Uncomment the following lines
|
||||
|
||||
## Usage
|
||||
```txt
|
||||
[multilib]
|
||||
Include = /etc/pacman.d/mirrorlist
|
||||
```
|
||||
|
||||
### Run a windows program
|
||||
- `pacman -S wine winetricks` - Install wine and configuration helper
|
||||
|
||||
## Configuration
|
||||
|
||||
- Set the global variable `WINEPREFIX` to your liking, standard is `$HOME/.wine`
|
||||
- `winetricks` - run the installation of basic windows dependencies to the wine
|
||||
directory
|
||||
- `winetricks` - run the installation of basic windows dependencies to the wine directory
|
||||
- Move the program you want to run to `$WINEPREFIX/drive_c/`
|
||||
- `winetricks sandbox` - (Optional) if you don't want wine to set up directories
|
||||
or files into your home directory
|
||||
|
@ -4,9 +4,7 @@
|
||||
It is especially interesting due to its WPA2 and WPA3 capabilities in contrast
|
||||
to other networking software.
|
||||
|
||||
## Usage
|
||||
|
||||
### Connect to a WPA2 secured WLAN
|
||||
## Connect to a WPA2 secured WLAN
|
||||
|
||||
This part assumes that your network interface is called `wlan0`
|
||||
(change it accordingly).
|
||||
|
@ -20,9 +20,8 @@ Properties and options of a peripheral device can then be shown by running
|
||||
`xinput list-props <id>` where `<id>` is the identifier of the
|
||||
device.
|
||||
|
||||
### Keyboard
|
||||
|
||||
This section describes the handling of keyboards by X.
|
||||
### Keyboard
|
||||
|
||||
#### Change Keyboardlayout
|
||||
|
||||
@ -32,12 +31,24 @@ For a permanent change run `localectl set-x11-keymap <your preferred layout>`.
|
||||
|
||||
### Display
|
||||
|
||||
This section describes the handling of displays by X.
|
||||
Additionally to the guides in this section that are independent of the used
|
||||
graphics unit special configuration for [Nvidia](/wiki/linux/nvidia.md)
|
||||
and [Intel](./intel.md) can be found in their respective entries in this wiki.
|
||||
#### Screen Tearing
|
||||
|
||||
#### Screen Blanking
|
||||
Linux systems that use intel graphics can sometimes have problems with screen
|
||||
tearing.
|
||||
To get this working you need to change the `/etc/X11/xorg.conf.d/20-intel.conf`
|
||||
as explained on
|
||||
[maketecheasier](https://www.maketecheasier.com/get-rid-screen-tearing-linux)
|
||||
to:
|
||||
|
||||
```txt
|
||||
Section "Device"
|
||||
Identifier "Intel Graphics"
|
||||
Driver "intel"
|
||||
Option "TearFree" "true"
|
||||
EndSection
|
||||
```
|
||||
|
||||
#### Disable Screen Blanking
|
||||
|
||||
To save power the screen is set to turn black after a given amount of time.
|
||||
This can be disabled temporarily by running `xset s off` or permanently by
|
||||
@ -51,14 +62,9 @@ EndSection
|
||||
|
||||
### Mouse
|
||||
|
||||
This section describes the handling of mouse by X.
|
||||
#### Enable/Disable the Usage of the Middle Mouse Button
|
||||
|
||||
#### Emulation of the Middle Mouse Button
|
||||
|
||||
If middle mouse button emulation is enabled the system will emulate a middle
|
||||
mouse button click when clicking both left and right mouse button
|
||||
simultaneously.
|
||||
The middle mouse button emulation can be activated or deactivated.
|
||||
The middle mouse button can be activated or deactivated.
|
||||
First the current options have to be confirmed as explained in
|
||||
[the peripheral section](#peripheral-devices).
|
||||
Important is the property named `libinput Middle Emulation Enabled`.
|
||||
|
@ -2,13 +2,15 @@
|
||||
|
||||
C is a common programming language.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
To get c working you basically just need to install a compiler.
|
||||
To get a compiler for c there are a few options.
|
||||
|
||||
- [GNU compiler collection](https://gcc.gnu.org)
|
||||
|
||||
## IDE
|
||||
|
||||
### Vim
|
||||
|
||||
The steps to make Vim a c IDE are described in [the vim section of this wiki](../linux/vim/c-language.md).
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
GoLang is a common programming language.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
To get go working you basically just need to install [Go](https://golang.org/doc/install).
|
||||
Make sure to set the `GOPATH` and the `GOBIN` variable and add the last to the `Path`
|
||||
@ -16,6 +16,8 @@ export PATH="${GOBIN}:${PATH}"
|
||||
|
||||
You can move the `GOPATH` where you want.
|
||||
|
||||
## Vim
|
||||
## IDE
|
||||
|
||||
### Vim
|
||||
|
||||
The steps to make Vim a Go IDE are described in [the vim section of this wiki](../linux/vim/golang.md).
|
||||
|
@ -3,13 +3,15 @@
|
||||
[Nim](https://nim-lang.org) is a statically typed compiled systems programming
|
||||
language.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
You can install nim using choosenim with
|
||||
`curl https://nim-lang.org/choosenim/init.sh -sSf | sh`.
|
||||
If you're on an arch-based machine you can also run `yay -S choosenim` (install `yay` if necessary).
|
||||
|
||||
## Vim
|
||||
## IDE
|
||||
|
||||
### Vim
|
||||
|
||||
The steps to make Vim a nim IDE are described in
|
||||
[the vim section of this wiki](../linux/vim/nim.md).
|
||||
|
@ -3,7 +3,7 @@
|
||||
[Python](https://www.python.org) is an interpreted general-purpose programming
|
||||
language.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
You can install python using various ways.
|
||||
With `pyenv` you can switch between different versions.
|
||||
@ -22,12 +22,9 @@ You can then set and install your preferred version of python globally with
|
||||
Analog to managing python versions, `pipenv` can manage pip and package versions.
|
||||
A guide and description of the usage can be found on [gioele.io](https://gioele.io/pyenv-pipenv).
|
||||
|
||||
### Vim
|
||||
### Avoid Errors in Vim
|
||||
|
||||
The steps to make Vim a python IDE are described in
|
||||
[the vim section of this wiki](../linux/vim/python.md).
|
||||
|
||||
Additionally make sure to add
|
||||
Make sure to add
|
||||
|
||||
```vimscript
|
||||
let g:python_host_prog = "/usr/bin/python2"
|
||||
@ -43,6 +40,13 @@ to your `init.vim` to avoid usage of `pyenv`s version of python in autocompletio
|
||||
To automatically create a `requirements.txt` of your current project, navigate
|
||||
to it and run `pipreqs` (install it if not already done).
|
||||
|
||||
## IDE
|
||||
|
||||
### Vim
|
||||
|
||||
The steps to make Vim a python IDE are described in
|
||||
[the vim section of this wiki](../linux/vim/python.md).
|
||||
|
||||
## Modules
|
||||
|
||||
There are various modules and package managers to install these for python like
|
||||
|
@ -2,18 +2,12 @@
|
||||
|
||||
VHDL is a hardware description language.
|
||||
|
||||
## Setup
|
||||
## Installation
|
||||
|
||||
To simulate a VHDL project get [GHDL](https://github.com/ghdl/ghdl).
|
||||
After simulating you can view the simulation with [GTKWave](https://github.com/gtkwave/gtkwave).
|
||||
|
||||
### Vim
|
||||
|
||||
The steps to make Vim VHDL-ready are described in [the vim section of this wiki](../linux/vim/vhdl.md).
|
||||
|
||||
## Usage
|
||||
|
||||
### Makefile for basic project
|
||||
## Makefile for basic project
|
||||
|
||||
Easiest way to analyse and simulate your project is a `Makefile`:
|
||||
|
||||
@ -57,3 +51,9 @@ clean:
|
||||
```
|
||||
|
||||
You can then for example do all steps by running `make all` in the according folder.
|
||||
|
||||
## IDE
|
||||
|
||||
### Vim
|
||||
|
||||
The steps to make Vim VHDL-ready are described in [the vim section of this wiki](../linux/vim/vhdl.md).
|
||||
|
Loading…
x
Reference in New Issue
Block a user