A Python console application I created for my dad, who bravely switched from Windows to Linux but is still deathly afraid of the terminal.
This handy tool offers a range of utilities specially tailored for my dad:
- Schedule computer shutdown
- Automatically or manually download Polish subtitles from napiprojekt
- Install
OTF
andTTF
fonts (or uninstall previously installed ones) - Convert
.doc
,.docx
,.odt
,.odf
files to PDF - Merge multiple PDF files into one (sequentially)
- Mix pdf pages (e.g., 1st page from file A, 2nd page from file B, etc.)
- Turn Plex on or off (if installed)
- Automatically update the script via Git (if the repository has been cloned)
Unfortunately, the program is in Polish (and the instructions are more than overly verbose), adding a touch of linguistic charm to its functionality.
I am only responsible for the damages done to my dad's computer, not yours. Proceed at your own risk.
- Clone the repository
git clone https://github.com/steciuk/command-center.git
- Enter the directory
cd command-center
- Install python3-dev package (otherwise, subtitles downloading won't work)
sudo apt install python3-dev
- Create a virtual environment (otherwise, script updating won't work)
python3 -m venv .venv
- Install the required python packages
.venv/bin/python3 -m pip install -r requirements.txt
- Run the script!
.venv/bin/python3 main.py