Skip to content
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

Snap package ready #311

Open
soumyaDghosh opened this issue Jun 12, 2023 · 33 comments
Open

Snap package ready #311

soumyaDghosh opened this issue Jun 12, 2023 · 33 comments

Comments

@soumyaDghosh
Copy link

Hii, I have snapped your app, but the problem is it's trying to access /dev/shm/jack-db.. I tried jack1 and shared-memory plug but got no help. Can you kindly help me to fix this.

The manifest link:
https://code.launchpad.net/~soumyadghosh/+git/blanket-snap

@soumyaDghosh
Copy link
Author

Hi, it has been fixed. Would you like to have it under your account?

@soumyaDghosh soumyaDghosh changed the title Snap package almost ready but facing some issue Snap package ready Jun 14, 2023
@rafaelmardojai
Copy link
Owner

Hi, it has been fixed. Would you like to have it under your account?

Thanks for taking the time!

I really don't have timer nor experience with Snap to take responsibility. But feel free to sent a PR adding the Snapcraft button to the Third Party Packages section of the README if you publish it.

@vinberg88
Copy link

Nice Work!

I can't get the sound to work like flatpak. Otherwise it's good =)

https://snapcraft.io/blanket

sudo snap install blanket --edge

or

sudo snap install blanket --beta

Regards,
Vinberg

@soumyaDghosh
Copy link
Author

Hii, the problem with the beta channel was, it needed some manual slot connections(not allowed automatically due to security reasons), but later I fixed it. https://forum.snapcraft.io/t/request-to-autoconnect-to-the-pulseaudio-plug-for-the-snap-blanket/35603

Just now, I pushed it to stable channel. Try it, works just like flatpak.

@vinberg88
Copy link

No sound - ParrotsSecurityOS - Wslg - Windows.

Is there a package i have to install on debian? All debian works on ParrotSec.

https://i.imgur.com/Fb5dUN2.png

Thanks - sudo snap install blanket

@soumyaDghosh
Copy link
Author

Can you give me the output of
snap connections blanket

@vinberg88
Copy link

vinberg88 commented Jun 18, 2023

Ok give me a minute =)

https://i.imgur.com/EPFsxzA.png

@soumyaDghosh
Copy link
Author

Try with removing the old config folder, i.e $HOME/snap/blanket folder, then, open the app.
Try with changing some sliders also once.

If the issue persists. Kindly try with checking some other audio based snaps, if they are able to provide you the audio, i.e g4music, resonance, amberol.

If they do provide audio and blanket doesn't, then kindly inform me about that. If the scenario is same with them, then some issue with the audio-playback by the snaps.

@vinberg88
Copy link

OK it works on ChromeOS version 115 - So there's always something!

The problem will probably be solved soon.....

@soumyaDghosh
Copy link
Author

May be it's an issue with the OS and the Snapd in the OS?

@vinberg88
Copy link

Now it works =) reboot..

Have a god day!

@soumyaDghosh
Copy link
Author

I am having it, Gods are on me.

@vinberg88
Copy link

vinberg88 commented Jun 27, 2023

https://www.youtube.com/watch?v=QaSVOnTjCck - Final solution.... 2023

Never got it to work via snap, no sound. I read somewhere that they consider it a hack to use Windows 11 and Wsl. Flatpak install alot of other shi... stuff. Rebuild kernel is not my taste.. lots of work.

@soumyaDghosh
Copy link
Author

So, snap didn't work with WSL?

@vinberg88
Copy link

Now its works =) Fedora 38 and WSL - Hade to paste this to Fedora.

sudo nano /etc/selinux/config

SELINUX=permissive

and

sudo nano /etc/wsl.conf

[boot]
systemd=true

@vinberg88
Copy link

Centos 9 works to on Windows 11 =) WsL

@vinberg88
Copy link

Opensuse Works =) only deb left to fix =)

@soumyaDghosh
Copy link
Author

Thanks for the feedback. BTW, systemd is one of the core dependencies of snapd.

@vinberg88
Copy link

i find that yesterday... SELINUX=permissive and all starts to work!

@vinberg88
Copy link

Took me a few days and nights =)

Latest Ubuntu 23.10 and WSLg from Windows 11. Blanket is installd via Snapd and is working =)

Dont install pulseaudio that will break Snapd sound.

https://i.imgur.com/g5cBGJo.png

I love Blanket,
Mattias Vinberg - Sweden

@soumyaDghosh
Copy link
Author

Hii @rafaelmardojai can you help me to fix the autostart. it's actually not working in the snap. Does your app looks for a desktop file to autostart? If it's the app_id, then it needs to be patched.

@rafaelmardojai
Copy link
Owner

@soumyaDghosh Blanket uses org.freedesktop.portal.Background from xdg-desktop-portal. From what I know it should be supported on snap.

Found this docs https://snapcraft.io/docs/xdg-desktop-portals, but I know nothing about snapcraft.

@soumyaDghosh
Copy link
Author

Can you do something to show some error logs when the autostart button doesn't work?

@rafaelmardojai
Copy link
Owner

Do you get some error dialog?

@soumyaDghosh
Copy link
Author

No I don't get any!

@rafaelmardojai
Copy link
Owner

So you can turn it on, but it never gets autostarted?

@soumyaDghosh
Copy link
Author

No I can't even turn it on. The keep it running in background works though.

@vinberg88
Copy link

Have same problem.

https://i.imgur.com/4aSUStA.png

Arch on WSLg Windows 11.

@rafaelmardojai
Copy link
Owner

@Lurixswe, at least you're getting an error dialog. It can mean two things, the request to the portal couldn't be made (probably xdp-desktop-portal isn't installed) or the request ended in an unexpected way (I probably should separate both errors).

@vinberg88
Copy link

Fixed =) toked me 2 days hehe.

https://i.imgur.com/RGSKGEF.png

@soumyaDghosh
Copy link
Author

How? Can you give me some insight?

@vinberg88
Copy link

Fast load =) Fedora 38 and windows 11 Pro - Wslg

https://www.youtube.com/watch?v=M6JhiZBPvJc

@soumyaDghosh
Copy link
Author

Fixed =) toked me 2 days hehe.

https://i.imgur.com/RGSKGEF.png

Can you explain me how did you fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants