Cable app now has side-by-side connections manager

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

I'll have to build it on Debian, I think.

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

asbak wrote: Sun Feb 23, 2025 11:38 pm

Wow you are fast

I tried it on Ubuntu 22.04 and got this

Code: Select all

/tmp/.mount_Cable-GTbIHh/usr/bin/Cable: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /tmp/.mount_Cable-GTbIHh/usr/bin/Cable)

I added version made in docker image of Debian Bookworm (GLIBC 2.36). Hopefully it will work now. It's probably good idea to do releases that way from now on, as not that many distros use newest GLIBC. The only issue I noticed is, that with GLIBC 2.41 PyQT 6 version uses nicer theme. With 2.36 PyQT version looks identical to PyQT 5. Not sure why is that but it's not that important.

https://github.com/magillos/Cable/relea ... g.AppImage

asbak
Established Member
Posts: 1165
Joined: Thu Sep 11, 2014 3:04 pm
Has thanked: 157 times
Been thanked: 133 times

Re: Cable app now has side-by-side connections manager

Post by asbak »

It's almost 1/2 the size now, fantastic =)

On Ubuntu 22.04 (actually Mint 21) I get this error also with the newer version, I guess Ubuntu 22.04 / Mint 21 is just too old.

Code: Select all

[PYI-24090:ERROR] Failed to load Python shared library '/tmp/_MEIRKHj55/libpython3.11.so': dlopen: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /tmp/_MEIRKHj55/libexpat.so.1)

On Ubuntu 24.04 (Mint 22) Cableapp loads =)

Awesome work sir, thank you very much for the AppImage, it's a huge help to folks who don't need the flatpak pain

--== The ULTIMATE Linux Audio Doze VST performance and success hack for lamers ==--
=== RUN UR DOZE VSTs ON DOZE ===

User avatar
GMaq
Established Member
Posts: 3102
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 605 times
Been thanked: 726 times

Re: Cable app now has side-by-side connections manager

Post by GMaq »

@magill

AppImage Working great here on AV Linux 23 (based on Debian Bookworm)! Thanks very much for your efforts to get it working on Deb/Mint/u!

Ok with you to supply this by default in future AV Linux releases? I currently have my own simple PW metadata UI + qpwgraph but Cable is pretty slick..

Question: Any way to get both light and dark themes in the AppImage? Not vital, just wondering...

Last edited by GMaq on Tue Feb 25, 2025 2:24 pm, edited 1 time in total.
magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

asbak wrote: Sun Feb 23, 2025 11:38 pm

Wow you are fast

I tried it on Ubuntu 22.04 and got this

Code: Select all

/tmp/.mount_Cable-GTbIHh/usr/bin/Cable: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /tmp/.mount_Cable-GTbIHh/usr/bin/Cable)

I've tried, but I'm having troubles to package it for Ubuntu 22.04.
You could still put Cable.py and connection-manager.py in the same directory and run it from that directory with "python3 Cable.py".
Or, for better system integration, download and place local.cable.Cable.desktop in ~/.local/share/applications and edit Exec line in there to look like this:
Exec=python3 /path/to/Cable.py

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

GMaq wrote: Tue Feb 25, 2025 3:48 am

@magill

AppImage Working great here on AV Linux 23 (based on Debian Bookworm)! Thanks very much for your efforts to get it working on Deb/Mint/u!

Ok with you to supply this by default in future AV Linux releases? I currently have my own simple PW metadata UI + qpwgraph but Cable is pretty slick..

Question: Any way to get both light and dark themes in the AppImage? Not vital, just wondering...

Feel free to add it to AV Linux! Themes are working fine for me on Plasma but app needs to be restarted after switching light/dark mode. What environment does your distro use? I've been trying to make dpkg but I'm struggling a bit. It would speed app's launch quite a bit, I believe. AppImage is based on pyinstaller binary and it's slow.

User avatar
GMaq
Established Member
Posts: 3102
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 605 times
Been thanked: 726 times

Re: Cable app now has side-by-side connections manager

Post by GMaq »

magill wrote: Tue Feb 25, 2025 2:44 pm

Feel free to add it to AV Linux! Themes are working fine for me on Plasma but app needs to be restarted after switching light/dark mode. What environment does your distro use? I've been trying to make dpkg but I'm struggling a bit. It would speed app's launch quite a bit, I believe. AppImage is based on pyinstaller binary and it's slow.

Oh boy...

