Package Details: freetube 0.21.2-1

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: 67
Popularity: 4.83
First Submitted: 2020-10-02 22:19 (UTC)
Last Updated: 2024-07-25 17:34 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

picokan commented on 2024-06-30 10:48 (UTC)

Sorry about that, I've got a real problem with forgetting to update the .sh file.

Kinspappy commented on 2024-06-29 22:10 (UTC)

I am not sure what changed except for maybe some updates to Garuda Hyprland, but fullscreen now works for me. No more issues!

dujemiha commented on 2024-06-28 19:36 (UTC)

freetube.sh needs to be updated to run the app using electron31.

geekmiki commented on 2024-06-26 14:05 (UTC)

Same issue as Kinspappy, when entering fullscreen Freetube crashes. Running Hyprland here too.

je-vv commented on 2024-06-25 20:05 (UTC) (edited on 2024-06-25 20:07 (UTC) by je-vv)

@Kinspappy, the web RTC option I wrote is still valid, but better use the one currently documented on the arch wiki. BTW I do the same for the file chooser, I use xdg-desktop-portal-wlr as backend though rather than xdg-desktop-portal-hyprland, since I use wayfire instead.

That said, I see no issue with freetube, I can go full screen with the icon in freetube with no issues, so I can't reproduce in my environment, :( Don't forget the dbus thing as well, is quite important if not using full DE (gnome or kde) since that is not done by the compositor (it's not its responsibility).

The other thing I had to do on a laptop with both nvidia and embedded intel GPUs (maybe this is not necessary on full DEs) is to disable nvidia on the BIOS. I never got the nvidia (from nvidia itself) even displaying a thing, due to the lack of framebuffer at boot (yes I followed instructions about it, but perhaps the GPU for that laptop is not that supported or dated), the best I could get was using native linux nvidia (nouveau, I believe nova is still not there), which worked under most situations but unstable, and under some situations (can't remember them at the moment) it just didn't work. Moving to just intel on BIOS made a huge difference for me on wayland. Unfortunately I don't feel like trying nvidia again, hehe. Not sure if that might be an issue for you as well.

Other than that I have no clue.

But I'm glad to read you got rid of most if not all console errors/warnings messages, and that at least you can run freetube in non full screen mode.

Kinspappy commented on 2024-06-25 13:08 (UTC)

@je-vv, I am using Garuda Hyprland which uses wayland. I did find an issue. When I try to open freetube fullscreen, it crashes. This is whether using F11, the fullscreen icon, or keybind. Other than that, I figured out how to get rid of the error I was getting in terminal. Apparently the Hyperland backend doesn't have a file chooser so I installed xdg-desktop-gtk as a fallback. Had to edit .config/xdg-desktop-portal/hyprland-portals.conf to have the line org.freedesktop.impl.portal.FileChooser=gtk. I also created the electron31-flags.conf like you described. Based off of the 2nd link you provided, I had to change the --enable-webrtc-pipewire-capturer to --enable-features=WebRTCPipeWireCapturer which was probably a typo. Been trying to figure out for a couple of days now why it crashes when going to fullscreen, but nothing I have tried has worked. At least it works without fullscreen mode!

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