Created
March 7, 2023 12:47
-
-
Save FederAndInk/be7f9a19817ae47a5abeaf1b47babe69 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
# yay | |
pacman -S --needed git base-devel | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
# basic pkgs | |
yay -S --needed base-devel git vim zsh fzf zsh-autosuggestions zsh-syntax-highlighting grml-zsh-config zsh-completions trash-cli btop bat byobu tmux neofetch exa ripgrep cmake logrotate plocate man-db man-pages reflector rsync tealdeer wget fd broot nmap duf dust | |
yay -S dmidecode lshw hw-probe hdparm sysstat inxi hddtemp | |
# basic zsh setup | |
# add to ~/.zshrc.local | |
source /usr/share/fzf/completion.zsh | |
source /usr/share/fzf/key-bindings.zsh | |
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | |
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh | |
# alias: | |
alias ls='exa' | |
alias ll='exa -lhgH --git' | |
alias la='exa -lhgHa --git' | |
# pkgs | |
yay -S zsh fzf zsh-autosuggestions zsh-syntax-highlighting grml-zsh-config git-prompt.zsh-git fzf-tab-git zsh-completions trash-cli aspell-fr aspell-en btop bat byobu tmux firefox dmidecode lshw hw-probe hdparm sysstat neofetch element-desktop exa base-devel git git-lfs graphicsmagick imagemagick ripgrep gufw ufw ufw-extras inxi hddtemp libmythes mythes-fr mythes-en hunspell-fr hunspell-en_us hunspell libreoffice-fresh coin-or-mp libreoffice-extension-languagetool libreoffice-impress-templates masterpdfeditor-free geoclue jpegoptim cmake logrotate plocate man-db man-pages cups xsane colord-sane colord-kde argyllcms system-config-printer cups-pk-helper ipp-usb noto-fonts-extra noto-fonts-cjk noto-fonts-emoji nss-mdns ntfs-3g exfatprogs fatresize qt5-imageformats kimageformats calligra libnfs sdl ocl-icd freerdp geoip grammalecte php p7zip unarchiver lzop lrzip geoip-database-extra pstoedit libwps reflector rsync onlyoffice-bin antiword plasma5-applets-eventcalendar systemd-numlockontty teamviewer tealdeer wget xmacro jitsi-meet-desktop-bin zoom bluez-tools bind mesa-demos broot wmctrl xorg-xrandr xorg-xdpyinfo picom xcompmgr fd | |
sudo systemctl enable reflector.timer --now | |
sudo systemctl enable bluetooth --now | |
sudo systemctl enable numLockOnTty.service | |
sudo systemctl enable plocate-updatedb.timer --now | |
# kde | |
yay -S yakuake ark kcolorchooser gwenview kmail umbrello kontact filelight kdeconnect ... | |
or | |
yay -S kde-applications-meta | |
# intel | |
yay -S intel-ucode vulkan-intel | |
# nvidia | |
yay -S nvtop nvidia-utils nvidia-settings | |
# laptop pkgs | |
yay -S acpi powertop tlp tlp-rdw tlpui-git x86_energy_perf_policy | |
yay -S powerstat | |
# additional pkgs | |
yay -S arcanist nextcloud-client code code-features code-marketplace conan cppcheck astyle heaptrack asp downgrade devtools namcap aurpublish audiotube-git plasmatube-git backward-cpp fmt boost bash-language-server bluez-plugins brscan4 brother-dcp-9020cdw chromium cling cmake-format ninja ddcutil diffpdf discord distcc doxygen icdiff fontforge geogebra fwupd jdk8-openjdk jdk-openjdk lbry-app-bin gnuplot graphviz nmap networkmanager-openvpn okteta imagemagick-doc opencv sshfs papyrus plantuml plasma-workspace-agent-ssh pwgen qbittorrent shellcheck shfmt siglo tokei translate-shell valgrind wtf zsa-wally atomicparsley git-delta | |
# to consider pkgs | |
yay -S gnome-keyring | |
# X compositor that may fix tearing issues | |
yay -S picom | |
git clone [email protected]:FederAndInk/dotfiles.git | |
cd dotfiles | |
cp -ri .* ~/ | |
cd .. | |
git clone [email protected]:FederAndInk/scripts.git | |
cd scripts/local | |
./install_scripts | |
# user groups | |
docker realtime users video input audio wheel rfkill sys | |
# fwupd | |
yay -S fwupd | |
fwupd refresh | |
fwupd update | |
# benchmark | |
hw-probe | |
geekbench | |
# avahi resolve (for samba/freebox/printer name resolv): | |
$()$( | |
sudo systemctl enable avahi-daemon.service --now | |
vim /etc/nsswitch.conf | |
# add to hosts: `mdns_minimal [NOTFOUND=return]` before `resolve` and `dns` | |
)$() | |
open UDP port 5353 | |
https://wiki.archlinux.org/title/Avahi#Hostname_resolution | |
install samba and | |
enable winbind.service and nmb.service | |
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1789097 | |
You can solve things by copying the unit file to its corresponding directory under /etc and editing it, | |
sudo cp /{lib,etc}/systemd/system/winbind.service | |
sudo vim /etc/systemd/system/winbind.service | |
to change the line | |
After=network.target nmbd.service | |
to the two lines | |
After=network-online.target nmbd.service | |
Wants=network-online.target | |
# fstrim ssd | |
sudo systemctl enable fstrim.timer --now | |
# bluetooth | |
sudo systemctl enable bluetooth.service --now | |
sudo pacman -S pulseaudio-bluetooth | |
# clamav | |
https://wiki.archlinux.org/title/ClamAV | |
yay -S clamav python-fangfrisch | |
sudo freshclam | |
sudo systemctl enable clamav-freshclam.service --now | |
sudo systemctl enable clamav-daemon.service --now | |
sudo -u clamav /usr/bin/fangfrisch --conf /etc/fangfrisch/fangfrisch.conf initdb | |
sudo systemctl enable fangfrisch.timer --now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment