This is a useful tool and tutorial if you, for example, make a video on Youtube and then want to publish the audio quickly on Soundcloud (or somewhere else).
If you aren’t already running Ubuntu on your computer this will be a couple of steps more difficult for you but well worth the effort.
Step 1: Get Ubuntu on your computer
If you don’t know what this, look it up and get it done. Apple and Microsoft are so restrictive, un-secure, and 1990….
Step 2: Open a terminal
If you don’t know what this is, go look that up too.
Step 3: Install Youtube-dl tool with Terminal
Make sure the youtube-dl app thing is installed on your machine by pasting this into your terminal. Note, you cannot just ‘control c/control-v’ into a terminal but you need to hold down both control *and shift* before pressing V to paste… ready? Ok, control C this into your computers clipboard:
sudo apt install youtube-dl
Now press enter in Terminal.
This will complete the installation of the tool. Say ‘yes’ if it asks you to do anything since it’s just hard to argue these days…
Step 4: Copy the ‘magic line’ into your clipboard
We say ‘magic’ in technology when we’re doing something that is harder than sending an email.
Copy this ‘magic line’ of whatever to your computer with control C
youtube-dl –extract-audio –audio-format mp3
Step 5: Paste the ‘magic line’ into your Terminal
Paste the ‘magic line’ into your terminal taking note of my notes in Step 3… pay special attention that there is only one trailing space and no other stuff after the ‘3’ in mp3. You are going to paste a URL here from the video in the next step so extra garbage before or after the ‘magic line’ could mess it up.
Step 6: Copy Video URL from Youtube to clipboard
Using the ‘share’ link from the Youtube video (I find this works better than the main video URL…) copy the URL to the computer clipboard.
Step 7: Paste video URL to Terminal
Paste the video URL at the end of the magic line in your terminal using again my notes from Step 3.
Step 8: Press ‘enter’ in Terminal and get some popcorn
Press ‘enter’ on your keyboard. The thing should run and it will be dumping the mp3 audio into your ‘home’ folder on your computer. It takes a bit of time for this step so let it go and have a coffee
Boom. A nice MP3 of your video.
Thanks to all the folks who made the youtube-dl tool!
Thanks to all the efforts of the free software community who make all of this possible.
Extra note: If, for some reason everything looks like it was running fine and you can’t find your new MP3 file in the Home directory, it’s possible the defaults were changed by you or something else and the Terminal downloaded the video somewhere else. Do a system wide search for your file and you’ll probably find it somewhere. This happened to me a few times 🙁
It’s quite funny how easy this was but how long it took me to figure this out so I just thought I’d throw this online in case anyone is as dumb as me.
Hopefully it helps someone and if it does, don’t tell anyone. 😉
Within Nautilus (your file browser) click the 4 square icon thing
Then, slide the left-right dial thing (don’t worry about what is selected in the radio dial)
Yes. It was really that easy…
Unlike previous blog posts, I’m going to start this one with two exciting tables to get you thinking. In the first table, I increased freedom and in the second table, I decreased it so that we could look at the effect, if any, on other items. Sorry, they are just image screenshots:
Someone sent me over this article written by Mark Shuttleworth, chief of Canonical – the company behind Ubuntu.
Usually, Mr. Shuttleworth writes with excitement, hope, positivity and other such forward-moving adjectives. Unlike pretty much anything else I have read written by him, this article sounded more like a dad who was forced by his disobedient kids to lay down the hard law. Just the tone alone being so different from his usual, caught my attention.
It appears that some unnamed European corporation has taken the Ubuntu code (written for free by many coders and volunteers around the world and maintained by the for-profit company Canonical at their heavy cost of time and money), done a few ‘things’ to it, and published it as ‘their own’. For full disclosure, I haven’t done any of my own research like looking at the notice of claims against them. However, what I’m picking up from the article is that the soon-to-be defendantscontributed little or nothing to the base code that made ubuntu what it is today
- invested little or no money to the ubuntu project
- decreased the quality of the user experience
- harmed the Ubuntu name
- harmed Canonical by means of all of the above
If this is true, it should not be difficult to prove monetary damages for Canonical plus I’m guessing there will be a lot of angry programmers out there who would rally beside Mr. Shuttleworth for screwing up all their volunteer work.
From a bird’s eye view it seems like a suitable analogy for this behaviour would be something like this:
Imagine a grade 5 teacher creating a cool project where the students build a gizmo that’s valuable to the world – let’s say it creates clean drinking water out of thin air. Next thing you know, all the parents and grandparents are excited about the project and start volunteering their time to help build it and make it better. Next thing you know, a company (let’s call them Company A) picks up on the project and realizes that they can help improve the project by funding certain parts plus they can make some money as well because some industries will want an industrial version of these water-makers which is out of the scope of these volunteers time/money to build or support. So Company A starts investing time and money and builds a business around it while continuing to support the kids’ gizmo proliferation around the world. Out of nowhere, Company B, which has not participated in the project at all, shows up, takes the plans that all these volunteers made and improved on over the years at the cost of their time (and at Company A’s expense, too), and starts making their own industrial water-makers. They slap their own brand on it, change one or two small things and start making money. Then problems start happening. They don’t have a volunteer base of countless thousands who can jump in to improve or fix things when they go wrong, so this makes sense. Company B then routes all the problems of their customers to Company A saying “they have support over there, I think…”
I’m guessing that there would be lots of angry kids and grandparents and most people would agree to take action to stop Company B.
The question of this soon-to-be lawsuit will probably hinge entirely on the licensing of the software. Has this European company violated any software license agreements including the free software licenses of Ubuntu? What exactly did they change? Are they guilty of changing the code or are they guilty of not supporting the code? It will be interesting to read the claim, for sure (if you like reading litigation documents)
This also got me thinking about correlation between freedom and regulation. I know that one of the main reasons why myself and others moved to Ubuntu was for the freedom. We didn’t want to be told by bullies like Apple or Microsoft how we are going to be using our hardware and who will be accessing our private information. I started thinking about un-related industries and correlations between different things when you increase or decrease freedom. I thought it would be timely to share the quick charts that I built.
(review charts above again)
As you can see from the charts, it was an interesting exercise. It seems that in most cases clear changes occur in most columns – except one. I could not determine in any instance that quality increased or decreased with the increase *or decrease* of freedom. At a glance you might quickly disagree with my conclusions, but allow me to explain them.
Drinking water: Although you may increase regulation and decrease freedom to do what you want with your drinking water, it is debatable that the government controlled waters with chlorine, fluoride, and who knows what, is better for you that this or that in a free stream of water. The long term jury is still out on this one.
Voting: To clarify I am referring simply to the freedom to vote and having a regulatory system to govern the actual elections and voting procedure. By regulating or not, does it really help improve the final product (the person you are voting for)? Point proven in recent elections in big North American country…
Guns: Perhaps you could say the quality of the actual physical gun might improve with regulation…. I don’t know enough on the topic, but it would seem to me that a nice old man building a gun in his shop could do just as well as a heavily-regulated gun factory.
Religions beliefs: the ‘negative event’ here would be something like a mass suicide with a cult. The Catholic church is heavily regulated, but is the quality of faith and the fruit of believers higher?
Marriage: I was thinking here free-love marriages versus arranged marriages. Although one might think that by choosing your spouse, instead of your parents choosing him/her might yield a higher-quality spouse/match, I believe the jury is still out on this. Look at the divorces in ‘love marriages’, for example.
So when it’s all said and done the only category where I felt freedom had a measurable impact on quality was in the realm of computer code. No one will deny that the fruity computer company typically has typically stable software which works on stable hardware. But on the other hand, very few of its users, when asked, deny that they feel stifled, controlled and possibly even spied on – if not totally ‘stuck’.
And so there seems to be a much more pronounced correlation between freedom and quality in the world of code.
And that also is why this will be a very interesting legal case to follow. Will Shuttleworth be tempted to pull in some of the freedoms of the Ubuntu code base in order to maintain the quality that Ubuntu deserves? Will a task force of lawyers be commissioned to seek and attack low quality Ubuntu publishers much like how a big proprietary corporation might do?
Until now Ubuntu has wowed the world with its ability to stay both free and yet maintain an incredibly high quality final product which I can boldly say is the same and better than competing proprietary systems in every category. The proof of this quality has been in the pudding with fast world-wide growth with more and more everyday users converting 100% to ubuntu and also in the realm of innovation (look it all up yourself because I don’t even know where to begin!).
On the one hand I’m completely in agreement that selfish individuals and corporations should be stopped in their tracks and made to pay for damaging others. On the other hand, I’m also keenly aware that the freedom of the Ubuntu code must remain of higher importance overall.
I find myself favouring the ‘whatever-it-takes-to-make-sure-ubuntu-comes-out-the-winner’ side but I will remain full open to all sides of this story.
Thinking of buying the next iphone?
Make sure you review this important video to make sure it’s the right fit for you.
If you find it’s not, be sure to research the Ubuntu phone which is built on a totally different philosophy.
Really? Nothing to write about?
Is that possible in Ubuntu?
I could understand having nothing to write about in Apple, in Google or in Microsoft because you can only talk about what they let you talk about.
Perhaps in Apple you could write about your frustrations about how you own the only phone that can’t use a friend’s mini usb charger. Perhaps you could write about how you feel enslaved and want to break free and have something truly smart in your pocket. But after that there is absolutely nothing left to write about with Apple. It’s just a thing. It’s just electronic ‘stuff’ like a watch or a necklace or a running shoe (with batteries).
In Google perhaps you could write about how you know someone is watching you and you know you are being tracked and compromised for the free email you agreed to sign up for and that you are scared and don’t know what to do. But once that article is over, there’s nothing more to write about. It’s just spying and you aren’t willing to close your bedroom window curtains to stop it.
But in Ubuntu having nothing to write about is actually impossible unless you – personally – have lost the vision or, worse, never had it in the first place.
I didn’t come to Ubuntu because it worked better, looked better or could toast my bread with the usb device (although that would actually be pretty awesome – and go figure it already exists!). No, I came to ubuntu because it absolutely BLEW MY MIND (that’s the first time I’ve blogged italics and underline together like that I think) that a group of people could get together on a project and end up putting out something that TRUMPED (under-talicked again!) the above mentioned monopolists in both vision, potential, and freedom.
It was night versus day.
And it was exciting!
That was seven years ago and my excitement towards the project has only skyrocketed in the last year with Ubuntu in my pocket and convergence on the horizon.
Nothing to write about??? You should change the blog to WTFubuntu…
How about write about freedom and future?
How about write about revolution?
And if that isn’t exciting enough to fixate upon, you could publish testimonies of people who have been impacted by Ubuntu or who have impacted others.
I’m not trying to say you haven’t done some good informative stuff, because you have, but if you can’t find something to write about, please don’t publish something that makes it sound as if there is nothing to write about!
Maybe this is your problem. You wrote this:
Get In Touch (Seriously, We Love It)
Whether you’ve made an app, theme or nifty little script you’d like the world to know about, or have stumbled upon some fresh news you think we really ought to mention (and that hasn’t been covered to death elsewhere) please do get in touch.
1. Is an app newsworthy? Maybe if you are searching for one, but I’m not sure this is what stirs the hearts of the people and draws them to Ubuntu.
2. Is a theme or a script newsworthy? Not to 97% of the people I know. So how about not asking them for this nor publishing it moving forward? That will drive up interest in your blog by pure statistics.
3. If you angle something correctly you should be able to cover news from elsewhere *better* than others because you can publish about it from an Ubuntu perspective. To say you don’t want to cover news because someone else did makes me wonder about your passion as a writer.
But here is the bottom line. Perhaps the stuff you are writing about is not OMG at all. Perhaps you could start writing about bigger picture things. Not only would your own imagination run wild but you could use your great forum as a place to inspire the minds of people who are pretty darn uninspired out there.
Let us move forward inspiring the world with Ubuntu shall we?
Nice computer. Usually works awesome. Just this one little bug every time I re-install the OS or upgrade it seems. Easy to fix but I always forget how to do it so here it is for everyone else who might be having issue. Might also solve all your other Intel brightness button issues so give it a shot! This also seems to work for 14.04 and maybe even 13.04 and before…
Read the whole blog article first, if you want, but just doing this worked for me:
Command in terminal:
sudo gedit /usr/share/X11/xorg.conf.d/20-intel.conf
Then paste all this stuff in and save it.
Section "Device" Identifier "card0" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI:0:2:0" EndSection
Then log out and back in again and my buttons were working.
EDIT: Sorry, I had one weird ‘-yes’ stuck in that first command a while back but have fixed it and this tutorial works again with copy/paste of commands. Sorry for any inconvenience.
I’ll admit I should probably upgrade my printer but… it’s still alive so I won’t. Problem is that now it’s getting harder to install on Ubuntu. Hopefully this will help someone who is havin similar issues. For me it looked like it was installed and working on 16.04 but it wouldn’t print so I reverted to command line because the HPLIP Toolbox seems to no longer be there in the Software Center…
1 Install the HP LIP Thing with GUI with this command in terminal
sudo apt-get install python-qt4 hplip-gui
2 Run the tool with this command:
3 Next, next, next, next, next, I agree, next….
4 Name your printer in ‘Description’5 Save, send test page (if you want), etc.
5 Save, send test page (if you want), etc.
Hope that helps!
Someone I know sent me this positive article about the ubuntu phone. I read it and it was nice, and probably one of the best ‘tech-focused’ articles, but as a few friends and I discussed after reading it, it’s missing some of the most important reasons why one would switch. Here are my list of reasons why one should switch:
1. Being Part of Something Meaningful
Apple sucked in a lot of victims by making their customers think they were either cool or part of something cool. They paid heavily for that entrance fee in both privacy and dollars left in the bank (and other ways). You may have noticed how important technology is in our lives, so with the Ubuntu project you can change the world by participating. You become part of a community that cares.
2. Being Somewhere Where Your Voice Matters
Have you ever rolled your eyes (or worse) at how your smart phone is really quite dumb? Have you ever wondered “how could they do this? How did they let this happen?” Then, unbelievably, the same horrible ‘feature’ is still there years later? With the Ubuntu project, the programmers and people who change stuff are *you*! Let that sink in for a bit. That’s right, you can literally be a huge part of changing Ubuntu to better match your life and needs and the life and needs of those around you. Ubuntu cares what you think.
3. Living Free
Ever felt sick and tired about how you know the ‘big boys’ are spying on you, stealing your information, and watching everything you do? Ever felt helpless and that there is nothing you can do about it because there are ‘no other choices’? Good news. You now have a choice. Ubuntu. Ubuntu frees the captives and like Moses it ‘let the people go’.
4. Being Future Proof
Ever noticed how the ‘big boyz’ (including their strategic business relationships with the big telecoms) somehow manage to make your perfectly good phone ‘out dated’? Ever thought that you’d like to buy a device that is more future proof? Ubuntu is the only choice if you want to be future proof with ‘convergence‘.
5. Nice Pillars!
Randall Ross wrote a little article that doesn’t get enough circulation. This really sums up why Ubuntu has a nice set of pillars!
Congrats! So you figured out the 20 steps to getting owncloud-sync on your ubuntu phone. The problem is … now what? How do you make it work? It took a bit of goofing around but here is what I figured out:
- Do my tutorial (if it’s not in the software center when you read this) HERE
- Go to ‘system settings’
- go to ‘accounts’
- then add an account and select ‘owncloud’ from the list. It will prompt you for your credentials so fill them in.
Now you have an owncloud (nextcloud works fine with it) account meshed into your phone. Now you can actually start doing useful things. The most exciting part, of course, is syncing calendars!
- go to calendar icon
- click that grid calendar icon in the top right area – the left most of the three
- add online calendar
- again you will be prompted for your credentials again. enter them
- done. you’ll see a ‘sync in progress’ kind of notifier and boom. works.
Now you want to sync up files from your phone to your cloud. Unfortunately the app does not yet, at the point of this post, have a ‘share to cloud’ option which is too bad. I’m sure the feature is on the way as you read this. For now, however, what you have to do is this:
- in file manager, create a dedicated ‘sync’ folder on your local phone. you could use the folders that are already there, but in my case I needed to have a folder that did *not* sync my personal photos to my work cloud! So I made a folder called ‘work-uploads’ on my phone
- open the owncloud app and in account settings choose your sync frequency. I chose 15 minutes. I left the ‘sync on mobile data’ off because I don’t want a few gigs syncing with my mobile data..
- go back then go to sync folders. for the local folder, select the one you made in step 2 above. You can also create the folder at this point by pressing the + icon, or you could select one. If you select be sure to press the check mark in the *top right*. Not sure why but the check mark in the center confuses me…
- back out then in the ‘sync service’ make sure there is a file in your local folder that you made in step 2 and then press ‘sync’. It should tell you that the sync has started.
Honestly, mine is not syncing but I bet it should be. haha It’s definitely connecting to the cloud because I could choose the folders no problem and see all of them on my cloud. But the files aren’t moving from my phone to the cloud now so hopefully it will work for you while I figure this out.
I think you have to follow these steps in order and not use the owncloud sync app before you add the stuff in system settings but not sure…
- because i created the folders on the phone it requires root (sudo) somehow to sync. I noticed that I cannot see the folders I created in step 2 above in the regular file manager of phone… maybe this permission issue is restricting sync
- I did something in the wrong order… calendar is working perfectly though! weird.
To test, I went in from my laptop to the web GUI of Nextcloud to see if the file made it. No go. Did not. Then I put a small file in the same directory from my laptop and sure enough the file made it to the cloud. So the issue is definitely on the phone side… hmm… more for tomorrow..