Score:1

launch YouTube from the command line

in flag

is there a way to launch YouTube from the command line? I'd like to set a keyboard shortcut.

thanks so much! Origen

24601 avatar
in flag
yes [see here](https://unix.stackexchange.com/a/160221/345853) I use youtube-dl in terminal for downloading videos from youtube and other sources and it works well.
Score:1
es flag

Depending on what exactly you want, it can be as simple as

xdg-open https://www.youtube.com

which will start your default web browser with that URL; or open a new tab in a browser instance that is already open.

vanadium avatar
cn flag
The user wants to open Youtube from a shortcut key, so this is definitely the good and best answer.
Origen Adamantine avatar
in flag
Terrific - that's what I was looking for! Thanks so much!
HuHa avatar
es flag
Then please don't forget to mark it as the accepted answer. ;-)
Score:1
us flag

You can install Freetube, a privacy friendly youtube client, and launch it with the command freetube.

Alternatively, you can open YouTube with Firefox, with the command

firefox https://youtube.com

For assigning keyboard shortcuts to a command, see this webpage.

Origen Adamantine avatar
in flag
Terrific - that's what I was looking for! Thanks so much!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.