lg# dotfiles
-
Debian Installation
- Programs that need to be installed post-Debian install.
- Screen Resolution and Layout
-
Wifi Card Setup
-
Alacritty Inatallation:
- Preferred: Build Alacritty from source
- Install and setup Alacritty
-
Neovim Installation & Setup
- lazy.nvim
- lazy.git
-
fonts
-
i3 Windows Manager Installation & Setup
-
Rofi Menu Manger & PICOM Compositor Installation.
-
Apple device related issues
- Function Keys on the keyboard not working
The steps below configure an Apple keyboard connected to a Linux system
to treat the F1-F12 keys as standard function keys by default, instead
of special function keys (like adjusting brightness or volume), and
require a system reboot to apply the changes.
- Edit /etc/modprobe.d/hid_apple.conf (create this file if needed)
- Add
options hid_apple fnmode = 2 - run
sudo update-initamfs -u - reboot the system
- Function Keys on the keyboard not working
The steps below configure an Apple keyboard connected to a Linux system
to treat the F1-F12 keys as standard function keys by default, instead
of special function keys (like adjusting brightness or volume), and
require a system reboot to apply the changes.
-
[Enabling click on tap]
-
Debian installation.
- Official Debian Site for Installation of MacBook Pro
- See installation info here.
- Reboot the MacBook while holding the
Altbutton to reach the boot screen.
The following programs need to be installed:
- XFCE - Firefox - Alacritty - git - Rofi - zsh - Neovim - tree - nitrogen - picom -
WiFi
-
MacBook Pro:
a. Use
lspcion the terminal to list the PCI devicesc. The interface name is
wlp3s0.d. See Details of the driver installation: 1. WiFi Driver Installation. 2. Install wl Driver
e. wl driver needed for
bcm4360wl
-
-
iSight Camera Not working:
apt -y install dkms linux-headers-amd64 git kmod libssl-dev checkinstallwget https://github.com/patjak/facetimehd/archive/refs/tags/0.5.18.tar.gztar xf 0.5.18.tar.gz -C /usr/src/dkms add -m facetimehd -v 0.5.18dkms build -m facetimehd -v 0.5.18dkms install -m facetimehd -v 0.5.18sudo echo "facetimehd" >> /etc/modulesgit clone https://github.com/patjak/facetimehd-firmware.gitcd ./facetimehd-firmware/makemake install
-
Neovim Installation and Setup
- Neovim can be build using these steps: Neovim/BUILD.md. This is the preferred method for Linux by me.
- Install Prerequisites:
sudo apt-get install ninja-build gettext cmake unzip curl build-essential - Clone Neovim to a local directory (~/neovim)
git clone https://github.com/neovim/neovim - Remove current version of Neovim:
sudo dpkg --remove neovim
- Install Prerequisites:
- Custom Installation Script
- Debian has Neovim: sudo apt-get install neovim
- Setting up Neovim
- Neovim can be build using these steps: Neovim/BUILD.md. This is the preferred method for Linux by me.
-
Rofi and
- Install rofi (sudo apt install rofi)
- Add the following line to the i3 config file. (~/.config/i3/config)
`bindsym $mod+x exec "rofi -show drun"
- Reload i3 Config with "$Mod+Shift+r"
- Rofi can be configured by editing ~.config/rofi/config.rasi file.
-
Setting up PDF Viewing in Neovim
- Installing TexLive on Linux and Mac
- Prerequisites: Zathura, synctex enabling
- Setting up Neovim for Latex and PDF Preview
-
Github Management
- Fetch the latest changes from the remote repository
git fetch origin - Reset the local repository with the remote
git reset --hard origin/main
-
Enabling Tap to Click Feature on Scrollpad
-
- Currently (Jan 2025) there is no Debian package available.
- Lazygit can be installed manually.
- Go is a prerequisite
- git clone https://github.com/jesseduffield/lazygit.git
- cd lazygit
- go install
-
Setting up lightDM display manager to correct resolution
- During boot, the init system (e.g., systemd) starts various services, including the display manager. If LightDM is the display manager, the service lightdm.service is started.
- LightDM starts and initializes its components. It reads its configuration files to determine the settings to apply. Configuration is loaded from:
/etc/lightdm/lightdm.conf (main configuration file). /usr/share/lightdm/lightdm.conf.d/ or /etc/lightdm/lightdm.conf.d/ (additional configuration snippets).
- We will be adding configurations under
/usr/share/lightdm/lightdm.conf.d - LightDM starts an X server (or Wayland compositor in some setups) for the graphical display. The X server initializes and manages the screen, input devices, and graphical environment.
-
Steps
-
- sudo nano /usr/share/lightdm/lightdm.conf.d/50-resolution.conf
- Add the following content: [Seat:*]
display-setup-script=/usr/share/lightdm/display-setup.sh
-
Create the script
sudo nano /usr/share/lightdm/display-setup.shthe add#!/bin/bash xrandr --output <MONITOR_NAME> --mode <DESIRED_RESOLUTION> -
Restart lightdm to test
sudo systemctl restart lightdm