6 Home
Gerardo Marx Chávez-Campos edited this page 2 years ago

Introduction

Welcome to the Wiki. This Wiki is focused on the configuration after installing the Arch Linux basic installation and works with a simple window manager like Dynamic Windows Manager (DWM) or KDE plasma without full utilities installed on it (only xorg, plasma, plasma-wayland-session) .

Thus, most of the configuration and packages installation must be done by the user. Here you will find my basic process to configure a MacBook Air and MacPro computer using the DWM manager.

Display configuration

The display configuration is done by using the xrandr package. In this case, the main video output is eDP-1, then, the main configuration is done by using:

$ xrandr --output eDP1 --mode 1440x900

Two monitors or extended desk

Configuring two monitors can be done by using also the xrandr package, but using the --right-of or left-of options:

$ xrandr --output DP-1 --mode 1920x1080 --rotate left --right-of eDP-1

in this example, the second monitor is the DP-1 output and the main monitor is the eDP-1

Projector configuration

The xrandr package can also be used to configure a second output as a projector. This can be done by using:

$ xrandr --output DP-1 --auto --same-as eDP-1 #option 1
$ xrandr --output DP-1 --mode 1920x1080 --same-as eDP-1 #option 2 

Mouse and Touchpad

The mouse and touchpad configuration is by using:

[gmarx@arch ~]$ cat  /etc/X11/xorg.conf.d/30-touchpad.conf
Section "InputClass"
        Identifier "touchpad catchall"
        Driver "libinput"
        Option "Tapping" "on"
        Option      "VertScrollDelta"          "-111"
        Option      "HorizScrollDelta"         "-111"
EndSection

Bluettoth

Auto power-on after boot/resume

By default, the Bluetooth adapter does not power on after a reboot or resuming from suspend. If you would like the adapter to be powered on after reboot or resume, set AutoEnable=true in /etc/bluetooth/main.conf in the [Policy] section:

/etc/bluetooth/main.conf
[Policy]
AutoEnable=true
Discoverable on startup

If the device should always be visible and directly connectable:

/etc/bluetooth/main.conf
[General]
DiscoverableTimeout = 0