Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I'm new to Linux >so new I'm still mostly on windows
I'm quite sure that Linux can do everything and more than windows, but finding out how to grab the reins is a bit of a learning curve so far..
Anyway, here's the story..
With windows I've been using FreeDownloadManager (and video.google) to download youtube videos while on dialup, it's a really great program >it downloads lists of videos and then converts them from .flv to .avi or .mpg, and it'll hang up the phone and switch off the computer when it's finnished.. great for while I sleep and no-one needs the phone
ffmpeg can transcode most .flv videos downloaded from youtube, but not all - some seem to have a format ffmpeg can't understand.
The program poweroff can be used to shut down the system. If that doesn't exist, the command shutdown -P now will do the same thing.
Depending on how your dialup system is set up you will be able to hang up from a script too.
It is possible to combine all these into a script which will receive a list of youtube URLs to download and when it is done, poweroff your system.
There are some things to be careful of... the poweroff program needs root privileges to run, but you probably shouldn't run yourtube-dl and ffmpeg as root... To make it possible to automate the poweroff without running the whole script as root, you should set up sudo so your user can call poweroff with sudo without having to enter a password.
Once this is done, you can construct a script to process a list of URLs and shut down the machine when done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.