Skip to content

vmnair/dotfiles

Repository files navigation

lg# dotfiles

Checklist For Installation:

  • Debian Installation

    • Programs that need to be installed post-Debian install.
    • Screen Resolution and Layout
  • Wifi Card Setup

  • Alacritty Inatallation:

  • 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.
      1. Edit /etc/modprobe.d/hid_apple.conf (create this file if needed)
      2. Add options hid_apple fnmode = 2
      3. run sudo update-initamfs -u
      4. reboot the system
  • [Enabling click on tap]

  1. Debian installation.

    The following programs need to be installed:

     - XFCE
     - Firefox
     - Alacritty
     - git
     - Rofi
     - zsh
     - Neovim
     - tree
     - nitrogen
     - picom
    
  2. WiFi

    1. MacBook Pro:

      a. Use lspci on the terminal to list the PCI devices

      c. 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 bcm4360 wl

  3. iSight Camera Not working:

    1. apt -y install dkms linux-headers-amd64 git kmod libssl-dev checkinstall
    2. wget https://github.com/patjak/facetimehd/archive/refs/tags/0.5.18.tar.gz
    3. tar xf 0.5.18.tar.gz -C /usr/src/
    4. dkms add -m facetimehd -v 0.5.18
    5. dkms build -m facetimehd -v 0.5.18
    6. dkms install -m facetimehd -v 0.5.18
    7. sudo echo "facetimehd" >> /etc/modules
    8. git clone https://github.com/patjak/facetimehd-firmware.git
      • cd ./facetimehd-firmware/
      • make
      • make install
  4. Neovim Installation and Setup

    1. 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
    2. Custom Installation Script
    3. Debian has Neovim: sudo apt-get install neovim
    4. Setting up Neovim
      1. typecraft
      2. lazy.nvim
      3. Formatting with prettier.
        • Install npm
        • Select prettier from formatter section in Mason.
  5. Rofi and

    1. Install rofi (sudo apt install rofi)
    2. 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"
    3. Rofi can be configured by editing ~.config/rofi/config.rasi file.
  6. Picom Compositor

    1. Youtube Video on installation
  7. Setting up PDF Viewing in Neovim

  8. 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
  1. Enabling Tap to Click Feature on Scrollpad

  2. Installing lazygit

  3. 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

    1. sudo nano /usr/share/lightdm/lightdm.conf.d/50-resolution.conf
    2. Add the following content: [Seat:*] display-setup-script=/usr/share/lightdm/display-setup.sh
  • Create the script sudo nano /usr/share/lightdm/display-setup.sh the add #!/bin/bash xrandr --output <MONITOR_NAME> --mode <DESIRED_RESOLUTION>

  • Restart lightdm to test sudo systemctl restart lightdm

About

configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors