Skip to content

Instantly share code, notes, and snippets.

@happen2me
Last active August 25, 2023 09:00
Show Gist options
  • Save happen2me/63994a686951a158a7c7cf967ae955c9 to your computer and use it in GitHub Desktop.
Save happen2me/63994a686951a158a7c7cf967ae955c9 to your computer and use it in GitHub Desktop.
my-arch-automatic-configuration
# Install broadcom wireless drivers
sudo pacman -S linux-headers base-devel broadcom-wl-dkms
# Install yay
sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
# Install rclone chrome, zotero, slack, etc. (xdg-desktop-portal is for automatic dark theme switch)
sudo pacman -S rclone thunderbird xdg-desktop-portal
yay -S google-chrome zotero-bin slack-desktop visual-studio-code-bin
# Install bluetooth firmware if bluetooth card is swapped to BCM4352, check Section 2.5 of https://wiki.archlinux.org/title/Dell_XPS_13_(9343)
yay -S bcm20702a1-firmware
# Set up wayland
cp /usr/share/applications/google-chrome.desktop ~/.local/share/applications/
sed -i.bak '/^Exec=\/usr\/bin\/google-chrome/ s/$/ --enable-features=UseOzonePlatform --ozone-platform=wayland/' ~/.local/share/applications/google-chrome.desktop
# persistant wayland flag for chrome
echo "--ozone-platform-hint=auto" > ~/.config/chrome-flags.conf
# Start slack minimized with wayland
# slack --enable-features=WebRTCPipeWireCapturer --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations -u %U
# Mount OneDrive
rclone --vfs-cache-mode writes mount "OneDrive": /home/sakamoto/OneDrive
# Start slack minimized
# Start thunderbird minimized
# Install todo gonome widget
# Setup thunderbird. tum email ref: https://wiki.in.tum.de/Informatik/Helpdesk/TumEmail
# Gnome Widgets
# - insall task widgets
# - install AppIndicator and KStatusNotifierItem Support
# - Legacy (GTK3) Theme Scheme Auto Switcher
# Set the defaul file manager to nautilus (it would be modified by vscode)
xdg-mime default org.gnome.Nautilus.desktop inode/directory
# Set EurKey
# https://www.reddit.com/r/archlinux/comments/11ccz2y/eurkey_layout_with_gnome3/ja737bu/?context=3&utm%25255C_source=share&utm%25255C_medium=web2x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment