Package Details: freetube-bin 0.13.2-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, freetube-git
Provides: freetube, freetube-git
Submitter: plague-doctor
Maintainer: plague-doctor
Last Packager: plague-doctor
Votes: 65
Popularity: 7.20
First Submitted: 2019-04-02 03:28
Last Updated: 2021-06-28 02:53

Dependencies (0)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 Next › Last »

willemw commented on 2021-05-19 06:05

freetube-git is redundant.

neuro_tschok commented on 2021-05-18 08:11

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

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

marcih commented on 2021-03-10 11:52

@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

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

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

@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

@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

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

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