Skip to main content

Helper CLI for installing packages and setting up Linux components

Project description

BTW I Use Arch

https://img.shields.io/pypi/v/btw_i_use_arch.svg https://img.shields.io/travis/kellerjustin/btw_i_use_arch.svg Documentation Status Updates

Helper menu-driven CLI for installing packages and setting up Linux components on an Arch-based system. If performing a clean install - ALWAYS RUN PACMAN SYSTEM UPDATES FIRST! Disclaimer: I have built precisely one Arch system and spend the majority of my time using Manjaro KDE, which suits my needs nicely. I like Arch! But I think I might actually prefer Manjaro. This package works equally well for either distro.

Features

  • Menu-driven (uses simple-term-menu)

  • Update components and perform setup tasks more simply

Notes for specific packages:

Spelling check packages

aspell hunspell-en_US hspell libviokko

DB Drivers for GNUCash

libdbi libdbi-drivers

Packages required to enable gestures for touchpad

xdotool xf86-input-synaptics libinput-gestures

KDE-Specific Widget for setting up like Mac-like dock

latte-dock

KDE-Specific Widget - Configures Title bar in Global Menu

https://www.dedoimedo.com/computers/plasma-look-like-mac.html

plasma5-applets-active-window-control

Post-installation Tasks:

Set up latte dock and widgets

If going for the dock / top menu bar look, search the apps menu for dock and add it. Drag the menu bar from the bottom to the top and add the global menu, active window control, and a spacer (L-to-R). Edit the settings of active window control so it shows the Minimize and Maximize buttons. Run this to remove the top title bar when windows are maximized: kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows true qdbus org.kde.KWin /KWin reconfigure Reference for removing title bar

initialize postgres:

https://lobotuerto.com/blog/how-to-install-postgresql-in-manjaro-linux/

restore database dumps manually

e.g.:

psql -U justin -d gnucash-kff -f ./Desktop/dumpfile

set up cron jobs, e.g. [./dev/pg-db-backup/db-export.py]

Mounting an NFS Share

Substitute the relevant server and local share directory as necessary. Optionally backup /etc/fstab

sudo cp /etc/fstab /etc/fstab_bkp

and add the following line: 192.168.100.100:/mnt/tank /home/justin/nfs_share nfs _netdev 0 0

Restoring a user profile

Navigate to user directory and run:

tar xzvf /backup/location/mybackup.tar.gz

Setting up .pypirc file

Use template provided and plug in keys from gitlab and pypi, place in home directory for easy deployments

Accessing USB Devices / Microcontrollers without sudo:

Find the device: sudo dmesg | grep tty Find the Group ID by running this command: (change tty device accordingly) stat /dev/ttyUSB0 Add your Linux user to the gid determined in the previous command (“uucp” in this case) sudo gpasswd -a $USER uucp

Issues I’ve encountered + Fixes

Issue

Fix

Blocky, weird looking text rendered in PDFs and Webpages

epifonts was causing a conflict with Helvetica (yay -R epifonts)

Spotify Problem importing key

Run this: curl -sS https://download.spotify.com/debian/pubkey.gpg | gpg --import - and choose No when yay asks to import key during installation

Slow Wi-Fi

https://wiki.archlinux.org/title/NetworkManager#Using_iwd_as_the_Wi-Fi_backend - set iwd as Wi-Fi Backend

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template. It also utilizes simple-term-menu by IngoMeyer441.

History

0.1.0 (2021-03-27)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btw_i_use_arch-0.2.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

btw_i_use_arch-0.2.0-py2.py3-none-any.whl (14.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file btw_i_use_arch-0.2.0.tar.gz.

File metadata

  • Download URL: btw_i_use_arch-0.2.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for btw_i_use_arch-0.2.0.tar.gz
Algorithm Hash digest
SHA256 73bceea512c92e647dcb7b17eecb5090d6a2af75d33ca290339dcbc0aefe191b
MD5 485b430a28c49d6ffbd032af319c8917
BLAKE2b-256 b1a4503e047ed32e2466e6d74263660e2274bd17e9d3e0deb49233b852246e97

See more details on using hashes here.

File details

Details for the file btw_i_use_arch-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for btw_i_use_arch-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 acaf30a0d8b7f2706abf2c58752e815a4218ff43b62eba9a6bcbed6310a16ef9
MD5 82812765a8ccaabb8dd3f35e1a5d5b47
BLAKE2b-256 6a9c9b044cce14fd4471a2c62e71f0414bdc257d530481c70ad3a47eeef30801

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page