made a flatpak

3,769 views
Skip to first unread message

Mikel Pérez

unread,
Oct 27, 2019, 6:28:09 PM10/27/19
to Soulseek Technical Discussion
I've just made a flatpak for any distribution that supports it.
it should ease the pains of keeping the AppImage running due to linkage differences and mismatched libraries with your system and distro upgrades
 
just
and you should be good to go. it will appear in your desktop environment's apps list as Soulseek or you can flatpak run org.slsknet.SoulseekQt

Mikel Pérez

unread,
Oct 27, 2019, 9:50:54 PM10/27/19
to Soulseek Technical Discussion
sorry I messed up only setting rw permissions on ~/Music and not on ~/Soulseek Downloads, I've uploaded a fixed version. just install if you haven't or flatpak update if you did

Nir Arbel

unread,
Oct 28, 2019, 3:06:20 PM10/28/19
to Soulseek Technical Discussion
Thank you Mikel, I'll pin this for now and look into adding this to the download page at some point.
Message has been deleted

psynature…

unread,
Oct 29, 2019, 8:15:26 AM10/29/19
to Soulseek Technical Discussion
404 Not Found
and
error: Invalid .flatpakref: Key file contains line “<html>” which is not a key-value pair, group, or comment

Mikel Pérez

unread,
Oct 29, 2019, 3:34:37 PM10/29/19
to Soulseek Technical Discussion
fixed.

andryi....@gmail.com

unread,
Oct 31, 2019, 2:28:14 PM10/31/19
to Soulseek Technical Discussion
Well, I was going to report the issues with AppImage and the missing libraries but Mikel here got the advantage.
Haven't you ever considered publishing just the core functionality (I understand you don't wish to open source it, and that's ok) as a binary and give linux and bsd users like myself the chance to build the rest of the program on our own? If all you need is someone to take care of keeping a repo updated, I could give it a shot (I've been hoping for a chance to run slsk on BSD for a long time!!)
Anyway, having the old binaries available for download would be great too, since they never gave me any troubles on any linux.

Mikel Pérez

unread,
Oct 31, 2019, 3:19:55 PM10/31/19
to Soulseek Technical Discussion
or, if you (Nir) don't want to open source it, consider going all in on flatpak (a proper one that builds soulseek's source! not apply_extra downloading a binary and fixing stuff)
all distros support flatpak and sandboxing is good. I can help out if you want just write me up :^)

tin...@gmail.com

unread,
Nov 23, 2019, 10:01:45 AM11/23/19
to Soulseek Technical Discussion
Mikel, I'm giving the flatpak thing a test run (I'm hardly familiar with it), but I ran into some problems: It seems that running "flatpak run org.slsknet.SoulseekQt" doesn't retain the settings you give it. In particular, the user's credentials and the shared folders settings. Other settings, like UI settings or so, are probably ephemeral as well.

From a brief read of the the flatpak documentation, this can probably solved by adding a "--persist=<SOMETHING>" to the run command, but the "something" part still eludes me. I tied "--persist=.SoulseekQt", but it didn't help.

I think the manifest can probably has this setting internally (I think. As said, I don't know flatpak very well). If so, it should be worthwhile to update it.

The good news is the unlike the appimage, the flatpak runs :)

(Tested on Fedora 31)

Mikel Pérez

unread,
Nov 29, 2019, 6:06:12 PM11/29/19
to Soulseek Technical Discussion
you're right, it seems it was using a previous configuration on my machine. lemme fix it

Mikel Pérez

unread,
Nov 29, 2019, 6:15:00 PM11/29/19
to Soulseek Technical Discussion
I just pushed an updated flatpak. (attached is the manifest)

it will share configuration with a non flatpak'd one tho, and I had to punch filesystem access to ~/.SoulseekQt.
the issue here is that soulseek should use XDG_CONFIG_HOME/SoulseekQt and not ~/.SoulseekQt
org.slsknet.SoulseekQt.yaml

lowd...@gmail.com

unread,
Dec 4, 2019, 8:31:17 AM12/4/19
to Soulseek Technical Discussion
I just wanna thank you for this Flatpak!
Ah, just a silly question: Have you ever thought about putting this Flatpak in Flathub?
Anyway, I'm happy with this package :D

Faheem M

unread,
Dec 4, 2019, 8:33:20 AM12/4/19
to Soulseek Technical Discussion
Hello, which version is this?

Anastiel

unread,
Dec 6, 2019, 5:22:21 AM12/6/19
to Soulseek Technical Discussion
thanks Mikel

