x/nvidia/intel: nvidia-xconfig and nvidia-settings added. x split from nvidia and intel

master
tiyn 2 years ago
parent cf69eaa409
commit bdbbda34af

@ -8,7 +8,12 @@ interacting with the [DNS](./dns.md).
The software can be setup via docker with the The software can be setup via docker with the
[ventz image](./docker-images/ventz_-_bind.md). [ventz image](./docker-images/ventz_-_bind.md).
## Configure Local DNS server with forwarding ## Usage
The following sections describe various use cases for Bind and how to set up
specific domains.
### Configure Local DNS server with forwarding
After setting up the server. After setting up the server.
Look into the file `/etc/bind/named.conf.options`. Look into the file `/etc/bind/named.conf.options`.
@ -45,7 +50,7 @@ options {
}; };
``` ```
## Configure local domains ### Configure local domains
This section explains how to add local domains for local systems. This section explains how to add local domains for local systems.
It is explicitly compatible with the It is explicitly compatible with the

@ -8,7 +8,7 @@ Bitlocker-ed volumes under Linux systems.
On most of the Linux distributions Dislocker is bundled with the `dislocker` On most of the Linux distributions Dislocker is bundled with the `dislocker`
package. package.
## Mounting Bitlocker-ed volume ## Usage
For the mounting to work two directories are required. For the mounting to work two directories are required.
One to mount the `dislocker-file` (`/mnt/bitlocker`) and one to mount the One to mount the `dislocker-file` (`/mnt/bitlocker`) and one to mount the

