Package Details: freetube 0.22.0-2

Git Clone URL: https://aur.archlinux.org/freetube.git (read-only, click to copy)
Package Base: freetube
Description: An open source desktop YouTube player built with privacy in mind.
Upstream URL: https://freetubeapp.io
Licenses: AGPL3
Submitter: picokan
Maintainer: picokan
Last Packager: picokan
Votes: 70
Popularity: 1.69
First Submitted: 2020-10-02 22:19 (UTC)
Last Updated: 2024-10-29 06:49 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

je-vv commented on 2024-06-22 17:38 (UTC) (edited on 2024-06-22 17:41 (UTC) by je-vv)

@Kinspappy, if you're using wayland, and I don't know which compositor or DE (a full DE is not required to use wayland) you need several things, that are out of the scope from this app, one of them is dbus, as I use wayfire, and although it come with an init script I have a wrapper where I call prior to wayfire, eval "$(dbus-launch --sh-syntax --exit-with-session)", then on wayfire.init configuration I call eval "$(dbus-launch --sh-syntax --exit-with-session)". Besides that you need to set a desktop portal up, through pipewire, see:

https://wiki.archlinux.org/title/XDG_Desktop_Portal

And in order to run electron apps natively you need to use the proper .config/electron<major_verion>-flags.conf. See:

https://wiki.archlinux.org/title/Wayland#Electron

My current config:

% cat .config/electron31-flags.conf
--ozone-platform-hint=auto
--enable-webrtc-pipewire-capturer
--enable-features=WaylandWindowDecorations

It might be possible the 2nd line is no longer required, but oh well, just in case... Notice current electron is a synlink to electron31...

That said, I believe your errors are related to something around those lines if you're using wayland, and not using full DE that does all that for you.

The dbus thing sounded familiar to me, then the desktop portal stuff...

But it doesn't sound like it's preventing you to use freetube any ways...

Kinspappy commented on 2024-06-22 11:19 (UTC)

Thanks for the quick response je-vv. I really appreciate it!

I edited freetube.sh file in /usr/bin/. Then received this error.

/usr/bin/freetube: line 3: electron: command not found

Installed electron and started app from terminal and it seems to be working, but still gave this error. If I opened the app using the icon as I normally do, I wouldn't have seen the error. Thanks again!

[6860:0622/130750.193523:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser” [6860:0622/130750.194698:ERROR:select_file_dialog_linux_portal.cc(291)] Failed to read portal version property [6918:0622/130754.425070:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [6918:0622/130923.557523:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [6918:0622/130923.563217:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

je-vv commented on 2024-06-22 09:42 (UTC)

@Kinspappy, that was just a minor miss from the maintainer, freetube.sh was kept with:

electron29 /usr/lib/freetube/app.asar "$@"

Just replace electron29 with just electron on:

/usr/bin/freetube

And freetube will work just fine. That while this package gets fixed (it's a minor package issue).

Kinspappy commented on 2024-06-22 09:09 (UTC)

After installing and trying to run app, I get this error.

/usr/bin/freetube: line 3: electron29: command not found

Tried installing electron29, but then received this error.

[75178:0622/110812.114622:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser” [75178:0622/110812.115057:ERROR:select_file_dialog_linux_portal.cc(286)] Failed to read portal version property [61282:0622/104009.311838:ERROR:select_file_dialog_linux_portal.cc(286)] Failed to read portal version property

picokan commented on 2024-06-15 07:03 (UTC)

@chrrybmb I now, but I'm going to stick with the upstream supported electron version for each release moving forward to avoid them getting issues and bug reports because of me.

chrrybmb commented on 2024-06-11 08:56 (UTC)

I believe the issue with electron 30 has been fixed in 30.0.6: https://github.com/electron/electron/issues/41839

dawidpotocki commented on 2024-05-30 12:13 (UTC)

I was helping someone with building of this package, so I figured I will post the solution here.

Just replace the yarn commands with this:

UV_USE_IO_URING=0 yarn --cache-folder "${srcdir}/yarn-cache" install
UV_USE_IO_URING=0 yarn --cache-folder "${srcdir}/yarn-cache" run build

Here is a related issue:

https://github.com/nodejs/node/issues/48444#issuecomment-2124341772

gregsie commented on 2024-04-28 09:07 (UTC)

Hello. pamac is flagging electron29 as out of date. scfc@manjaro ~ $ pamac checkupdates -a Your system is up to date.

Out of Date: electron29-bin 29.0.1-1 AUR scfc@manjaro ~ $

No issues with freetub-bin. Love this application, great work as always!

taivlam commented on 2024-04-20 15:31 (UTC)

Thank you!

picokan commented on 2024-04-20 13:11 (UTC)

My bad, should be fixed.