ro...@aimao.org

unread,
Dec 9, 2019, 1:26:46 PM12/9/19
to Soulseek Technical Discussion

Hello,

i'm the maintainers of soulseekqt for nixos linux distribution. the derivation is available here : https://github.com/NixOS/nixpkgs/blob/39ab7a07787bf3d6cd99d8e13a1a0bb527b95a2c/pkgs/applications/networking/p2p/soulseekqt/default.nix .

According to TOS, i can't redistribute the modified version with patchelf, and i follow it according to https://nixos.org/nixpkgs/manual/#sec-meta-license

I wonder if you would accept that we distribute the modified binary through the nixos cloud so i could change to unfreeRedistributable . It will saves bandwith and times for our users.

Cheers,

ronan.

kyle...@gmail.com

unread,
Dec 29, 2019, 10:19:16 PM12/29/19
to Soulseek Technical Discussion
Flatpak installation failed for me. As you're aware, the appimage is DOA as well. I usually am a nicotine+ user, but I must have borked something because now that only runs as root. That of course is a matter to be taken up in their irc, but in the meantime I thought I'd give soulseek clients a shot and wanted to report my results in the event that it may be me and my machine, or is a broader issue. stdout is on hastebin.

Mikel Pérez

unread,
Jan 1, 2020, 5:13:02 AM1/1/20
to Soulseek Technical Discussion
The flatpak downloads the AppImage during apply_extra so if the AppImage is down the flatpak won't install

edie...@gmail.com

unread,
Apr 28, 2020, 8:24:01 PM4/28/20
to Soulseek Technical Discussion
Hi, thank you.
I just downloaded the flatpak. It works like a charm!
Just one thing, I have a second Hard Drive in my PC with all the music I want to share, the problem is that it is in NTFS (Windows format) and I have it mounted in the  " /mnt " directory.
However, when I use soulseek to browse my PC to share the files, the  " /mnt " directory doesn't appear, even when I have it with a symbolic link in my " /home " directory.
Do you know something, or it is a weird situation?

Thanks in advance. Congratulations, you did a great job with that Flatpak!

edie...@gmail.com

unread,
Apr 28, 2020, 9:56:46 PM4/28/20
to Soulseek Technical Discussion
Hi, I texted you some minutes ago reporting a problem, I want you to know that I just solved it issuing these commands:

flatpak override --filesystem=/mnt org.slsknet.SoulseekQt

Soulseek didn't find the NTFS filesystem I have mounted in " /mnt " but with the override capability I could tell it to access that directory.
Thanks!

Mikel Pérez

unread,
Apr 30, 2020, 9:04:00 AM4/30/20
to Soulseek Technical Discussion
Good. The real proper way to fix it would be for nir to build soulseek with an updated Qt from the SDK to be used (which would be the kde one as it's the one that comes with Qt) and use the file/folder picker portals, as punching holes allowing all file access defeats the sandboxing part of flatpak. But while he gets to that, that's a proper workaround.

Gabriel Martins

unread,
May 3, 2020, 6:16:45 AM5/3/20
to Soulseek Technical Discussion
hello how are my friends. I have a problem with the port. it's closed. could someone guide me?

hbo...@gmail.com

unread,
May 14, 2020, 10:39:57 AM5/14/20
to Soulseek Technical Discussion
That's odd, with the flatpak I also get this error:

% flatpak run org.slsknet.SoulseekQt
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: QSslSocket: cannot resolve SSLeay_version
qt.network.ssl: QSslSocket: cannot call unresolved function SSLeay
qt.network.ssl: Incompatible version of OpenSSL

tund...@gmail.com

unread,
May 21, 2020, 7:08:14 AM5/21/20
to Soulseek Technical Discussion
just moved my linux install to Ubuntu 20.04 and the flatpak install was smooth as smooth can be.

Wim P

unread,
May 21, 2020, 7:18:04 PM5/21/20
to Soulseek Technical Discussion
thanks a lot for the flatpack.

i'm new to linux and have issue with sharing from my external devices. they are not visible in Add Shared Folder > Select Folder > i only see "/home/user" directory. no external devices, no data disk.
how do i make them visible to share? i have the same issue in other programs...

psynature…

unread,
May 26, 2020, 7:50:02 AM5/26/20
to Soulseek Technical Discussion
read about how Your linux is mounting external devices. it's likely in /mnt or /media
Message has been deleted

Wim P

unread,
May 26, 2020, 1:06:39 PM5/26/20
to Soulseek Technical Discussion
yes, i noticed. but the media folder where my drives are mounted is not there in soulseek.
screenshot:

Wim P

unread,
May 26, 2020, 1:10:21 PM5/26/20
to Soulseek Technical Discussion
(my drives are in /media folder ,the /mnt folder is there because i manually mounted another drive there before)

Mikel Pérez

unread,
May 26, 2020, 1:22:19 PM5/26/20
to Soulseek Technical Discussion
As was said previously, you have to override permissions, as usually being able to pick folders outside the flatpak sandbox is handled by them xdg portals, but the Qt version used by nir is ooooold. Nir should update to a new Qt and make a proper flatpak that builds with the newest KDE runtime (instead of grabbing the appimage and fixing it) so those issues are fixed.

As a stopgap, I'll update this flatpak to always allow rw on /mnt and /media but in reality that's not the way to go

Wim P

unread,
May 26, 2020, 1:48:10 PM5/26/20
to Soulseek Technical Discussion
Oops i didn't notice previous comment about that. 

Thanks Mikel for fixing an inbetween solution. I hope Nir has time to update on the flatpack soon.
Message has been deleted

Mikel Pérez

unread,
May 28, 2020, 4:40:03 PM5/28/20
to Soulseek Technical Discussion
I've just pushed an updated build with filesystem RW+create access to /mnt and /media.
I want to emphasize that it's not a proper solution and we are just all waiting for nir to have free time. may the music gods allow

Wim P

unread,
Jan 3, 2022, 3:44:07 AM1/3/22
to Soulseek Technical Discussion
I can't save a users file list to .xml . Nothing there after saving. 

Dale Josephs

unread,
Feb 8, 2023, 5:13:41 PM2/8/23
to Soulseek Technical Discussion
I'm not able to access the server path, and get `socket I/O timed out` errors when I try to install the flatpak.  Has the file moved?

Nir Arbel

unread,
Feb 9, 2023, 3:59:04 AM2/9/23
to Soulseek Technical Discussion
I don't maintain the flatpak, but I recently posted this appimage: https://drive.google.com/file/d/1Ow9HpYsA5YQAC8EonNpmIgbHeYikPAOZ/view?usp=share_link

Mikel Pérez

unread,
Feb 19, 2023, 12:16:51 PM2/19/23
to Soulseek Technical Discussion
sorry people I wiped my server and have been restoring more important stuff to me, we've got the appimage anyways as a fallback (thanks Nir) and in fact the flatpak is made from the AppImage (as I can't build from source because Nir isn't giving away the source to the official soulseek client, which is respectable)

so my recommendations are:
# you can use Nir's AppImage without flatpak sandboxing
# you could use Nicotine+'s flatpak
# you could wait for me to get my stuff together and publish a newer version of the flatpak made from Nir's AppImage

you probably won't go wrong with any of these choices :)
peace!

Rubén Sosa Villegas

unread,
Feb 23, 2025, 11:01:05 PM2/23/25
to Soulseek Technical Discussion
Worked! Just downloaded, changed permissions to run as a program, and it's working.

Zom

unread,
Jul 20, 2025, 10:16:33 PM7/20/25
to Soulseek Technical Discussion
Hi. I rely want to use soulseak but i don't know how to use this flatpacks (even tho it appears in my software manger(I'm in linux mint, the last version))
Do i just put this comand in the consol? Because when i do it says "error: Can't load uri https://slsk.mikelpr.com/org.slsknet.SoulseekQt.flatpakref: While fetching https://slsk.mikelpr.com/org.slsknet.SoulseekQt.flatpakref: [60] SSL peer certificate or SSH remote key was not OK"
Sry, English is my second language.
Also, what is the org.slsknet.SoulseekQt.yaml for? is it the flatpack?

El domingo, 27 de octubre de 2019 a la(s) 7:28:09 p.m. UTC-3, Mikel Pérez escribió:
I've just made a flatpak for any distribution that supports it.
it should ease the pains of keeping the AppImage running due to linkage differences and mismatched libraries with your system and distro upgrades
 
just
and you should be good to go. it will appear in your desktop environment's apps list as Soulseek or you can flatpak run org.slsknet.SoulseekQt

Zom

unread,
Jul 20, 2025, 10:19:07 PM7/20/25
to Soulseek Technical Discussion
I just read that, I'm dumb. Sry for bothering you
Reply all
Reply to author
Forward
0 new messages