Skip to content

Instantly share code, notes, and snippets.

@Whimfoome
Last active August 13, 2022 20:40
Show Gist options
  • Save Whimfoome/e033dd6bf4fc155e9ccfbdd60ef1b9a2 to your computer and use it in GitHub Desktop.
Save Whimfoome/e033dd6bf4fc155e9ccfbdd60ef1b9a2 to your computer and use it in GitHub Desktop.
Arch Setup (EndevourOS)

Install Arch with EndevourOS, Gnome Environment, btrfs filesystem

Do most of the things in the eos-welcome app

Common Pacman Commands

  • pacman -Syu (<pkg>) - update && upgrade /pkg optional
  • pacman -S <pkg> - install
  • pacman -Rsc <pkg> - uninstall
  • pacman -Ss <keywords> - search
  • pacman -Qe - list installed pkgs by you
  • pacman -Qs <query> - search installed packages for keywords
  • pacman -Qdt - list unneeded packages
  • pacman -Rns $(pacman -Qdtq) - uninstall unneeded packages
  • pactree (-r) <pkg> - what does pkg depend on /r what depends on pkg

GNOME Tweaks

  • Adwaita-Dark
  • Disable Hot Corner
  • Enable Minimize Titlebar
  • Flat Mouse Acceleration

Settings App

  • Nightlight
  • Privacy Settings
  • Input and Output Devices
  • Background (archlinux-wallpaper)
  • fonts: ttf-ms-fonts, ttf-tahoma, ttf-vista-fonts (Arch yay -S)

GNOME Extensions

How to install these extensions manually (btw you can do it easily with browser extensions)

  • Go to ~/.local/share/gnome-shell/extensions, if you don't have the folder create it (to navigate here you have to show hidden folders Ctrl+H)
  • Extract the extensions installed above in this folder
  • Make sure that the name of each extension’s folder is same as the value of uuid in the metadata.json file. If not, rename the directory to the value of this uuid.
  • Restart
  • OR gnome-extensions install file

Install Ungoogled-Chromium (Flatpak version)

  • Settings
    • Turn off Clear cookies and site data when you quit Chromium
    • Turn on Send a "Do Not Track" request with your browsing traffic
    • Default Search engine - DuckDuckGo
    • Turn off Ask where to save each file before downloading
  • Download chromium-web-store
  • Flatpak Optional
    • Install Widevine CDM
    • Fix the Spell Checker
    • How to Force Enable Dark Theme
  • GamemodeRun (sudo pacman -S gamemode lib32-gamemode)

Disable Wayland, Enable Xorg (Optional)

  • Open /etc/gdm/custom.conf and uncomment the line: WaylandEnable=false
  • Add the following line to the [daemon] section: DefaultSession=gnome-xorg.desktop
  • Save and Restart

Some Apps

  • Pamac (yay -S pamac-aur) + flatpak plugin
  • Flatpak (sudo pacman -S flatpak)
  • Timeshift (yay -S timeshift)
@Whimfoome
Copy link
Author

@Whimfoome
Copy link
Author

Whimfoome commented Jul 31, 2021

For Laptops (Fedora)

sudo dnf install power-profiles-daemon

System76 Power Management (Intel + nVidia GPU) by u/Mr_Linux_Lover

Here are the complete steps to get system 76 power management working in Fedora. Make sure you log in Xorg Server :

Enable copr
sudo dnf copr enable szydell/system76

1. Install typescripts and its dependencies for compiling gnome extensions

sudo dnf install nodejs and then sudo npm install typescript -g

2. Install system76 power management:

  • sudo dnf install system76-dkms system76-power system76-driver system76-firmware firmware-manager system76-io-dkms system76-acpi-dkms
  • sudo systemctl enable system76-power system76-power-wake system76-firmware-daemon
  • sudo systemctl start system76-power system76-firmware-daemon
  • systemctl enable --user com.system76.FirmwareManager.Notify.timer
  • system76-power graphics integrated
  • then reboot.

3. Install Nvidia Driver and its dependencies:

If you already installed nvidia drivers,please uninstall first
sudo dnf remove *nvidia* and reboot

  • add repo sudo dnf config-manager --add-repo=https://negativo17.org/repos/fedora-nvidia.repo
  • sudo dnf -y install nvidia-driver nvidia-driver-cuda nvidia-settings

4. Install steam 32 bits library (optional):

sudo dnf install nvidia-driver-libs.i686

5. System76 Gnome Extension:

  • Clone the repo: git clone https://github.com/pop-os/gnome-shell-extension-system76-power

The shell version is 3.36, you need to go to the cloned folder in the home tab. edit metadata.json file and change the shell version to "40" and save it.

open terminal in the cloned folder by right click open terminal here

Run make compile then make install then make restart-shell and finally make enable

@Whimfoome
Copy link
Author

Create .desktop applications

  • sudo pacman -S alacarte
  • To add application on startup, drag the .desktop file to ~/.config/autostart and make it executable

@Whimfoome
Copy link
Author

Whimfoome commented Mar 26, 2022

Disable bluetooth autosuspend btusb.enable_autosuspend=n in GRUB_CMDLINE_LINUX_DEFAULT
usbcore.autosuspend=-1

Set UserspaceHID=true in /etc/bluetooth/input.conf and restart the bluetooth service (or reboot). After that, mouse stayed connected finally

@Whimfoome
Copy link
Author

@Whimfoome
Copy link
Author

Fedora things to do after install:
https://www.youtube.com/watch?v=RrRpXs2pkzg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment