![XLibre on Manjaro Linux](./docs/img/screenshot.jpg)

# XLibre Packages for Manjaro Linux

This third-party repository provides [XLibre](https://xlibre.net) x86_64 binary  packages for [Manjaro Linux](https://manjaro.org). XLibre is the community-managed display server for the [X Window System Protocol Version 11 (Wikipedia)](https://en.wikipedia.org/wiki/X_Window_System_core_protocol), in short, X11. You can learn more about XLibre at [xlibre.net](https://xlibre.net/).

For XLibre packages for other Arch Linux-based distributions, please see [xlibre-arch.github.io](https://xlibre-arch.github.io).

## Installing XLibre Manually

### Adding the Public Package Signing Key to pacman

First, please download the public OpenPGP signing key [`xlibre-manjarolinux.asc`](xlibre-manjarolinux.asc) used to sign the packages and add it to the pacman keyring:

```shell
curl -O https://xlibre-manjaro.github.io/xlibre-manjarolinux.asc
sudo pacman-key --add xlibre-manjarolinux.asc
sudo pacman-key --finger D1445F51BC0A8969
sudo pacman-key --lsign-key D1445F51BC0A8969
```

You can read more about package signing on the [pacman/Package signing - ArchWiki](https://wiki.archlinux.org/title/Pacman/Package_signing#Adding_unofficial_keys) page.

### Adding the Repository to Pacman

Once you added the public key, also add an entry for the XLibre repository to the end of the file [`/etc/pacman.conf`](https://man.archlinux.org/man/pacman.conf.5) using [`sudo`](https://wiki.archlinux.org/title/Sudo) and your favorite editor:

```ini
[xlibre]
Server = https://xlibre-manjaro.github.io/$arch
```

Run `pacman` to update all package indexes and installed packages:

```shell
sudo pacman -Syyu
```

### Installing XLibre

Installing XLibre is as easy as installing the `xlibre-meta` package:

```shell
sudo pacman -S xlibre-meta
```

The included packages will replace any of their installed X.Org counterparts. When asked, just answer with `y `. To make use of XLibre, log out of your desktop or X session and log in again.

In case you get kicked out of a running desktop or X session while you're installing XLibre, just re-run `pacman` after you logged in again and let it install the missing packages:

```shell
sudo pacman -S xlibre-meta
```

When done, install the program `xorg-xdpyinfo` and filter its output for the `vendor` tags:

```shell
sudo pacman -S xorg-xdpyinfo
xdpyinfo | grep 'vendor'
```

It says XLibre? Congratulations!

### Support for the Legacy Proprietary Nvidia Drivers

Besides support for AMD, Intel, newer Nvidia, and many other drivers, the XLibre Xserver 25.1 series also added support for the legacy proprietary Nvidia drivers v340, v390, and v470. It is enabled in the [xlibre-xserver](https://github.com/xlibre-manjaro/xlibre-xserver) package by default. Please see the [NVIDIA - ArchWiki](https://wiki.archlinux.org/title/NVIDIA) page on how to install and configure the legacy proprietary Nvidia drivers. You can also find more information about the XLibre Nvidia support in the [XLibre XServer 25.1 changelog](https://github.com/X11Libre/xserver/wiki/XLibre-XServer-25.1-Changes).

## Getting in Contact

Please report any enhancement requests or issues with this repository at [Issues · xlibre-manjaro/xlibre-manjaro](https://github.com/xlibre-manjaro/xlibre-manjaro/issues). In case you need help, want to report success or talk about other aspects, please also check the official XLibre channels.
