Skip to content

Instantly share code, notes, and snippets.

@theSoberSobber
Created March 2, 2023 20:38
Show Gist options
  • Save theSoberSobber/d451ace283c7f8ebeb40697cc6907d24 to your computer and use it in GitHub Desktop.
Save theSoberSobber/d451ace283c7f8ebeb40697cc6907d24 to your computer and use it in GitHub Desktop.
-> boot into the disk installation through grub
-> systemctl start NetworkManager.service
-> nmcli device wifi list
-> nmcli device wifi connect <SSID> password <password>
-> sudo pacman -Syuu
-> sudo pacman -S base-devel
-> sudo pacman -S xorg xorg-xrandr xorg-server xorg-xinit picom rofi firefox kitty lightdm lightdm-gtk-greeter awesome git pulseaudio alsa alsa-utils thunar code
-> sudo pacman -S nvidia nvidia-utils nvidia-settings xorg-server-devel opencl-nvidia mesa mesa-demos xf86-video-amdgpu
-> git clone https://aur.archlinux.org/yay-git.git
-> cd yay-git
-> makepkg -si
-> cd
-> yay -S optimus-manager
-> systemctl status optimus-manager.service
-> sudo systemctl status optimus-manager.service
-> cp /etc/X11/xinit/xinitrc /home/krrish/.xinitrc
-> sudo nano .xinitrc
-> type in beginning
"
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --output <screen_name> --scale 0.75x0.75 [xrandr --current to see the <screen_name>]
"
-> sudo nano /etc/lightdm/display_setup.sh
-> type in
"
#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
xrandr --output <screen_name> --scale 0.75x0.75 [xrandr --current to see the <screen_name>]
"
-> chmod +x /etc/lightdm/display_setup.sh
-> sudo nano /etc/lightdm/lightdm.conf
-> type in after [Seat:*]
"display-setup-script=/etc/lightdm/display_setup.sh"
-> sudo nano /etc/lightdm/lightdm.conf
-> uncomment "#greeter-session=example-gtk-gnome"
-> replace "example-gtk-gnome" with "lightdm-gtk-greeter"
-> sudo systemctl enable lightdm
-> sudo nano .xinitrc
-> delete last 5 lines
-> type in
"
compton &
picom &
exec awesome
"
-> reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment