[–] 4 points 10 months ago

yt-dlp video_url if the site is supported by yt-dlp.

If the site is not supported, F12 only works sometimes. Many sites use some form of encryption or obfuscation to try to prevent you from downloading.

I've had good luck with Xtreme download manager. It's FOSS, and has a browser extension that automatically detects videos and gives you the option to download them.

  • source
  • [–] 6 points 10 months ago*

    ind the address of the video that’s currently displayed on the page (to download with wget or yt-dlp)

    I think that what you're wanting to actually do isn't use the Firefox developer console, but rather the list of media.

    Click on the lock icon in the URL bar. Under that, choose "Connection secure". Under that, "More information". Click on the "media" tab. You'll have a list to the URL of the videos on the page.

    For many sites, though, you can just feed the address of the page, not the video embedded in the page, to yt-dlp and it'll go looking and can find the video itself.

    EDIT: If you're new to yt-dlp and your URL has characters that bash interprets specially, like "&" or something, be sure to put quotes around the URL to avoid that.

    E.g.:

    https://www.youtube.com/watch?v=WOUY5H6b6N0&t=30s
    

    Should be:

    $ yt-dlp 'https://www.youtube.com/watch?v=WOUY5H6b6N0&t=30s'
    
  • source
  • @fort_burp Check the network panel, not elements. There you should be able to filter for media.Make sure to have it open befote loading the page.Also note that some pages might use video files like mp4, some might use playlists, others might use DRM which is not supported by yt-dlp anyway.Also yt-dlp might work just by using the website URL, it will auto fetch the video from the page.

  • source
  • [–] 2 points 10 months ago

    You're welcome!

    Trixie won't be much different though it's better to use something as lightweight as possible because of the HDD. However you can still use something with Wayland unless its CPU or GPU is too old. antiX is Debian based but it uses X11, at least it was like that last time I used. It's really great if the PC is too old.

    I think you can even install KDE with Debian Trixie. If Wayland would be problematic (probably won't) you can still use X11 with it. At least until its next big release which they will drop X11 support entirely.

  • source
  • parent
  • context
  • [–] [S] 2 points 10 months ago (1 child)

    Awesome thank you! I will try trixie first, this thing has an HDD and i liked how responsive it was with the bookworm live environment.

    First I'm hearing about antix! i just checked out their site and I'll definitely try a live usb of antix as well.

    Thanks, that really helps.

  • source
  • parent
  • context
  • [–] 2 points 10 months ago (2 children)

    While it depends on how old the older computer, I recently installed LMDE 7 on a PC from 2011 and it runs fine. If that PC has an SSD, it should be fine for your needs.

    LMDE is Linux Mint Debian Edition, it's basically Debian with Mint coat of paint. Also, Bookworm is old now, you should install Trixie if you want Debian, which is the latest stable version.

    It actually has a graphical installation now, so you can install Debian and choose a lightweight DE inside installation. For example LXQT is quite lightweight. XFCE is also fine, though is heavier than this. By the way, I use KDE on a laptop from 2011 and it runs great. You just need an SSD.

    If the PC is too old, there is a distro called antiX Linux. I don't know how it is nowadays but it's one of the fastest and easiest distros you can find IMO.

  • source
  • parent
  • context
  • [–] [S] 1 point 10 months ago (3 children)

    I'm interested in lightweight distros also for a different, older computer.

    I tried puppy and like it but am doing something wrong with full installation.

    Is there a more failsafe method than bookworm to install a puppy linux?

    For dumdum noobs?

    I found bookworm full installation a little confusing.

  • source
  • parent
  • context
  • [–] 10 points 10 months ago (8 children)

    You probably installed GNOME on first laptop but didn't notice (or it came ad a dependency with something else). However, you only need Wayland to run Waydroid, so any DE or WM that made for Wayland should work. On the other hand, Cinnamon is still on X11. You cannot run Waydroid on X11, hence the black screen.

    Cinnamon can run on Wayland but it's still experimental. You can install any Wayland DE of your choice, not just "Ubuntu DE", which is kind of heavier than others, but it's fine if you want that.

  • source
  • [–] 1 point 11 months ago* (1 child)

    force a game to use a limited number of cores

    Afaiu this can be done by setting cpu affinity, with tools that are already in the system. Will have to make a wrapper script or somesuch, though, so perhaps a program doing that for the user is indeed easier.

  • source
  • parent
  • context
  • [–] 1 point 11 months ago

    Disclaimer: I don't play 3D games on a laptop.

    For a desktop, normally, I'd set fan curves for the CPU in the BIOS. You can do that sort of thing at the OS level using fancontrol or a few similar programs that have a daemon that monitors various sensors and then adjust fan speed, but normally I'd say that it's better to have the BIOS do it so that an OS bug or something can't cause your fans to not respond.

    I don't have a discrete GPU in my laptop, but for desktops, Nvidia GPUs have their own onboard fans. I use AMD hardware, but I believe that nvidia-smi can set power profiles for the stuff there. That's the command-line utility; might be various graphical front-ends.

  • source
  • [–] 2 points 11 months ago* (last edited 11 months ago) (2 children)

    You might want to look at LACT or CoolerControl? I don't use Debian, but if either of those is available in a form you can use, they should allow you to change fan speeds, power draw, voltage, etc. Or gamemoded can be used to force a game to use a limited number of cores, which can help reduce heat generation.

  • source
  • parent
  • context
  • [–] 2 points 11 months ago (1 child)

    Are those temperatures a problem? If it's consistently hitting and staying at those temps, perhaps the hardware is controlling temperature as planned.

    I have a new AMD build and the 7800X3D seems quite happy in the high 80s, which long compiles cause it to be at frequently.

  • source
  • view more: ‹ prev next ›