Skip to content

Instantly share code, notes, and snippets.

@arbalest
Created February 8, 2022 04:27
Show Gist options
  • Save arbalest/cb9dd0c3711a2fc4a2b36460c1976e6a to your computer and use it in GitHub Desktop.
Save arbalest/cb9dd0c3711a2fc4a2b36460c1976e6a to your computer and use it in GitHub Desktop.

EndeavourOS Atlantis Dell XPS 13 Setup Notes

The following notes were compiled while setting up and customizing EndeavourOS Neo Atlantis on Dell XPS 15 9310.

Initially written on February 5th, 2022.

Contents

  1. Trackpad i. Install Synaptics ii. Configure Settings a. Copy default settings file b. Modify soft button area definitions c. Reverse scrolling delta for natural scrolling ii. Configure Settings Reverse scrolling and modify button
  2. ZSH Shell i. Install from yay ii. Perform setup iii. Customize Prompt iv. Bind arrow keys
  3. Bluetooth

1. Trackpad

The trackpad works from the initial installation, but additional customizations may be more easily accomplished using the Synaptics driver, and changing some settings.

Install Synaptics

Install directly:

sudo yay -S xf86-input-synaptics

Alternatively, search for synaptics packages:

yay synaptic

Then, follow the prompts to choose and install.

Configure Settings

View Settings

View the list of current user settings:

synclient -l

Copy Default Config

cp /usr/share/X11/xorg.conf.d/70-synaptics.conf /etc/X11/xorg.conf.d/70-synaptics.conf

Remove or alter soft right button click

Open the config file copied from above, and change the following block:

Section "InputClass"
        Identifier "Default clickpad buttons"
        MatchDriver "synaptics"
        Option "SoftButtonAreas" "90% 0 90% 0 0 0 0 0"
        Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
EndSection

Where "SoftButtonAreas" parameters are:

RightButtonLeft, RightButtonRight, RightButtonTop, RightButtonBottom, MiddleButtonLeft, MiddleButtonRight, MiddleButtonTop, MiddleButtonBottom

Invert scrolling direction and change threshold

Section "InputClass"
    Identifier "touchpad"
    MatchDriver "synaptics"
    MatchIsTouchpad "on"
    Option "VertScrollDelta" "-50"
    Option "HorizScrollDelta" "-50"
EndSection

Changing the deltas to the original value multiplied by -1.

2. ZSH

Install ZSH

Choose and install the appropriate package using yay:

yay zsh

Perform Setup

Perform the initial setup by running zsh from another shell: zsh

Once finished, you may edit the config at ~/.zshrc

Customize Prompt

Install Nerd Font

Install a Nerd Font like FiraCode Nerd Font (yay FiraCode) and set your Terminal to use it.

For Alacritty, this means setting the font in ~/.config/alacritty/alacritty.conf:

font:
    normal:
        family: FiraCode Nerd Font Mono
        style: Regular
    

For Kitty, this means setting the font in ~/.config/kitty/kitty.conf:

font_family      FiraCode Nerd Font Mono Regular

To check that you are using the proper font name, use fc-list to list all available fonts, and fc-match with the font name you're using in the config file to see the font to which it resolves.

Customize Prompt

Customize the prompt using the PS1 or PROMPT variable.

Additionally, RPROMPT allows customizing the right side of the prompt, which will be hidden once user entered text reaches it.

Quick Cheat Sheet:

%K{###} = Set background color using 255 ASCII color %K{XXX} = Set the background color using named colors (e.g. "%K{WHITE}") %F{} = Using the same conventions above for background, only applied to foreground (text) color %k = Reset background color %f = Reset foreground color

PROMPT='%K{132}%F{255} 豈%2~%k%F{132}%f%k '

3. Bluetooth

Installation

If using the default audio of pipewire:

pacman -S --needed bluez bluez-utils

If using the alternative audio of pulseaudio:

pacman -S --needed bluez bluez-utils pulseaudio-bluetooth

Enable Service

Enable once:

sudo systemctl start bluetooth

Enable permanently:

sudo systemctl enable bluetooth

Install UI Tool

If your desktop environment doesn't provide it (for example, XFCE):

blueberry (GTK, XFCE) bluedevil (QT, integrated into KDE) blueman (GTK, independent DEs)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment