Just the way I like it: simple, stable, safe.
This repository contains personal configuration files and scripts for my needs to work with Ubuntu and Awesome-WM.
If anyone likes it, I would be happy if my repository helps you set up your personal Awesome-WM configuration.
See how to install these settings quickly and some screenshots of my "Ochilinux84" configuration below:
Here are some of the key files included in this repository:
- .bashrc : Bash configuration file for shell settings.
- .vimrc : Configuration for the VIM text editor.
- rc.lua : My Awesome WM config file.
- sc.conf : Configuration file for the scripts below.
Included in this repository are several utility scripts to aid in managing and deploying configurations:
-
backup : Performs backups of essential configuration files, storing them in a predefined backup directory and external drive. Useful for keeping a snapshot of current settings.
-
dispatch : Manages the distribution of dot-, config-files and scripts from a central repository to their designated locations on your system. This ensures your configurations are consistently updated according to the latest changes in the repository.
-
gitupd : A utility script designed to automate the process of updating local git repositories and pushing changes back to remote repositories, simplifying version control operations.
-
snapcrash : Addresses and resolves common issues with the Snap Store on Ubuntu systems by refreshing and reinstalling the Snap Store application.
-
startup : Initializes a system with essential software installations and configures it by deploying dot-files and other configurations using the "dispatch" script. Ideal for setting up new machines or restoring settings on existing ones.
-
update : Combines system update and cleanup tasks into a single script, which updates installed packages, removes obsolete files, and cleans up system logs to ensure optimal performance.
-
mountman : A script to mount and unmount external hard drives and USB sticks. At the beginning, you can select from a list of available drives. The default mount path is /media/$USER/, and the mount point will use the name of the external drive or USB stick.
-
syscheck : This Bash script performs a comprehensive security audit of your system. It checks for security-relevant aspects such as available updates and potential rootkits. The script logs only security-relevant findings. If no issues are found, the user receives positive feedback. Otherwise, a detailed log file is opened, indicating potential security problems and signaling the need for action. This script can be extended to include checks for open network ports, users with empty passwords, SUID/SGID files, and world-writable files. Optional: A malware check with ClamAV is performed in the user's home directory.
To install the configurations and utility scripts, follow these steps:
-
Run the following commands to clone the repository:
mkdir ~/github cd ~/github git clone https://github.com/ochi84/ochilinux84.git
-
Run the startup script by executing the following commands:
cd ~/github/ochilinux84 chmod +x startup sudo ./startup
- Prompt for your username to set the HOME directory.
- Clone the OchiLinux84 repository if it doesn't exist.
- Load the "sc.conf" file for additional settings.
- Install selected packages based on the chosen installation type.
- Install the "dispatch" script and run it to apply configurations.
- Further install some required nerdfonts -> https://www.nerdfonts.com
- a lot of tilix schemes from https://github.com/storm119/Tilix-Themes.git
- and great vim color settings from https://github.com/jdpedersen1/dotfiles.git
The script ("startup") offers different levels of installation:
- Minimal Install: Basic utilities like mc, vim, micro, ranger.
- Minimal Plus Install: Adds more advanced VIM plugins and tools.
- Expand Install: Includes all packages from Minimal Plus and additional tools like git, fzf, exa.
- Full Install: The most comprehensive installation, including window managers and advanced applications.
Please note: Running scripts can significantly alter the behavior of your system. It is highly advised to review each script to understand what changes will be made to your system. For safety, test the scripts in a controlled, virtual environment before applying them on your primary machine. This helps prevent unintended system behavior or data loss.
This repository's scripts and configurations have been tested on the following environments:
- Ubuntu 22.04.4 LTS on "HP ProDesk 400 G6 Desktop Mini PC"
- Ubuntu 22.04.4 LTS (WSL) Windows 10 x86_64 on "HP Z240 Tower Workstation" ( partially! )
- Linux Mint 21.3 Xfce on "33588BBG ThasdfinkPad Edge E130"
- Linux Mint 21.3 Xfce on "Acer Aspire E11 (ES1-111-C827)"
This repository is primarily for personal backup. However, if you have suggestions for improvements, I welcome issues or pull requests.
This repository is released under the MIT License.
minimalistic