I currently use Enlightenment (ignores the chorus of Booing) and QT stuff is generally controlled by qt(5/6)-platformtheme environment variables. In my experience with QT-based AppImages they usually are not governed by the host. For example AviDemux AppImage has a built-in choice of light or dark themes only (they don't correspond directly with the system set themes). Same goes for Kdenlive, it has bundled palettes regardless of what is installed on the host.

In the case of something like Cable I would not really expect it to theme-match on any and all DE's but a built-in light/dark option would at least offer an option to get closer to whatever look the host uses.

As far as Deb Packaging, I mostly make what I call wrapper 'hackages' to get binary things into AV Linux via Deb Packages, I even employ this with AppImages when needed but I'm not any kind of official Debian Repository packager so I'm not much help with specific Debian tools like debhelper and dpkg options. My packages are made with duct tape and cigarette rolling papers...

I'm sure you'd rather stick an icepick in your eye than create another testing VM but the latest AVL ISO is here if it would be useful for testing developing purposes.

https://downloads.bandshed.net/AVL-MXe-23.5-GH/

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

I added deb package to testing releases. It will likely need python3-jack-client and libqt6svg6 for tray icon to work. I would expect dark theme to work now too (I tested image you linked in VM)
It's probably how Enlightenment works, but in Plasma tray menu lets to choose which app opens with left click on icon. In AVL left click on tray icon opens up tray menu, which in that case makes menu option to choose default app bit out of place. Just a detail, I guess.

User avatar
GMaq
Established Member
Posts: 3102
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 605 times
Been thanked: 726 times

Re: Cable app now has side-by-side connections manager

Post by GMaq »

magill wrote: Tue Feb 25, 2025 6:48 pm

I added deb package to testing releases. It will likely need python3-jack-client and libqt6svg6 for tray icon to work. I would expect dark theme to work now too (I tested image you linked in VM)
It's probably how Enlightenment works, but in Plasma tray menu lets to choose which app opens with left click on icon. In AVL left click on tray icon opens up tray menu, which in that case makes menu option to choose default app bit out of place. Just a detail, I guess.

Hi, thanks (yet again)

I installed the Deb, it installed OK but Cable fails to start with this:

$

Code: Select all

 cable
Traceback (most recent call last):
  File "/usr/bin/cable", line 2, in <module>
    from Cable import main
  File "/usr/lib/python3/dist-packages/Cable.py", line 9, in <module>
    from PyQt6.QtCore import Qt, QTimer, QFile, QMargins
ModuleNotFoundError: No module named 'PyQt6'

I'm not sure how much QT6 stuff is in Debian Bookworm... AppImage works OK though..

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

Install pyqt6. This deb is based on re-written version made in pyqt6 rather than pyqt5.
edit: python3-pyqt6, that is on Debian.

User avatar
GMaq
Established Member
Posts: 3102
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 605 times
Been thanked: 726 times

Re: Cable app now has side-by-side connections manager

Post by GMaq »

magill wrote: Tue Feb 25, 2025 7:41 pm

Install pyqt6. This deb is based on re-written version made in pyqt6 rather than pyqt5.
edit: python3-pyqt6, that is on Debian.

Bingo! (I know jack sh*t about python stuff)

Working now + reflecting system theme! 8)

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

Happy days!
Well, I know nothing about any of this! I just throw my prompts at LLMs until it's working.
I'm glad it's all good now.

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

asbak wrote: Mon Feb 24, 2025 9:06 pm

It's almost 1/2 the size now, fantastic =)

On Ubuntu 22.04 (actually Mint 21) I get this error also with the newer version, I guess Ubuntu 22.04 / Mint 21 is just too old.

Code: Select all

[PYI-24090:ERROR] Failed to load Python shared library '/tmp/_MEIRKHj55/libpython3.11.so': dlopen: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by /tmp/_MEIRKHj55/libexpat.so.1)

On Ubuntu 24.04 (Mint 22) Cableapp loads =)

Awesome work sir, thank you very much for the AppImage, it's a huge help to folks who don't need the flatpak pain

You could actually try this deb: https://github.com/magillos/Cable/relea ... _0.4.1.deb
There is a chance it could work, as it's just python script and no pyinstaller involved this time. You'll need to install python3-pyqt6, python3-jack-client and libqt6svg6.

User avatar
GMaq
Established Member
Posts: 3102
Joined: Fri Sep 25, 2009 1:42 pm
Has thanked: 605 times
Been thanked: 726 times

Re: Cable app now has side-by-side connections manager

Post by GMaq »

magill wrote: Tue Feb 25, 2025 8:08 pm

Happy days!
Well, I know nothing about any of this! I just throw my prompts at LLMs until it's working.
I'm glad it's all good now.

I'm using this in AVL: https://github.com/trialuser02/qt6gtk2

I would guess that is the key to the theme working, so for those using pure Debian Bookworm without QT6gtk2 it would be interesting to see if the theme is reflected in Cables. Take some credit, you're obviously asking the right questions and putting the info together in a meaningful way.

Great project to have for the many Distros that have no such PipeWire simplifying tools! Will keep an eye on your Repo for updates. TBH I personally mostly use ALSA backends for recording but I have to present a working PW setup with some extra functionality and Cable(s) will be very helpful!!

magill
Established Member
Posts: 87
Joined: Wed Apr 05, 2023 9:11 am
Has thanked: 18 times
Been thanked: 54 times
Contact:

Re: Cable app now has side-by-side connections manager

Post by magill »

I actually built deb on plain Debian so I tested it there first, and light/dark themes worked too.
If there is anything that you think would be worth adding to the app, just let me know.
I thought of adding another tab in connection manager that would display pw-top output (xruns monitoring), but I can't crack it. Might be impossible too make terminal emulator in pyqt capable of doing it.
Maybe app autostart option would be worth adding?
And at some point I will need to split code into more files and organize them correctly.

Post Reply