Upload videos to YouTube from context menu

In this tutorial we’ll look at uploading videos to YouTube from the Ubuntu context menu. This will make adding any video to YouTube a right-click away.

For this script you’ll need xclip, youtube-upload and Nautilus Actions.

Screenshot from 2016-04-09 17-31-14

First we create a new Action titled “Upload to Youtube”

 

 

 

Screenshot from 2016-04-09 17-31-36

Next we point our action to the script we want it to run. In this case its a shell script called “youtube-upload.sh”

 

Screenshot from 2016-04-09 17-31-47

Finally we tell the Action to run in a terminal so we can enter some basic information about our video before uploading.

 

Here is the script we are using to call youtube-upload

https://gist.github.com/kevinchappell/ee074e114b59b1003e929077a0955a49

See it in action!

https://www.youtube.com/watch?v=DDQbhiSMLyE