betterdiscordctl icon indicating copy to clipboard operation
betterdiscordctl copied to clipboard

Doesn't find Discord folder

Open pandasoli opened this issue 2 years ago • 2 comments

Maybe my problem can be fixed with a simple flag. I did read the ctl flags but could not find the one I need.

betterdiscordctl install gives me this:

WARN: Discord  config directory not found (/root/.config/discord).
WARN: Discord canary config directory not found (/root/.config/discordcanary).
WARN: Discord ptb config directory not found (/root/.config/discordptb).
WARN: Discord development config directory not found (/root/.config/discorddevelopment).
ERROR: Discord development config directory not found: /root/.config/discorddevelopment

My Discord configs are on ~/.config/discord.

pandasoli avatar Sep 17 '23 09:09 pandasoli

I have the same problem

Happygamer1983 avatar Jun 08 '24 16:06 Happygamer1983

It sounds to me like you're running betterdiscordctl as root, which you should not. If you run it as your regular user, it'll look in ~/.config/discord and so on instead.

If you're calling it from a script that runs as root, try sudo -u pandasoli betterdiscordctl install (or similar if you prefer an alternative to sudo).

mesaprotector avatar Oct 17 '24 21:10 mesaprotector