Files
dotfiles/dotfiles/linux/arch/readme.md
2024-07-03 14:22:16 -04:00

4.5 KiB

Arch Linux

ughhhhhh had to reinstall the test vm like 5 times. finally got lxqt with virtualbox driver to load the desktop but networking is not working. Perf is kinda shitty. UI is shitty. QT sucks. I hate linux.

Setup

  • Installation guide https://wiki.archlinux.org/title/Installation_guide

    • Can go through manually or use the new guided installer: archinstall
  • use btrfs file system

    • I guess I should enable compression but I'm not sure how it affects perf.
  • I tried Luks disk encryption in a VirtualBox VM and I couldn't get into the desktop. Locks up on login. Not sure if it's related to this...can try encryption on a real install.

  • desktop environment VM Test * lxqt, vmware graphics driver, lightdm-slick-greeter

Graphics

Martins — 06/17/2024 2:59 PM if you don't want upstream releases then obviously arch is not for you, but they have simple solution for that - aur, you can keep managing your dependencies separately from system packages

Martins uses Sway: Martins — 04/08/2024 10:41 PM no, .bashrc I have autologin on tty1 so whenever .bashrc executes on tty1, it starts sway:

if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
  export _JAVA_AWT_WM_NONREPARENTING=1
  export SDL_VIDEODRIVER=wayland
  export GDK_BACKEND=wayland
  export CLUTTER_BACKEND=wayland
  export QT_QPA_PLATFORM=wayland
  export BEMENU_BACKEND=wayland
  export TERMINAL=foot
  export BROWSER=firefox
  export MOZ_ENABLE_WAYLAND=1
  export XDG_SESSION_TYPE=wayland
  export XDG_CURRENT_DESKTOP=sway
  exec systemd-cat -- sway
fi

Saw this on reddit: sudo pacman -S wayland xorg-xwayland xorg-xlsclients sway swaybg swaylock waybar wofi -y What is wofi ?

  • config/ -> map contents to ~/.config.

  • home/ -> map contents to ~/.

  • Store /tmp in RAM

  • Move browser cache directories to /tmp as a means of reducing file writes on SSD

  • Fix fonts by placing the following XML into /etc/fonts/conf.avail/29-prettify.conf and then symlinking: ln -s /etc/fonts/conf.avail/29-prettify.conf /etc/fonts/conf.d/29-prettify.conf

    <?xml version="1.0"?>
     <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
     <fontconfig>
     <match target="font" >
       <edit mode="assign" name="rgba" >
         <const>rgb</const>
       </edit>
     </match>
     <match target="font" >
       <edit mode="assign" name="hinting" >
         <bool>true</bool>
       </edit>
     </match>
     <match target="font" >
       <edit mode="assign" name="hintstyle" >
         <const>hintslight</const>
       </edit>
     </match>
     <match target="font" >
       <edit mode="assign" name="antialias" >
         <bool>true</bool>
       </edit>
     </match>
     <match target="font">
       <edit mode="assign" name="lcdfilter">
         <const>lcddefault</const>
       </edit>
     </match>
    </fontconfig>
    

Map caps to left-ctrl

Install clipboard getter

  • pi xsel
  • Now we can grab clipboard content in vim using :read !xsel --clipboard --output