Skip to content

Instantly share code, notes, and snippets.

@vadym-vorobel
Last active April 19, 2021 08:06
Show Gist options
  • Save vadym-vorobel/ba618cbf918d986a591ba333ce7af985 to your computer and use it in GitHub Desktop.
Save vadym-vorobel/ba618cbf918d986a591ba333ce7af985 to your computer and use it in GitHub Desktop.
Manjaro setup

Manjaro setup

Common programs

At first - install bauh- GUI for applications manager.

sudo pacman -Sy bauh

There are 4 package sources in bauh: arch repository, aur repository, snap and flatpack. All next packages are available in the application by search.

  1. google-chrome (aur)
  2. slack (snap)
  3. telegram-desktop (arch)
  4. dropbox (flatpak)
  5. visual-studio-code-bin (aur)
  6. tilix (arch) - Tilix terminal
  7. docker (arch)
  8. docker-compose (arch)
  9. mongodb-bin (aur)
  10. mongodb-tools-bin (aur) - tools like mongodump and mongorestore
  11. keybase-bin (aur)
  12. flameshot (arch) - tool for making screenshots with quick editing feature
  13. googleplaymusicdesktopplayer (flatpak) - Google Play Music / YouTube music player
  14. pomotroid (snap) - Pomodoro timer
  15. zsh (arch)
  16. git (arch)

Fonts

Tilix setup

  1. Install zsh from bauh
  2. Install oh-my-zsh:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Install powerlevel10k theme:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  1. Set theme in the ~/.zshrc file:
ZSH_THEME="powerlevel10k/powerlevel10k"

Devtools setup

nvm

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash

Add to ~/.zshrc (if not exists)

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

Meteor

curl https://install.meteor.com/ | sh

Docker

Permission denied fix

Run sudo usermod -aG docker $USER and logout from the system.

Run Docker on startup

sudo systemctl enable docker

Issuses fix

Switch off system beep

echo "blacklist pcspkr" | sudo tee /etc/modprobe.d/nobeep.conf

https://forum.manjaro.org/t/how-to-mute-beep-sound-from-logout-icon/3168/2

Fix WiFi disconnection issue

Find out the version of the WiFi adapter

inxi -N

# Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
#            Device-2: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc 

In this case the driver version is r8169.

Optional: Install Linux headers

At first, run the next command to find out what the version of headers do you need:

uname -r
# (5.10.7-3-MANJARO)

Install headers; if prompted - select a correct version of headers based on the output of the command above.

sudo pacman -S linux-headers

Install the WiFi driver

sudo pacman -S <driver_version>

# sudo pacman -S r8169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment