Re: how to install "4K Video Downloader"?
by David King
On 12/11/20 3:19 PM, Samuel Sieb wrote:
> I use "youtube-dl" from the command line, it gives you a lot of
> control over exactly what formats you want. "youtube-dl -F url" will
> give you the list of available formats and then you can use
> "youtube-dl -f {n} url" to get it. See the man page for details.
> Btw, even though it's called "youtube"-dl, it can download from many
> other sites as well.
I use both 4kVideoDownloader and youtube-dl because neither of them
handles all videos.
Installing 4kVideoDownloader on Fedora isn't all that difficult:
1) Use the "alien" tool to convert the deb package to an rpm package:
sudo alien --to-rpm --scripts 4kvideodownloader_4.13.5-1_amd64.deb
2) Fix the rpm package so that it doesn't try to "own" the "/usr" and
"/usr/bin" directories.
rpmrebuild --edit-spec 4kvideodownloader-4.13-6.x86_64.rpm
When the VI editor session opens, scroll down to the "%files" section of
the file and delete the first eight lines:
%dir %attr(0755, root, root) "/"
%dir %attr(0755, root, root) "/usr"
%dir %attr(0755, root, root) "/usr/lib"
%dir %attr(0755, root, root) "/usr/lib/.build-id"
%dir %attr(0755, root, root) "/usr/lib/.build-id/a4"
%attr(0777, root, root)
"/usr/lib/.build-id/a4/0b64ce7d0c022c77cd85ad6f405b529dc8004c"
%dir %attr(0755, root, root) "/usr/lib/.build-id/f7"
%attr(0777, root, root)
"/usr/lib/.build-id/f7/997df8fab1b5db8950848b227407154e389688"
Save the file and let the rebuild complete.
3) Insrall the rpm package using dnf as usual:
sudo dnf install ~/rpmbuild/RPMS/x86_64/4kvideodownloader-4.13-6.x86_64.rpm
--
David King
dave at daveking dot com
3 years, 4 months
how to install "4K Video Downloader"?
by home user
Once in a while, I want to download a video that I enjoyed watching in Firefox. I googled this. One recommended tool was the "Video DownloadHelper" add-on for Firefox. I installed it; it worked fine for one video, but not the second. Another article pointed to by google is:
"https://www.pcmag.com/news/how-to-download-youtube-videos".
Its first recommended tool is VLC. It worked on the one "Video DownloadHelper" could not handle, but the result was not the best resolution available. VLC doesn't do more than 1K resolution (according to the article). The second thing the article recommended was "4K Video Downloader". The web site for this application is here:
"https://www.4kdownload.com/".
I downloaded the installation package from here:
"https://www.4kdownload.com/downloads".
Its website characterizes iwhat I downloaded as an Ubuntu 64-bit offline installer. How do I get this Ubuntu application installed and working on my Fedora-32 home workstation? I could not find any instructions for this, and the button for getting help does not work.
3 years, 4 months
a Wayland question for 2021
by David
What would it take in 2021 or beyond to bulid a distro free of X, just for
demo purposes ?
I know most applications would not work.
But what would work ? Would AMD graphics work ? Would Mutter work ?
Would you be able to log into Gnome ?
Obviously Xfce and LXDE and LXQt would not work, and I guess Mate, nor
Cinnamon, nor Budgie, would work.
When will Fedora offer such a version ?
I assume in 2030 ?? I doubt I will be above the green grass by then.
David Locklear
3 years, 5 months
xwayland error
by Patrick Dupre
Hello,
When I try to connect to my machine by using dwservice, I get
Error: xWayland is not supported.
Thus, I edited
/etc/gdm/custom.conf
to uncomment
waylandEnable=false
It does not help.
Do I need to reboot?
Thanks
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
3 years, 5 months
a Newbie question
by David
If a Linux user was going to build a new desktop computer using 2020
components, for home use in January of 2021, what version of Fedora should
they use and what options or flavors or isos would one recommend ?
For example, if they installed 32, but with community "Respin" build.
I am assuming the answer is Version 33, but which iso ? Workstation ?
I was thinking of trying the latest "Respin"
F33-WORK-x86_64-LIVE-20201201.iso
David Locklear
3 years, 5 months
Re: btrfs swapfile - Not enough swap space for hibernation.
by Sreyan Chakravarty
On Fri, Dec 11, 2020 at 12:32 AM Chris Murphy <lists(a)colorremedies.com> wrote:
>
> If the journal doesn't have more information about why it says this,
> and if the error is reported in the journal by systemd-logind, enable
> debug logging for logind and reproduce and the try to figure out why
> logind is complaining:
>
> https://github.com/systemd/systemd/issues/15354#issuecomment-610385478
>
Yes.
I have finally found out the reason why logind is complaining, thanks to you.
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Failed to
open swap file /var/swap/fedora.swap to determine on-disk offset:
Permission denied
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Sent
message type=method_return sender=n/a destination=:1.57 path=n/a
interface=n/a member=n/a cookie=130 reply_cookie=49 signature=s
error-name=n/a error-message=n/a
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Got message
type=method_call sender=:1.57 destination=org.freedesktop.login1
path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager
member=CanHybridSleep cookie=50 reply_cookie=0 signature=n/a
error-name=n/a error-message=n/a
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: Sleep mode
"disk" is supported by the kernel.
Dec 11 18:45:05 localhost.HPNotebook systemd-logind[1222]: /dev/zram0:
ignoring zram swap
My permissions are as follows:
Permissions of /var/swap directory:
drwxr-xr-x. 1 root root 22 Dec 11 15:06 swap
Permissions of the actual swap file:
-rw-------. 1 root root 9663676416 Dec 11 15:09 fedora.swap
Permissions of the swap subvolume:
drwxr-xr-x. 1 root root 22 Dec 11 15:06 swap
Mount options:
UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 /var/swap
btrfs subvol=swap,rw,noattime,nosuid,x-systemd.device-timeout=0 0
0
/var/swap/fedora.swap none swap
defaults,x-systemd.requires-mounts-for=/var/swap 0 2
Output of /proc/swaps:
Filename Type Size Used Priority
/dev/zram0 partition 4020220 0 100
/var/swap/fedora.swap file 9437180 0 -2
The only reason I can fathom is that systemd-logind is unable to
access the directory /var/swap. IIRC, you were the one who suggested I
mount in that directory.
Not blaming you, but the question is what do I do now ?
The bug that you have linked to is about /home not /var.
So where should I keep the swap for logind to access it without any problems ?
> There is a possibility there isn't enough contiguous space in the
> swapfile for the hibernation image. i.e. when you fallocate the
> swapfile, it may be comprised of one or even dozens of separate
> extents and if one of them isn't big enough for hibernation entry then
> it'll always fail.
>
> As far as I'm aware there isn't a way to ask fallocate for a minimum
> extent size. I've sometimes had to fallocate multiple files in a row
> to get a swapfile with few fragments and then delete the rest.
>
I don't think that is possible since the file was created with dd, not
fallocate.
Also the +C attribute was used.
> OK you're confused. You do not need both chattr +C on the file and the
> nodatacow option. You only need one of those. You should realize that
> the nodatacow option applies file system wide. It's non-obvious but
> really only the VFS mount options can apply separately to bind mounts.
> And on Fedora, since subvolumes are mounted to specific mounts points
> and are thus effectively bind mounts behind the scenes, it seems like
> you can apply some mount options to specific subvolumes as if they are
> separate file systems. But that's not what's going on, they're just
> bind mounts. So you can do atime for one mount point, noatime for
> another. And same for ro or rw. Those are VFS options. The Btrfs mount
> options apply file system wide, that includes nodatacow, compress, and
> so on.
>
> Further problem now that you're using nodatacow is that you have a
> bunch of nodatacow files that have been created in the meantime. And
> those do *not* have chattr +C so you have no easy way to find them.
> You'd have to parse 'btrfs inspect-internal dump-tree' for the
> nodatacow flag.
>
> nodatacow files are also no compression and no data checksums. So I'm
> betting this is not what you want.
Yes, I have removed the nodatacow option from my mount in fstab as it
clearly had no effect.
I am now using the +C attribute.
--
Regards,
Sreyan Chakravarty
3 years, 5 months
Re: btrfs swapfile - Not enough swap space for hibernation.
by Sreyan Chakravarty
On Fri, Dec 11, 2020 at 12:32 AM Chris Murphy <lists(a)colorremedies.com> wrote:
>
> If the journal doesn't have more information about why it says this,
> and if the error is reported in the journal by systemd-logind, enable
> debug logging for logind and reproduce and the try to figure out why
> logind is complaining:
>
> https://github.com/systemd/systemd/issues/15354#issuecomment-610385478
>
> There is a possibility there isn't enough contiguous space in the
> swapfile for the hibernation image. i.e. when you fallocate the
> swapfile, it may be comprised of one or even dozens of separate
> extents and if one of them isn't big enough for hibernation entry then
> it'll always fail.
>
> As far as I'm aware there isn't a way to ask fallocate for a minimum
> extent size. I've sometimes had to fallocate multiple files in a row
> to get a swapfile with few fragments and then delete the rest.
>
> You can use filefrag -v to see the extent sizes. Those extents are
> basically holes that swap code writes into. The swap code isn't
> writing swap or hibernation images via Btrfs. It's just asking Btrfs
> "what are the ranges and locations I can use" and Btrfs reports that
> and then the swap and hibernation code use those areas directly.
>
>
> > $ lsattr /var/swap/fedora.swap
> > ---------------C---- /var/swap/fedora.swap
>
> > UUID=7d9dbe1b-dea6-4141-807b-026325123ad8 /var/swap
> > btrfs subvol=swap,rw,nodatacow,noattime,nosuid,x-systemd.device-timeout=0
>
> OK you're confused. You do not need both chattr +C on the file and the
> nodatacow option. You only need one of those. You should realize that
> the nodatacow option applies file system wide. It's non-obvious but
> really only the VFS mount options can apply separately to bind mounts.
> And on Fedora, since subvolumes are mounted to specific mounts points
> and are thus effectively bind mounts behind the scenes, it seems like
> you can apply some mount options to specific subvolumes as if they are
> separate file systems. But that's not what's going on, they're just
> bind mounts. So you can do atime for one mount point, noatime for
> another. And same for ro or rw. Those are VFS options. The Btrfs mount
> options apply file system wide, that includes nodatacow, compress, and
> so on.
>
> Further problem now that you're using nodatacow is that you have a
> bunch of nodatacow files that have been created in the meantime. And
> those do *not* have chattr +C so you have no easy way to find them.
> You'd have to parse 'btrfs inspect-internal dump-tree' for the
> nodatacow flag.
>
> nodatacow files are also no compression and no data checksums. So I'm
> betting this is not what you want.
>
It's a SELinux error. Are there any SELinux experts here ?
I ran the command:
$ sudo ausearch -m AVC,USER_AVC,SELINUX_ERR -ts recent
and got the error:
time->Fri Dec 11 20:19:20 2020
type=AVC msg=audit(1607698160.378:357): avc: denied { search } for
pid=1362 comm="systemd-logind" name="swap" dev="dm-0" ino=256
scontext=system_u:system_r:systemd_logind_t:s0
tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir permissive=0
If I run the command:
$ /sbin/restorecon /var/swap/fedora.swap
I get the following error:
time->Fri Dec 11 19:59:56 2020
type=AVC msg=audit(1607696996.854:323): avc: denied { read } for
pid=2523 comm="systemd-sleep" name="fedora.swap" dev="dm-0" ino=257
scontext=system_u:system_r:init_t:s0
tcontext=unconfined_u:object_r:var_t:s0 tclass=file permissive=0
My current SELinux label is :
unconfined_u:object_r:swapfile_t:s0 /var/swap/fedora.swap
When I run "/sbin/restorecon", the label changes to :
unconfined_u:object_r:var_t:s0 /var/swap/fedora.swap
IIRC, the correct label is etc_runtime or something like that.
Can any SELinux expert help me ?
--
Regards,
Sreyan Chakravarty
3 years, 5 months
kernels from rawhide - how to make the them usable to ABRT?
by lejeczek
Hi guys,
I use "rawhide" repo to grab only the kernel, simply like:
$ dnf update kernel\* --enablerepo rawhide -y --nogpgcheck
On my Lenovo ThinkPad E14 Gen2 I get my ABRT often report
"Unexpected system error" but always with:
"The backtrace does not contain enough meaningful function
frames to be reported. It is annoying but it does not
necessarily signalize a problem with your computer. ABRT
will not allow you to create a report in a bug tracking
system but you can contact kernel maintainers via e-mail."
What I wonder of is - how to make it work. How to have both
Rawhide's kernel + ABRT to debug & report as it normally
should - would you know?
Am I missing something in terms of packages, config, etc?
many thanks, L.
3 years, 5 months
no mail from users/test lists since about 5 days
by AV
Still not working. I contacted my ISP Ziggo but as I expected
they are not really helpful. If the problem is related to
their mail setup then I suspect I will only get action if I
can specify the actual problem (and possibly a solution).
Two things I could investigate are:
1) are my data given when joining the mailing lists still
correct. But I don't know where these are accessible.
Can somebody tell me where to find it.
2) is the problem in some way related to dns servers and/or
the way dns is handled in fedora?
Can somebody tell me where the sign up data for the Fedora
mailing lists is stored.
Please reply to volovics(a)ziggo.nl and NOT to the list.
AV
3 years, 5 months