Created
March 2, 2023 20:38
-
-
Save theSoberSobber/d451ace283c7f8ebeb40697cc6907d24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-> 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