theRealCarneiro / pulsemeeter

Replicating voicemeeter routing functionalities in linux with pulseaudio
MIT License
389 stars 20 forks source link

No such file or directory: '/home/root/.config/pulsemeeter' #124

Open MioNya4 opened 10 months ago

MioNya4 commented 10 months ago

When running as root (or i guess any other user, which's home dir is not in /home), config location will be wrong

pulsemeeter [Errno 2] No such file or directory: '/home/root/.config/pulsemeeter'

To Reproduce

  1. create a user with home dir outside of /home or log in as root
  2. run pulsemeeter
  3. See error

Expected behavior program should respect XDG_CONFIG_DIRS and paths should not be hardcoded (or something im not a programmer)

Desktop (please complete the following information): Python 3.10.11 pip 22.2.2