Borax Mans Pad
  • About
  • Blog
  • Articles
  • Levels
  • My Computing Setup
  • Programs
  • Links

Fvwm YouTube Downloader

FvwmScript-YouTube
FvwmScript YouTube

This is a front end to YouTube Fuzzy Search Finder, so you will need that installed, as well as dmenu, xsel, mpv and youtube-dl. Usually, when I want to listen to a YouTube podcast, I download the audio only, then play the audio in audacious. Instead of copying/pasting the URL into a terminal, invoking youtube-dl with the correct parameters, this script does it all for me simply by calling it with a key-binding with the URL selected in the browser. Just select the URL, bring up the form, click “Audio only” and click “Download”, and your YouTube podcast will be downloaded to an opus file.

You can also simply enter some search terms into the form, and you’ll get a menu of search results where you can select a video to play using MPV. Now you can search and play YouTube videos without a browser! But more than this, when the script is started, it will populate the URL field with the X primary selection, and also allow you to download it, either full video, or audio only, using youtube-dl. You can also put the URL of the video you searched for here.

To get this to work, just save the file linked below to somewhere where Fvwm can find it. Usually your .fvwm directory ( ~/.fvwm) will do. Then just invoke it with FvwmScript FvwmScript-YouTube

I set a key combination to start the script, Windows Key + Y.

Key Y A 4 FvwmScript FvwmScript-YouTube

Download Fvwm YouTube script

Back to Home


© Dennis Katsonis 2025

GitGud