-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Flatpak Installation #62
Comments
Names in Flatpak are not necessarily the same name for native discord. While discord is running you can run the following command to see the name of the running discord instance: In the And make sure that the Flatpak instance of Discord is running when installing BD. |
After installing and changing ❯ beautifuldiscord --css ~/etc/discord_css/main.css
Found discord under /app/extra
Traceback (most recent call last):
File "/home/$HOME/.local/bin/beautifuldiscord", line 11, in <module>
sys.exit(main())
File "/home/$HOME/.local/lib/python3.7/site-packages/beautifuldiscord/app.py", line 216, in main
os.chdir(discord.script_path)
File "/home/$HOME/.local/lib/python3.7/site-packages/beautifuldiscord/app.py", line 78, in script_path
for subdirectory in os.listdir(config):
FileNotFoundError: [Errno 2] No such file or directory: '/home/$HOME/.config/extra' Trying with python3.7 and flatpak v0.0.8. |
Did you spin your own flatpak file or did you pull one off flathub ?. This error seems to be based off the fact your extra folder is not in the expected location. Are you able to try Edit: just noticed it's looking for |
I am assuming @ElDifinitivo was obfuscating their username in that console log. Either way,
|
Try looking for the directory containing the discord modules. The easiest way is to look for the file As such if the modules are under |
Please retry with the PR #65, the Config paths are now dynamically fetched @ElDifinitivo @Dormanil. As for the error that will appear about unable to find the @leovoel When users run discord through means such as flatpak the process is not able to relaunch through normal means as it requires the prefix |
Hi there,
I'm wondering what the best way to go about using BD with the Flatpak version (a.k.a what Linix Mint uses as their software manager installer).
Because it installs to
/var/lib/flatpak/app/com.discordapp.Discord
instead of the normal location, I then get the messageCould not find Discord executable.
when I run BD.This makes sense, but is there any way to go about fixing this other than installing Discord through the normal
.deb
off their website? Having Flatpak deal with updates and etc makes it a million times easier.Thanks in advance guys!
Edit: To be more direct, the actual Discord location us a sub-folder of the one above:
/var/lib/flatpak/app/com.discordapp.Discord/x86_64/stable/3ac6f4539e8d5caaa8cc9e82fcaa75649d63c51c0eb7f930ae3f6f88659a5b63
The text was updated successfully, but these errors were encountered: