Package Details: freetube-bin 0.16.0-1

Git Clone URL: https://aur.archlinux.org/freetube-bin.git (read-only, click to copy)
Package Base: freetube-bin
Description: An open source desktop YouTube player built with privacy in mind.
Upstream URL: https://github.com/FreeTubeApp/FreeTube
Licenses: AGPL3
Conflicts: freetube
Provides: freetube
Submitter: plague-doctor
Maintainer: plague-doctor
Last Packager: plague-doctor
Votes: 105
Popularity: 5.33
First Submitted: 2019-04-02 03:28 (UTC)
Last Updated: 2022-02-07 03:18 (UTC)

Dependencies (0)

Required by (1)

Sources (2)

Latest Comments

plague-doctor commented on 2022-04-22 23:34 (UTC)

786MB of what?

luntik2012 commented on 2022-04-22 13:11 (UTC)

786 MB, is it normal?

unknown32 commented on 2022-02-12 04:28 (UTC)

Error after the recent Glibc 2.35 release freetube: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /usr/lib/libgbm.so.1)

hugh commented on 2021-11-25 06:30 (UTC)

It was something in the settings from a previous release.

I blew away the .config/Freetube directory and the errors went away.

marcih commented on 2021-11-13 21:37 (UTC)

@hugh:

There's not much the package maintainer can do, best would be to report this upstream: https://github.com/FreeTubeApp/FreeTube/issues

There have been tons of issues lately related to the project updating to newer version of Electron, and I share your experience in that the latest most stable version of FreeTube is 0.13.2 (save for comments not loading).

hugh commented on 2021-11-13 14:00 (UTC) (edited on 2021-11-13 14:06 (UTC) by hugh)

Getting errors on app start. Cannot save or apply new settings, and getting video view errors.

This started with the update to 0.14, and are still present in 0.15.1-1. Downgrading manually to 0.13.2-1 fixes, but want to use latest version.

Using linux-zen kernel 5.14.16, fwiw, but also happening on other kernels.

Here is the electron console output.
```

The vm module of Node.js is deprecated in the renderer process and will be removed. o._load @ node:electron/js2c/renderer_init:29 renderer.js:2

Object

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setAutoplay commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setDebugMode commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setDistractionFreeMode commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setHistory commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setInvidious commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setInvidiousInstance commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setLocalScrape commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setPlayer commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setProxy commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setQuality commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setRate commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setStartScreen commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setSubtitles commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setTheme commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setUpdates commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setUseTor commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setVideoView commit @ /opt/FreeTube/resour…/vuex.common.js:462

/opt/FreeTube/resour…/vuex.common.js:462 [vuex] unknown mutation type: setVolume commit @ /opt/FreeTube/resour…/vuex.common.js:462

renderer.js:2 TypeError: Cannot read properties of undefined (reading 'sort') at o.activeSubscriptions (renderer.js:2) at hn.get (renderer.js:2) at hn.evaluate (renderer.js:2) at o.activeSubscriptions (renderer.js:2) at o.<anonymous> (renderer.js:2) at o.t._render (renderer.js:2) at o.i (renderer.js:2) at hn.get (renderer.js:2) at hn.run (renderer.js:2) at cn (renderer.js:2) qt @ renderer.js:2

renderer.js:2 User is using Electron  ```

How the hell do you format this output properly? Looks fine in a text editor, but newlines are being ignore.

willemw commented on 2021-10-19 06:02 (UTC)

Please remove 'freetube-git'.

'provide' and 'conflicts' should be the same as you do for VCS packages. See freetube-git and see https://wiki.archlinux.org/index.php?title=PKGBUILD&action=edit&section=21 ("..., you do not need to specify that conflicting package in your conflicts array.").

hamedsbt commented on 2021-10-18 22:22 (UTC)

Very good development support. I has been request ability save subscriptions offline (without google account) and now it has this feature. Thank You Developers!

willemw commented on 2021-05-19 06:05 (UTC)

freetube-git is redundant.

neuro_tschok commented on 2021-05-18 08:11 (UTC)

Really love the project and really love the AUR (and especially @plague-doctor) for maintaining it!!

There is a new version available. If I can do more than point that out, please let me know ;)

Archislove commented on 2021-03-11 16:19 (UTC)

Thanks man for your help, explanations and your maintainer work!

marcih commented on 2021-03-10 11:52 (UTC) (edited on 2021-03-10 11:54 (UTC) by marcih)

@Archislove:

You're on the hardened kernel, makes sense. Check out this wiki page if you want to be able to run Electron apps (or have any other containers, really) without having to start the sandbox binary as root (which is what you're doing when you set the suid bit on a file with root as the owner): https://wiki.archlinux.org/index.php/Linux_Containers#Unpriviledged_containers_on_linux-hardened_and_custom_kernels

The freetube executable isn't in $PATH simply simply because that's not the case in the official packages either. :) The previous PKGBUILD was making a symlink from /opt/FreeTube/freetube to /usr/bin/, which is not quite where you're supposed to put it; if you really wanted it in $PATH, symlinking it to /opt/bin/ would be the right place (https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s04.html) but since Arch doesn't include that directory in $PATH, I decided to just leave it out.

Archislove commented on 2021-03-10 09:38 (UTC) (edited on 2021-03-10 09:39 (UTC) by Archislove)

Chmodding chrome-snadbox to 4755 did it. It now works from the desktop.

Anyway I'm using KDE Plasma on Wayland with the hardened kernel from the official repos. zgrep USER_NS /proc/config.gz : CONFIG_USER_NS=y # CONFIG_USER_NS_UNPRIVILEGED is not set

sysctl kernel.unprivileged_userns_clone : kernel.unprivileged_userns_clone = 0

If I might ask, why isn't it in the PATH anymore?

marcih commented on 2021-03-09 17:28 (UTC) (edited on 2021-03-09 17:30 (UTC) by marcih)

If it doesn't run using the desktop file but does run from the terminal, try checking if you have any FreeTube desktop files in ~/.local/share/applications folder and remove them, or at least change their Exec key; remember, the "freetube" executable is no longer in $PATH so you have to use absolute paths. Or better yet, use /usr/share/applications/freetube.desktop as the basis for your changes.

Metal_Neo commented on 2021-03-09 16:37 (UTC) (edited on 2021-03-09 16:48 (UTC) by Metal_Neo)

@marcih I'm not who you were responding to, but here is my output:

pacman -Ql freetube-bin :

freetube-bin /control.tar.gz freetube-bin /data.tar.xz freetube-bin /debian-binary freetube-bin /freetube-bin-0.12.0-1-x86_64.deb freetube-bin /opt/ freetube-bin /opt/FreeTube/ freetube-bin /opt/FreeTube/LICENSE.electron.txt freetube-bin /opt/FreeTube/LICENSES.chromium.html freetube-bin /opt/FreeTube/chrome-sandbox freetube-bin /opt/FreeTube/chrome_100_percent.pak freetube-bin /opt/FreeTube/chrome_200_percent.pak freetube-bin /opt/FreeTube/freetube freetube-bin /opt/FreeTube/icudtl.dat freetube-bin /opt/FreeTube/libEGL.so freetube-bin /opt/FreeTube/libGLESv2.so freetube-bin /opt/FreeTube/libffmpeg.so freetube-bin /opt/FreeTube/libvk_swiftshader.so freetube-bin /opt/FreeTube/libvulkan.so.1 freetube-bin /opt/FreeTube/locales/ freetube-bin /opt/FreeTube/locales/am.pak freetube-bin /opt/FreeTube/locales/ar.pak freetube-bin /opt/FreeTube/locales/bg.pak freetube-bin /opt/FreeTube/locales/bn.pak freetube-bin /opt/FreeTube/locales/ca.pak freetube-bin /opt/FreeTube/locales/cs.pak freetube-bin /opt/FreeTube/locales/da.pak freetube-bin /opt/FreeTube/locales/de.pak freetube-bin /opt/FreeTube/locales/el.pak freetube-bin /opt/FreeTube/locales/en-GB.pak freetube-bin /opt/FreeTube/locales/en-US.pak freetube-bin /opt/FreeTube/locales/es-419.pak freetube-bin /opt/FreeTube/locales/es.pak freetube-bin /opt/FreeTube/locales/et.pak freetube-bin /opt/FreeTube/locales/fa.pak freetube-bin /opt/FreeTube/locales/fi.pak freetube-bin /opt/FreeTube/locales/fil.pak freetube-bin /opt/FreeTube/locales/fr.pak freetube-bin /opt/FreeTube/locales/gu.pak freetube-bin /opt/FreeTube/locales/he.pak freetube-bin /opt/FreeTube/locales/hi.pak freetube-bin /opt/FreeTube/locales/hr.pak freetube-bin /opt/FreeTube/locales/hu.pak freetube-bin /opt/FreeTube/locales/id.pak freetube-bin /opt/FreeTube/locales/it.pak freetube-bin /opt/FreeTube/locales/ja.pak freetube-bin /opt/FreeTube/locales/kn.pak freetube-bin /opt/FreeTube/locales/ko.pak freetube-bin /opt/FreeTube/locales/lt.pak freetube-bin /opt/FreeTube/locales/lv.pak freetube-bin /opt/FreeTube/locales/ml.pak freetube-bin /opt/FreeTube/locales/mr.pak freetube-bin /opt/FreeTube/locales/ms.pak freetube-bin /opt/FreeTube/locales/nb.pak freetube-bin /opt/FreeTube/locales/nl.pak freetube-bin /opt/FreeTube/locales/pl.pak freetube-bin /opt/FreeTube/locales/pt-BR.pak freetube-bin /opt/FreeTube/locales/pt-PT.pak freetube-bin /opt/FreeTube/locales/ro.pak freetube-bin /opt/FreeTube/locales/ru.pak freetube-bin /opt/FreeTube/locales/sk.pak freetube-bin /opt/FreeTube/locales/sl.pak freetube-bin /opt/FreeTube/locales/sr.pak freetube-bin /opt/FreeTube/locales/sv.pak freetube-bin /opt/FreeTube/locales/sw.pak freetube-bin /opt/FreeTube/locales/ta.pak freetube-bin /opt/FreeTube/locales/te.pak freetube-bin /opt/FreeTube/locales/th.pak freetube-bin /opt/FreeTube/locales/tr.pak freetube-bin /opt/FreeTube/locales/uk.pak freetube-bin /opt/FreeTube/locales/vi.pak freetube-bin /opt/FreeTube/locales/zh-CN.pak freetube-bin /opt/FreeTube/locales/zh-TW.pak freetube-bin /opt/FreeTube/resources.pak freetube-bin /opt/FreeTube/resources/ freetube-bin /opt/FreeTube/resources/app.asar freetube-bin /opt/FreeTube/snapshot_blob.bin freetube-bin /opt/FreeTube/swiftshader/ freetube-bin /opt/FreeTube/swiftshader/libEGL.so freetube-bin /opt/FreeTube/swiftshader/libGLESv2.so freetube-bin /opt/FreeTube/v8_context_snapshot.bin freetube-bin /opt/FreeTube/vk_swiftshader_icd.json freetube-bin /usr/ freetube-bin /usr/share/ freetube-bin /usr/share/applications/ freetube-bin /usr/share/applications/freetube.desktop freetube-bin /usr/share/doc/ freetube-bin /usr/share/doc/freetube/ freetube-bin /usr/share/doc/freetube/changelog.gz freetube-bin /usr/share/icons/ freetube-bin /usr/share/icons/hicolor/ freetube-bin /usr/share/icons/hicolor/scalable/ freetube-bin /usr/share/icons/hicolor/scalable/apps/ freetube-bin /usr/share/icons/hicolor/scalable/apps/freetube.svg

I am on X11. The program does launch when using /opt/Freetube/freetube. I am using linux-zen.

sudo zgrep USER_NS /proc/config.gz :

CONFIG_USER_NS=y CONFIG_USER_NS_UNPRIVILEGED=y

sudo sysctl kernel_unprivileged_userns_clone :

sysctl: cannot stat /proc/sys/kernel_unprivileged_userns_clone: No such file or directory

Nothing seemed to change after changing the permissions of /opt/Freetube/chrome-sandbox

marcih commented on 2021-03-09 13:11 (UTC) (edited on 2021-03-09 17:35 (UTC) by marcih)

@Archislove @schnilz The package should just replicate what the deb would do on a Debain system... What exactly do you mean by "installs in my root folder"? What's the full path of the FreeTube folder, for example? Better yet, what's the output of pacman -Ql freetube-bin?

EDIT: Nevermind, I see what you mean now, I should've paid more attention, that shouldn't happen: I should've used the --exclude option on rsync to not actually copy those files. Other than that though, the package should get installed normally.

@Archislove: Are you on X11 or Wayland? Is there any output when you try to run FreeTube (/opt/FreeTube/freetube, it's not in $PATH) in the terminal? Are you using the stock Arch kernel, the hardened Arch one, or a self-configured compiled one? What's the output of zgrep USER_NS /proc/config.gz and sysctl kernel.unprivileged_userns_clone, both run as root? What happens when you change the permissions of /opt/FreeTube/chrome-sandbox to 4755 (u+srwx, g+rx, o+rx)?

Archislove commented on 2021-03-09 09:51 (UTC)

I just updated and, as @schnilz said, it installs in my root folder, and it doesn't start from desktop or terminal.

schnilz commented on 2021-03-09 08:51 (UTC)

The package installs to my root folder ... thats not intentional is it ?

malcolm commented on 2021-02-15 02:52 (UTC)

hey @GalacticRaph, thank you for the tip. Working now

GalacticRaph commented on 2021-02-10 18:02 (UTC) (edited on 2021-02-12 09:35 (UTC) by GalacticRaph)

I managed to implement my own version of youtube-redirect by making a custom url scheme.

Add this desktop entry to ~/.local/share/applications/freetube.desktop

[Desktop Entry]
Name=FreeTube
Exec=freetube-bin %u
Terminal=false
Type=Application
StartupNotify=false
MimeType=x-scheme-handler/freetube;

Then assign the freetube:// scheme

xdg-mime default freetube.desktop x-scheme-handler/freetube

Now in the browser of your choice download tampermonkey and paste the following script https://gist.github.com/raph92/7e3edad5c073822cc3de4afe38c3e5fc#file-freetube-redirect-js

rebal28 commented on 2020-11-09 18:13 (UTC)

Are there any solution to the firefox/chromium redirect extension?

just adding MimeType=x-scheme-handler/freetube; did not help.

it still gives me an error Unable to create io-slave. klauncher said: Unknown protocol 'freetube'.

deathmist commented on 2020-10-03 20:27 (UTC)

The following PKGBUILD change should allow you to get v0.8.0 right now until the package is updated:

diff --git a/PKGBUILD b/PKGBUILD
index 654e1ac..6024701 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,22 @@
 # Maintainer: Plague-doctor <plague at privacyrequired dot com >

 pkgname=freetube-bin
-pkgver=0.7.3
+pkgver=0.8.0
 pkgrel=1
 pkgdesc="An open source desktop YouTube player built with privacy in mind."
 arch=('x86_64')
 url="https://github.com/FreeTubeApp/FreeTube"
-file="FreeTube_${pkgver}_amd64.deb"
+file="freetube_${pkgver}_amd64.deb"
 license=('GPL')
 options=("!strip" "staticlibs")
 source=(
     "freetube-bin.desktop"
     "freetube-bin-icon.png"
-    "$pkgname-$pkgver-$pkgrel.deb"::"$url/releases/download/v$pkgver-beta/$file"
+    "$pkgname-$pkgver-$pkgrel.deb.zip"::"$url/releases/download/v$pkgver-beta/$file.zip"
     )

 prepare() {
+    ar -x $file
     bsdtar -x -f data.tar.xz opt/FreeTube
 }

@@ -31,4 +32,4 @@ package() {

 md5sums=('e6ae90f67b51efc28cbc249aefc7fc28'
          '226826376032a3253ebba9f1ed2e58fd'
-         '808b0e406930426aaf9f43d9969e97f5')
+         '54c37660f17dbab0eedbc281ee9ad80b')

iloverepublic commented on 2020-06-23 19:00 (UTC)

The Freetube-Redirect extension won't work with the portable versions, which the AUR version is based on. It only sets the freetube-bin input in the application search bar and doesn't load the video at all. The non-portable version works well after disabling "Grab videos locally".

Could you fix this issue, or could you just build the app from other source (like the .deb version) other than the portable version?

ShellCode commented on 2020-02-01 14:11 (UTC)

Thanks for the packaging :) Would be great to add MimeType=x-scheme-handler/freetube; to the desktop file as it's required in order to use the Firefox extension which uses the freetube:// url scheme.

See : https://github.com/FreeTubeApp/freetube-redirect/issues/5

Metal_Neo commented on 2019-11-06 19:51 (UTC)

freetube came up with this error after installing with yay on latest arch:

freetube-bin: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Program works after installing libxss from the extra repo. I suggest we include it as a dependency by default.

0000000011111111 commented on 2019-06-15 07:50 (UTC)

Thank you belara and plague-doctor. You both fixed it. Very nice.

belara commented on 2019-06-15 07:02 (UTC)

I reverted to the failing state before trying your update. It seems to do the trick! Thanks for your work on this.

plague-doctor commented on 2019-06-15 06:45 (UTC)

A fix has been pushed. (I hope it's a fix...)

belara commented on 2019-06-15 06:43 (UTC)

I'm running Manjaro 18.0.4. ¯_(ツ)_/¯

plague-doctor commented on 2019-06-15 06:36 (UTC)

What OS are you on? I cannot replicate this on my Arch...

belara commented on 2019-06-15 06:31 (UTC) (edited on 2019-06-15 06:32 (UTC) by belara)

@0000000011111111 I received the same error. This fixed it for me:

sudo chown root /opt/freetube-bin/chrome-sandbox

sudo chmod 4755 /opt/freetube-bin/chrome-sandbox

0000000011111111 commented on 2019-06-15 05:11 (UTC)

Error:

Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/freetube-bin/chrome-sandbox is owned by root and has mode 4755. fish: “freetube-bin” terminated by signal SIGTRAP (Trace or breakpoint trap)

--->

ls -l /opt/freetube-bin/chrome-sandbox -rwxr-xr-x 1 root root 5185424 Jun 14 21:50 /opt/freetube-bin/chrome-sandbox

What's going on?

Tio commented on 2019-04-20 12:08 (UTC)

In Manjaro GNome it works well, but the icon is not visible in the Dash To Dock, neither is possible to add it to favourites.

belara commented on 2019-04-18 14:23 (UTC)

Anyone considering installing this ought to be aware the version listed here as of 2019-04-18 (0.5.2) is broken and won't play videos, but it's been fixed in 0.5.3. https://freetube.writeas.com/freetube-release-0-5-3-beta-hotfix

Kunda commented on 2019-04-01 23:03 (UTC)

@plague-doctor I think @SpotlightKid makes a good point about appending -bin to this package name. Also, thanks for maintaining.

SpotlightKid commented on 2019-03-06 15:09 (UTC)

Shouldn't this package be named "freetube-bin"? I think it's good practice to add the "-bin" suffix to the name of packages, which install binaries provided by upstream and not built from the source by the package.

malSet commented on 2018-10-30 21:13 (UTC)

The URL for the source is broken. Should be https://github.com/FreeTubeApp/FreeTube/releases/download/v0.4.0-beta/FreeTube-linux-x64.zip instead.

FredBezies commented on 2018-08-31 07:00 (UTC)

Looks like glibc-2.27 is not needed anymore. I make it run on a Manjaro with glibc-2.28. Will test on Archlinux ASAP.

sudobash418 commented on 2018-08-19 21:51 (UTC)

Seems to require community/patchelf as well

Moviuro commented on 2018-07-28 08:14 (UTC)

Missing dep: extra/gconf