Simple GUI program to manage environment variables in linux.
Download program from release page, then extract the archive to your desired folder. Create symlink of manage-env-bin to $HOME/.local/bin or $HOME/bin depending on your distro, so you can invoke the program directly from terminal.
Append this code below to .bashrc and .profile file,
if [ -f ~/.environment ]; then
set -a
source ~/.environment
set +a
fithen try to logout and login your system. The program has been tested in debian 12 bookworm.
- Python (>= 3.11.10)
- PyQt5/PyQt6/PySide6 (latest)
- cx-freeze (latest)
- make (to automate the convertion of ui files to py files and build executable)
-
Download the source code from release page then extract it, or clone this repo
git clone git@github.com:Noertri/manage-env.git
-
Create virtual environment and activate it
python3 -m venv path/to/yourenv source path/to/yourenv/bin/activate -
Change directory to source code folder and run command below to install all requirements
pip3 install -r requirements.txt
-
Convert .ui files to .py files, run
make all
-
Build the program, run
make build
or
python3 setup.py build
-
Optionally run this command
make clean
this command will delete unnecessary files/library files in folder build to reduze the size.
You can also use PyQt6/PySide6 but you need to change some changes of the Makefile.