@ -6,7 +6,7 @@ streams.
Easyeffects uses [Pipewire](./pipewire.md) as Easyeffects uses [Pipewire](./pipewire.md) as
[sound server](/wiki/linux/audio.md#sound-server). [sound server](/wiki/linux/audio.md#sound-server).
## Installation ## Setup
Easyeffects can be installed in most distributions by installing the Easyeffects can be installed in most distributions by installing the
`easyeffects` plugin. `easyeffects` plugin.
@ -17,7 +17,7 @@ An installation via [Flatpak](./flatpak.md) is also possible.
Easyeffects can apply `Effects` to input and output sound. Easyeffects can apply `Effects` to input and output sound.
### Noise cancellation ### Noise cancellation
Setup
Noise cancellation can be achieved by installing Noise cancellation can be achieved by installing
Easyeffects. Easyeffects.
Make sure to check the box `Process all Inputs` and `Process all Outputs` to 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 for identifying and deleting duplicate files residing within one or more
specified directories. specified directories.
## Installation ## Setup
The fdupes program can be installed by going to the The fdupes program can be installed by going to the
[github page of it](https://github.com/adrianlopezroche/fdupes/releases). [github page of it](https://github.com/adrianlopezroche/fdupes/releases).

@ -3,7 +3,9 @@
[ffmpeg](https://www.ffmpeg.org) is a free and open-source suite consisting of [ffmpeg](https://www.ffmpeg.org) is a free and open-source suite consisting of
many audio and video tools and libraries. many audio and video tools and libraries.
## Convert from format to another ## Usage
### Convert from format to another
The following line is an example for a conversion of a video and audio capable 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`: format - in this case `.webm` - to an audio format - in this case `.flac`:

@ -8,7 +8,9 @@ On most distributions it is bundled together with the command line tagging
software `metaflac` and other auxiliary tools in the `flac` package. software `metaflac` and other auxiliary tools in the `flac` package.
Another possible tagging software is [MusicBrainz Picard](../picard.md) Another possible tagging software is [MusicBrainz Picard](../picard.md)
## Splitting Flac file according to cue file ## Usage
### Splitting Flac file according to cue file
An easy way to split flac files according to a [cue file](../cue_sheet.md) is An easy way to split flac files according to a [cue file](../cue_sheet.md) is
using `cuebreakpoints` and `shnsplit`. using `cuebreakpoints` and `shnsplit`.

@ -16,14 +16,16 @@ For browsing and installing Flatpak packages via a graphic user interface the
software management suite called Discover can be used. software management suite called Discover can be used.
It requires the Flatpak backend. It requires the Flatpak backend.
## Installing software ## Usage
### Installing software
When software installation is done with Flatpak it is recommended to pass the 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. `--user` so the software is not installed system-wide but for the user only.
In practice it looks like the following: In practice it looks like the following:
`flatpak install --user <package to install>`. `flatpak install --user <package to install>`.
## Running software ### Running software
Software installed via Flatpak can be run by typing the full package path into Software installed via Flatpak can be run by typing the full package path into
the command line, for example `com.makemkv.MakeMKV`. the command line, for example `com.makemkv.MakeMKV`.

@ -2,7 +2,9 @@
`hwclock` is a program to set and display the hardware clock. `hwclock` is a program to set and display the hardware clock.
## Display time and date ## Usage
### Display time and date
To display the hardware clock run the following command: To display the hardware clock run the following command:
@ -10,7 +12,7 @@ To display the hardware clock run the following command:
hwclock 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: To sync the hardware clock run the following command:

@ -0,0 +1,31 @@
# 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,7 +4,9 @@
interfaces, routing and tunnels. interfaces, routing and tunnels.
It is a replacement for the program `ifconfig`. It is a replacement for the program `ifconfig`.
## List all network interfaces ## Usage
### List all network interfaces
You can list network interfaces by running: You can list network interfaces by running:
@ -12,7 +14,7 @@ You can list network interfaces by running:
ip link list ip link list
``` ```
## Enable/disable a network interface ### Enable/disable a network interface
Assuming the interface is named `wlan0` run the following: Assuming the interface is named `wlan0` run the following:

@ -1,13 +1,12 @@
# Khal # Khal
`khal` is a calendar you can use in your terminal. [Khal](https://github.com/pimutils/khal) is a calendar you can use in your terminal.
You can sync it with [vdirsyncer](vdirsyncer.md) You can sync it with [vdirsyncer](vdirsyncer.md)
## Setup ## Setup
### Arch-Linux On most linux distributions Khal can be installed with the `khal` package.
Alternatively it can be installed via [Github](https://github.com/pimutils/khal).
- `pacman -S khal` - Install needed packages
### Configuration ### Configuration

@ -1,13 +1,12 @@
# Khard # Khard
`khard` is a adressbook that runs in your terminal. [Khard](https://github.com/lucc/khard) is a adressbook that runs in your terminal.
You can sync it with [vdirsyncer](vdirsyncer.md). You can sync it with [vdirsyncer](vdirsyncer.md).
## Setup ## Setup
### Arch Linux On most linux distributions Khal can be installed with the `khard` package.
Alternatively it can be installed via [Github](https://github.com/lucc/khard).
- `pacman -S khard` - Install needed programs
### Configuration ### Configuration

@ -2,7 +2,9 @@
`lvm` is a utility to create logical volumes. `lvm` is a utility to create logical volumes.
## Create VG for proxmox ## Usage
### Create VG for proxmox
We will use `/dev/sdb` as our drive. We will use `/dev/sdb` as our drive.
Setup the disk for the physical volume with `sgdisk -N 1 /dev/sdb`. Setup the disk for the physical volume with `sgdisk -N 1 /dev/sdb`.
@ -13,7 +15,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`. And finally create the volume group `vgcreate vmdata /dev/sdb`.
Then follow the guide in proxmox on how to connect a `vg` to proxmox. 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 First format the disk so that it has one partition (we will assume its called
`/dev/sdc1`). `/dev/sdc1`).
@ -24,7 +26,7 @@ pvcreate /dev/sdc1
vgextend <name of your volume group> /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 To increase the size of a physical volume you have to have free free space
in the partition containing the physical volume. in the partition containing the physical volume.
@ -36,7 +38,7 @@ encrypted with LUKS a guide is available in
To resize the physical volume to the size of the containing volume run: To resize the physical volume to the size of the containing volume run:
`pvresize /dev/mapper/<name of physical volume>` `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 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`. according volume group. You can check that by running: `vgdisplay`.

@ -2,7 +2,9 @@
`mdadm` is a utility to create and manage raid devices. `mdadm` is a utility to create and manage raid devices.
## Get information about a raid ## Usage
### Get information about a raid
To get an info for a running raid (assuming it is `/dev/md0`) run To get an info for a running raid (assuming it is `/dev/md0`) run
`mdadm -D /dev/md0`. `mdadm -D /dev/md0`.
@ -15,11 +17,11 @@ be a whole drive and the mdadm drive is called `/dev/md0`.
`mdadm --add /dev/md0 /dev/sdd1` `mdadm --add /dev/md0 /dev/sdd1`
## Raid 1 ### Raid 1
Raid 1 creates a mirror with even amount of drives. 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 You can create a Raid 1 device with
`mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb` `mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda /dev/sdb`
@ -27,7 +29,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. 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. 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`. Assuming the raid device is called `/dev/md0`.
All other drives are part of the `md0` raid device. All other drives are part of the `md0` raid device.

@ -3,7 +3,9 @@
A MIME type (short for Multipurpose Internet Mail Extensions) is a identifier A MIME type (short for Multipurpose Internet Mail Extensions) is a identifier
for file formats and contents on the internet. for file formats and contents on the internet.
## Setting applications for MIME types ## Usage
### Setting applications for MIME types
In `~/.config/mimeapps.list` a list of applications to run specific MIME In `~/.config/mimeapps.list` a list of applications to run specific MIME
types can be found. types can be found.
@ -44,7 +46,7 @@ Exec=/usr/bin/sxiv -a %f
Atleast `Type`, `Name` and `Exec` have to be specified for a minimal Atleast `Type`, `Name` and `Exec` have to be specified for a minimal
application file. 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 The MIME type of a file can be returned by running
`xdg-mime query filetype <file>` or `file -b --mime-type image.png`. `xdg-mime query filetype <file>` or `file -b --mime-type image.png`.

@ -3,7 +3,9 @@
[Netplan](https://netplan.io) is a utility for configuring the networking of a [Netplan](https://netplan.io) is a utility for configuring the networking of a
linux system via YAML files. linux system via YAML files.
## Add more IP addresses to a system ## Usage
### Add more IP addresses to a system
In the file `/etc/netplan/50-cloud-init.yaml` create an `addresses:` section 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 for a device (for example an ethernet device) and list the IP addresses you

@ -4,8 +4,6 @@ NVidia is a vendor for graphics cards.
## Setup NVidia GPU ## Setup NVidia GPU
### Arch Linux
For NVidia GPUs to work install the `nvidia` and the `nvidia-utils` package. 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 If you want to easily configure the monitors as described in a later section of
this file you can also install `nvidia-settings`. this file you can also install `nvidia-settings`.
@ -13,7 +11,13 @@ this file you can also install `nvidia-settings`.
There is no initial setup in for of a `xorg.conf` in `/etc/X11` needed There is no initial setup in for of a `xorg.conf` in `/etc/X11` needed
(except for a multiple GPU/APU setup). (except for a multiple GPU/APU setup).
## Change monitor configuration ### Basic Configuration
A basic configuration can be achieved by running `nvidia-xconfig`.
## Usage
### Change monitor configuration
After running `sudo nvidia-setting` can drag and drop the monitors to your After running `sudo nvidia-setting` can drag and drop the monitors to your
liking. liking.
@ -21,7 +25,7 @@ After that you have to save the configuration to the
[X window manager](./x_window_system.md) configuration file [X window manager](./x_window_system.md) configuration file
`/etc/X11/xorg.conf`. `/etc/X11/xorg.conf`.
## Avoid screen tearing ### Avoid screen tearing
To avoid screen tearing open up `nvidia-settings` and under To avoid screen tearing open up `nvidia-settings` and under
`X Server Display Configuration` select your display. `X Server Display Configuration` select your display.

@ -3,7 +3,9 @@
[OpenSSL](https://www.openssl.org) is a software library for secure [OpenSSL](https://www.openssl.org) is a software library for secure
communication over computer networks. communication over computer networks.
## Creating a key pair ## Usage
### Creating a key pair
As described by [dreikanter](https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b) As described by [dreikanter](https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b)
you can create and save a pretty secure private key to `private.key` with you can create and save a pretty secure private key to `private.key` with
@ -11,7 +13,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 After that run `openssl rsa -in private.key -pubout -out public.key` to save the
according public key to `public.key`. according public key to `public.key`.
## Encrypting and decrypting files ### Encrypting and decrypting files
[Dreikanter](https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b) [Dreikanter](https://gist.github.com/dreikanter/c7e85598664901afae03fedff308736b)
describes to encrypt larger files with symmetric encryption and encrypt the key describes to encrypt larger files with symmetric encryption and encrypt the key

@ -3,7 +3,7 @@
[Pipewire](https://pipewire.org) is a graph based [Pipewire](https://pipewire.org) is a graph based
[sound server](/wiki/linux/audio.md#sound-server). [sound server](/wiki/linux/audio.md#sound-server).
## Installation ## Setup
For clients that use the [PulseAudio](/wiki/linux/pulseaudio.md) API For clients that use the [PulseAudio](/wiki/linux/pulseaudio.md) API
`pipewire-pulse` (on Arch-based distros or according `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. available.
Make sure to restart to be sure everything is running correctly. Make sure to restart to be sure everything is running correctly.
## Sound processing ## Usage
For simple sound processing in the form of volume adjustment as well as setting 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 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 select the storage you want to save your backup to and change `Max Backups` to
your liking. your liking.
## Bugfixing ## Troubleshooting
### No internet after mainboard swap ### No internet after mainboard swap

@ -4,7 +4,9 @@
[sound server](/wiki/linux/audio.md#sound-server) distributed by the [sound server](/wiki/linux/audio.md#sound-server) distributed by the
[freedesktop.org](https://www.freedesktop.org/wiki/Software/PulseAudio) project. [freedesktop.org](https://www.freedesktop.org/wiki/Software/PulseAudio) project.
## Sound Processing ## Usage
### Mixing
For simple sound processing in the form of volume adjustment as well as setting 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 the default input and output devices `pavucontrol` can be used as a simple

@ -1,13 +1,14 @@
# SC-IM # SC-IM
`sc-im` is a program to view and edit tables especially in csv-format. [sc-im](https://github.com/andmarti1424/sc-im) is a program to view and edit tables especially in csv-format.
## Setup ## Setup
### Arch-Linux ### Arch-Linux
- `yay -S sc-im` - Install sc-im Sc-im can be installed via [github](https://github.com/andmarti1424/sc-im).
- `sc-im <insert-filename>.csv` - Edit files Some distributions also feature the `sc-im` package.
## Usage ## Usage
@ -18,7 +19,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 delete (multiple (for example `3`) columns `dc`/`d3c`, yank rows `yc`/`y3c`.
You can insert new rows `ir`/`i3r` or columns `ic`/`i3c`. You can insert new rows `ir`/`i3r` or columns `ic`/`i3c`.
### Special numbers ### Calculations and Functions
There are some functions you can use when in numbers mode. There are some functions you can use when in numbers mode.

@ -1,13 +1,15 @@
# Shells # Shell
## Change /bin/sh A shell is a command-line interpreter that provides a command-line interface to
interact with the many unix-like system.
### Arch-Linux ## Change /bin/sh
The Shell in Arch-Linux is made up by a POSIX compliant mode of bash. The Shell in some distributions is made up by a POSIX compliant mode of bash.
Problem with that is the speed. Problem with that is the speed.
A shell like dash would be much faster. 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 - `yay -S dash` - Install dash
- `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash - `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash

@ -3,17 +3,19 @@
SSH is a network protocoll to securely connect to a computer. SSH is a network protocoll to securely connect to a computer.
In this article it is assumed that `openssh` is used. In this article it is assumed that `openssh` is used.
## Generate new keys ## Usage
### Generate new keys
To generate new ssh keys simply run `ssh-keygen -t ed25519` or To generate new ssh keys simply run `ssh-keygen -t ed25519` or
`ssh-keygen -t rsa -b 4096`. `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` Edit the `/etc/ssh/sshd_config` and change the line containing `PermitRootLogin`
to `PermitRootLogin yes`. 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 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` `~/.ssh/id_rsa.pub` from your local machine to the file `~/.ssh/authorized_keys`
@ -24,7 +26,7 @@ You can use the modified command below for ease of use:
cat ~/.ssh/id_rsa.pub | ssh username@server 'cat >> ~/.ssh/authorized_keys' 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 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 (in this case called `server` also can be substituted by something like

@ -3,7 +3,15 @@
Suckless is a community that is best known for minimalist free software. Suckless is a community that is best known for minimalist free software.
Notable works include `dwm` and `dmenu`. Notable works include `dwm` and `dmenu`.
## Workflow for installation ## 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
Programs written by the suckless community are minimal by default. Programs written by the suckless community are minimal by default.
`.diff` files are available to patch functionality. `.diff` files are available to patch functionality.
@ -32,15 +40,10 @@ new `feature`
- Get the `config.def.h` of `master` into `config` with - Get the `config.def.h` of `master` into `config` with
`git checkout master config.def.h` `git checkout master config.def.h`
## Programs
- dmenu is a menu with prgram launcher functionality ## Troubleshooting
- 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 Suckless programs especially `st` and `dmenu` can not display colored
emojis. emojis.

@ -3,7 +3,9 @@
SystemD is an [init system](./init.md) for Linux systems. SystemD is an [init system](./init.md) for Linux systems.
It is used for service configuration and startup. It is used for service configuration and startup.
## Run command on boot ## Usage
### Run Command on Boot
To run a command (in this case `/bin/bash /root/run.sh`) create the following 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`. file at `/etc/systemd/system/` with a name ending on `.service`.

@ -1,13 +1,13 @@
# Todoman # Todoman
`todoman` is a todolist you can use in your terminal. [todoman](https://github.com/pimutils/todoman) is a todolist you can use in your terminal.
You can sync it using [vdirsyncer](vdirsyncer.md) You can sync it using [vdirsyncer](vdirsyncer.md)
## Setup ## Setup
### Arch-Linux Todoman can be installed via the
[github page](https://github.com/pimutils/todoman).
- `pacman -S todoman` - Install needed packages Some distributions also feature the `todoman` package.
### Configuration ### Configuration

@ -3,7 +3,9 @@
[UFW (Uncomplicated Firewall)](https://code.launchpad.net/ufw) is a program to [UFW (Uncomplicated Firewall)](https://code.launchpad.net/ufw) is a program to
manage a netfilter firewall. manage a netfilter firewall.
## Block specific IPs ## Usage
### Block specific IPs
To block the whole traffic from a specific IP to your computer run: To block the whole traffic from a specific IP to your computer run:
`ufw deny from <ip> to any` `ufw deny from <ip> to any`
@ -12,7 +14,7 @@ was blocked.
If you don't care if the target knows you can also run: If you don't care if the target knows you can also run:
`sudo ufw reject from <ip> to any` `sudo ufw reject from <ip> to any`
## List all rules ### List all rules
To show all rules you can run: To show all rules you can run:
`ufw status` `ufw status`
@ -20,7 +22,7 @@ or:
`ufw status numbered` `ufw status numbered`
if you want to have a list of all rules with according numbers. 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). Locate the rule you want to remove by showing all rules (numbered).
Then run: Then run:

@ -1,13 +1,13 @@
# Vdirsyncer # Vdirsyncer
`vdirsyncer` can sync calendars and contacts using the caldav and carddav [Vdirsyncer](https://github.com/pimutils/vdirsyncer) can sync calendars and
protocol. contacts using the caldav and carddav protocol.
## Setup ## Setup
### Arch-Linux Vdirsyncer can be installed via the
[github page](https://github.com/pimutils/vdirsyncer).
- `pacman -S vdirsyncer` - Install needed packages Some distributions also feature the `vdirsyncer` package.
### Configuration ### Configuration

@ -2,7 +2,15 @@
[ViFM](https://vifm.info) is a file manager focussed on vim like usage. [ViFM](https://vifm.info) is a file manager focussed on vim like usage.
## Image Previews with Ueberzug ## 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
This section is based on a This section is based on a
[video by Distrotube](https://www.youtube.com/watch?v=qgxsduCO1pE). [video by Distrotube](https://www.youtube.com/watch?v=qgxsduCO1pE).

@ -1,23 +1,22 @@
# Wine # Wine
Wine is a compatibility layer to run windows programs on linux machines. [Wine](https://www.winehq.org/) is a compatibility layer to run windows
programs on linux machines.
## Setup ## Setup
- Enable multilib support in pacman Wine can be installed on most distributions by acquiring the `wine` package.
- `vim /etc/pacman.conf` - Uncomment the following lines The `winetricks` package also is recommended.
Alternatively it can be downloaded from
[the official website](https://www.winehq.org/).
```txt ## Usage
[multilib]
Include = /etc/pacman.d/mirrorlist
```
- `pacman -S wine winetricks` - Install wine and configuration helper ### Run a windows program
## Configuration
- Set the global variable `WINEPREFIX` to your liking, standard is `$HOME/.wine` - 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/` - Move the program you want to run to `$WINEPREFIX/drive_c/`
- `winetricks sandbox` - (Optional) if you don't want wine to set up directories - `winetricks sandbox` - (Optional) if you don't want wine to set up directories
or files into your home directory or files into your home directory

@ -4,7 +4,9 @@
It is especially interesting due to its WPA2 and WPA3 capabilities in contrast It is especially interesting due to its WPA2 and WPA3 capabilities in contrast
to other networking software. to other networking software.
## Connect to a WPA2 secured WLAN ## Usage
### Connect to a WPA2 secured WLAN
This part assumes that your network interface is called `wlan0` This part assumes that your network interface is called `wlan0`
(change it accordingly). (change it accordingly).

@ -20,9 +20,10 @@ Properties and options of a peripheral device can then be shown by running
`xinput list-props <id>` where `<id>` is the identifier of the `xinput list-props <id>` where `<id>` is the identifier of the
device. device.
### Keyboard ### Keyboard
This section describes the handling of keyboards by X.
#### Change Keyboardlayout #### Change Keyboardlayout
To temporarily change the layout of the keyboard just run To temporarily change the layout of the keyboard just run
@ -31,24 +32,12 @@ For a permanent change run `localectl set-x11-keymap <your preferred layout>`.
### Display ### Display
#### Screen Tearing This section describes the handling of displays by X.
Additionally to the guides in this section that are independent of the used
Linux systems that use intel graphics can sometimes have problems with screen graphics unit special configuration for [Nvidia](/wiki/linux/nvidia.md)
tearing. and [Intel](./intel.md) can be found in their respective entries in this wiki.
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 #### Screen Blanking
To save power the screen is set to turn black after a given amount of time. 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 This can be disabled temporarily by running `xset s off` or permanently by
@ -62,9 +51,14 @@ EndSection
### Mouse ### Mouse
#### Enable/Disable the Usage of the Middle Mouse Button This section describes the handling of mouse by X.
#### Emulation of the Middle Mouse Button
The middle mouse button can be activated or deactivated. 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.
First the current options have to be confirmed as explained in First the current options have to be confirmed as explained in
[the peripheral section](#peripheral-devices). [the peripheral section](#peripheral-devices).
Important is the property named `libinput Middle Emulation Enabled`. Important is the property named `libinput Middle Emulation Enabled`.

Loading…
Cancel
Save