Page 1 of 1

Env-Var to move ~/.MakeMKV/ directory?

Posted: Tue Oct 01, 2024 6:13 pm
by W4tchT0wer
Hi folks,

I am trying to clean up my user home directory on my Linux system.

And I am simply trying to change the location MakeMKV uses instead of ~/.MakeMKV/ as my user home is full of files that simply do not belong there, including the directory by MakeMKV.

I can see in the MakeMKV settings, that I can change the data directory, but that's not enough.

Most apps provide a environment variable that can be set, and it would be very nice if MakeMKV also has one.
Does anybody know something about that?

Thanks and have a nice day!

Re: Env-Var to move ~/.MakeMKV/ directory?

Posted: Wed Oct 02, 2024 7:06 am
by segfaulted
The variable HOME will set the directory where .MakeMKV will be found. I don't think there's any way to change the name for .MakeMKV itself. A few other external libs also seem to reference that variable, so don't be surprised if other dot folders show up alongside it.

Re: Env-Var to move ~/.MakeMKV/ directory?

Posted: Wed Oct 02, 2024 5:35 pm
by flojo
Makemkv doesn't need to pollute the environment. Try using a script to define HOME=/what/ever then start makemkv.

Code: Select all

#!/bin/bash
mkdir -p /home/$USER/apps
HOME=/home/$USER/apps
makemkv