Helper CLI for installing packages and setting up Linux components
Project description
BTW I Use Arch
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.
Free software: MIT license
Documentation: https://btw-i-use-arch.readthedocs.io.
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
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]
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73bceea512c92e647dcb7b17eecb5090d6a2af75d33ca290339dcbc0aefe191b |
|
MD5 | 485b430a28c49d6ffbd032af319c8917 |
|
BLAKE2b-256 | b1a4503e047ed32e2466e6d74263660e2274bd17e9d3e0deb49233b852246e97 |
File details
Details for the file btw_i_use_arch-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: btw_i_use_arch-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acaf30a0d8b7f2706abf2c58752e815a4218ff43b62eba9a6bcbed6310a16ef9 |
|
MD5 | 82812765a8ccaabb8dd3f35e1a5d5b47 |
|
BLAKE2b-256 | 6a9c9b044cce14fd4471a2c62e71f0414bdc257d530481c70ad3a47eeef30801 |