sudo pacman -S guakeOpen Settings app
Keyboard => Keyboard Shortcuts => View and Customize Shortcuts => Custom Shortcuts => +:
Name: Guake Toggle
| # If postgis is used | |
| yay -S postgis-old-upgrade | |
| sudo su | |
| systemctl stop postgresql | |
| mv /var/lib/postgres/data /var/lib/postgres/olddata | |
| mkdir /var/lib/postgres/data /var/lib/postgres/tmp | |
| chown postgres:postgres /var/lib/postgres/data /var/lib/postgres/tmp | |
| sudo su postgres | |
| cd /var/lib/postgres/tmp | |
| # Use --no-data-checksums if pg was initialized without page checksums |
| sudo tee /usr/share/applications/google-chrome.desktop > /dev/null << 'EOF' | |
| [Desktop Entry] | |
| Version=1.0 | |
| Name=Google Chrome | |
| GenericName=Web Browser | |
| Comment=Access the Internet | |
| StartupWMClass=Google-chrome | |
| Exec=/usr/bin/google-chrome-stable --ozone-platform=x11 %U | |
| StartupNotify=true | |
| Terminal=false |
| #!/bin/bash | |
| set -e | |
| echo "📦 Installing recommended Devanagari fonts..." | |
| sudo pacman -S --needed noto-fonts noto-fonts-cjk noto-fonts-extra --noconfirm | |
| echo "🛠 Creating Fontconfig override for Hindi and Nepali..." | |
| mkdir -p ~/.config/fontconfig |
| sudo pacman -S meson jq | |
| git clone https://github.com/ubuntu/gnome-shell-extension-appindicator.git | |
| meson gnome-shell-extension-appindicator /tmp/g-s-appindicators-build | |
| ninja -C /tmp/g-s-appindicators-build install | |
| gnome-extensions enable [email protected] |
| # Install common applications | |
| sudo paman -S zsh guake zellij libreoffice-still gimp inkscape calibre vscode postgresql redis | |
| yay -S anydesk-bin google-chrome telegram-desktop | |
| # Oh my zsh | |
| sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
| # zsh plugins | |
| sudo pacman -S zsh-syntax-highlighting | |
| echo "source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc |
| #!/bin/bash | |
| rm -rf ~/.local/share/gnome-shell/extensions/[email protected] | |
| git clone https://github.com/Tudmotu/gnome-shell-extension-clipboard-indicator.git ~/.local/share/gnome-shell/extensions/[email protected] | |
| gnome-extensions enable [email protected] |
Issue
~/p/pdf-sum ❯❯❯ gca
Committing all files (9)
git_commit_prompt:vared:8: ZLE not enabled
Aborting commit due to empty commit message.
Fix
One of the common errors after running updates on your Arch Linux system:
error: key "..." could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Fix:
| import requests | |
| import hashlib | |
| import hmac | |
| import base64 | |
| import json | |
| from django.conf import settings | |
| def base64(st): | |
| return base64.b64encode(st.encode('utf-8')).decode('utf-8') |