I came across a wonderful video of a guided meditation by Tenzin Wangyal Rinpoche. He has posted online a large collection of video recordings his teachings and guided meditations. But I wanted to figure out how convert the Ustream video for listen to on my mp3 player later offline. It also means the meditation won’t be frequently interrupted by the advertisements.
But first I needed to figure out how to download it! It turns out it’s easy to do using the terminal in Ubuntu. It’s like a super jackknife that can do pretty much anything. People recommended using a URL sniffer to discover the flash video file for downloading. In Ubuntu this is very easy to do using ngrep. Here’s how:
Step 1 : open up your terminal and install it if you haven’t already:
$ sudo apt-get install ngrep
Step 2: activate the ngrep command:
$ sudo ngrep -d any '.flv' port 80
Step 3: reload/refresh the Ustream video page and then look at the ngrep output. Look through it carefully and you’ll see a section like this:
HTTP/1.1 200 OK..Date: Sat, 27 Apr 2013 56:11 GMT..Server: Apache..X-RSR C: sjc-web048..Content-Length: 112..Keep-Alive: timeout=15, max=200..Connection: Keep-Alive..Content-Type: text/html....http://vodp13.ustream.tv/0/1/1/1419/1419528/1_354487_1419528.flv ############################
There’s the video link you can download using wget or pasting in your browser!
Step 4: converting the flash video to mp3 audio:
$ ffmpeg -i 1_354487_1419528.flv -ar 22050 -ab 64k -ac 1 trancending-fear.mp3
This conversion took a few minutes. It greatly reduced the file size from 140mb to 40mb. Now I can listen to it on my mini mp3 player (Sansa Clip+) whenever I like!
If you’re the thinking type who’s always writing down notes, you might want to take a closer look at Simplenote.com. With all the little scraps of paper that have been littering my desk lately, it’s time to organize and start using less paper. My pocket notebook is nice, but after few years of that and a dozen notebooks later, and it gets hard to find stuff when you need to look it up. That’s why I like Tomboy.
Tomboy has been awesome. I have really loved using Tomboy on Ubuntu, for many years, and it works pretty well for me. Tomboy has so many virtues: a fast search bar (like gmail) which instantly finds anything I need to look up in my notes. This is key. Why note it if you can’t find it fast later when you need it. It sits in my system tray so it’s always fast to get at, so I use it often. It syncs and backs up to dropbox automatically. It works when my netbook is offline. I like it and have relied on it so much that I recommended it to my mother who also started using it. So what’s not to like about Tomboy?
I’ve found Tomboy has lacked some key features for all these years, like web access, and a full featured Android app. For a while UbuntuOne had tried syncing and providing web access, but it was always kind of flawed and then they cancelled it altogether so I just synced it using dropbox. I never bothered with Tomdroid on my android phone because the app was read only and I couldn’t write notes from my phone. I don’t think it’s asking too much in this day and age of high tech so advanced it seems like scifi. There’s just got to be something out there that can sync your notes on the cloud to your Ubuntu computer and Android phone.
Yes there are some nerdy servers for Tomboy you can program like snowy or rainy, but they seem too complex to be practical for me. I’m not trying to make my life more difficult here.
I know there’s an army of Evernote fans out there. It’s popular, feature rich and looks great. However, you only can have offline notes on android if you pay $45 a year. The feature that enables users to download notebooks to use offline is only available to premium account holders. People also complain that it’s slow to use. Pass.
Nitrotasks.com runs on Ubuntu, has a Chrome extension, syncs with Dropbox or UbuntuOne, but there’s no android app that I know of. Too bad, it looks good.
Catch.com has an android app, and a nice web interface, but sadly no native Ubuntu app. Pass.
Simplenote.com provides cloud storage and online web interface access to your notes. And there are all kinds of native apps on all kinds of devices that will sync with it: Android, iPhone/Pad, Windows, Mac and so on. There’s also extensions for Chrome and Firefox for it. Ok, now I’m interested and look further. The reviews I read say that people love it for it’s speed and simplicity:
“adored by those who pride themselves in their use of beautiful and uncomplicated software.”
~ Shawn Blanc
“Simplenote is a killer web application that does one very simple thing very, very well. That one thing? Creating, editing, and managing as many plain text notes as your heart could ever desire.”
~Adam Pash (Editor of Lifehacker)
Using nvPY on Ubuntu
nvPY is an open-source cross-platform note-taking app that syncs. It’s a clone of National Velocity (popular on Mac). It’s fast, it’s simple to use, so it’s practical and you get things done.
It syncs with simplenote.com, can be used offline, has a real time search bar (like gmail and Tomboy), hyperlinks, internote linking (like tomboy), tagging, note pinning. It also consumes very little system resources, which is great for me because both my computers getting pretty old and only have 1gb ram.
While it’s not exactly as polished as Tomboy, nvPY is working out great on my Ubuntu 12 systems. I love how I can open my netbook and fully sync all my notes with a click. I can also access and edit my notes at any other computer through the web, or on my Android phone.
For me it will likely replace Tomboy from here on in. You should check it out. Besides, it’s free (as in beer). Also, don’t be intimidated by the installation, it took less than a minute to get it set up and running. Go review the nvPY home page and the installation instructions. The hardest part is using the terminal — maybe soon there will be a .deb file or it will be added to the Ubuntu repository (hint hint)
Android has many apps to choose from that sync to simplenote.com. The one I’m trying out right now is mNotes. On Windows (or Ubuntu under wine) you can use ResophNotes and there’s even a portable edition that can be run off a USB key if you need. I don’t have an iPhone/Pad or Macbook, but there’s apps that sync with simplenote.com on those devices as well.
I do wonder how long a good thing can last. Somehow I doubt simplenote.com be around forever to sync everyone’s notes for free. There’s buyouts and bankruptcies just for starters. Maybe someday there will be an easy to set up open source server available?
Another thing worth considering however is the inherent risk of privacy. It’s still not the place to be putting your most precious private data on the cloud. (Something like KeePassX synced with dropbox seems like a better idea for that.) But I like how John Gruber puts it on his blog:
“The biggest downside to web-based syncing is the implicit lack of privacy. Your data resides on a server that someone else controls. I’m willing to accept this because the convenience is worth it, and the privacy issues with Simplenote are no different than with any web-based service.”
So dear reader (did you make it this far?!), what do you think? As always your comments are appreciated!
- The Holy Grail of Ubiquitous Plain-Text Capture
- Simplenote VS Evernote
- All You Need is Simplenote
- Syncing Simplenote with Iphone
- What’s in your Simplenote?
- Take and Sync Notes with nvPY
- Sunday Review: Simplenote
- Cult Favorite Note Taking App Notational Velocity Gets A Cross-Platform Alternative
- nvPY Is A Syncing Note-Taking App
- mNote Syncs Your Simplenote Notes with Android Phones
About a thousand years ago a great teacher named Tilopa from Bengal in India wrote a poem for his students called “Six Words of Advice”. Eventually translated into English from Tibetan, it has become a little longer than 6 words, but is just as beautiful. If you’ve ever had a bad day/week/month/year, you might enjoy reading these enduring words of advice:
Let go of what has passed.
Let go of what may come.
Let go of what is happening now.
Don’t try to figure anything out.
Don’t try to make anything happen.
Relax, right now, and rest.
Perhaps it’s the simplicity of this lesson from Tilopa that I enjoy most of all. It seems lately that it’s something I need to learn, more than ever. Increasingly I find myself preoccupied with personal problems and trying to work it all out inside. At times I find that issues at work or in marriage can be rather overwhelming. I worry about the future, and have trouble accepting when things are less than ideal. If you ever find yourself struggling to find happiness, or being overwhelmed by issues at work, in marriage or family … you’re not alone!
Every now and then I receive a comment from a reader who has landed on my blog and questions what my site is about. Today I’ll take a moment to explain the title, “Ubuntu Guru”.
First, I do not claim to be a guru. I strive to become more knowledgeable on many subjects, and regard my writing as a significant part of the learning process. I like to share knowledge, write, and teach, but I cannot claim having ‘great’ knowledge as there are so many experts out there with far greater knowledge. I have always turned to them as teachers and guides, and as such I often regard them as a ‘guru’ on the subject. Let’s examine the definition of a ‘guru’. According to the Wikipedia, a guru is:
“one who is regarded as having great knowledge, wisdom and authority in a certain area, and who uses it to guide others (teacher). Other forms of manifestation of this principle also include parents, school teachers, non-human objects (books) and even one’s own intellectual discipline”.
Ubuntu as explained in Wikipedia is both a philosophy and a computer OS named after that philosophy.
“is an ethic or humanist philosophy focusing on people’s allegiances and relations with each other.” … ”I am what I am because of who we all are.”
Ubuntu, to care about others, is a noble virtue. This is why the logo for my site shows Buddha, the enlightened one, thinking about Ubuntu. Buddha was a great teacher, truly among the greatest of all gurus.
Although I’ve most often focused on writing about Ubuntu the operating system for computers. I intend to also write about many other topics, which will hopefully extend this overall philosophy of Ubuntu and sharing wisdom with others.
Ubuntu has become so user friendly lately that it is surprising when something doesn’t work right. I have a new Ubuntu Media player system I’d set up for watching on our HD TV… you’d think I could just watch a Windows Media stream on it…. but noooo. The system for my media player is a HP Compaq P4HT running 10.04 Lucid. I got it to work in the end, and I’ll tell you how I did it. Here’s the story:
Today I was watching the Egyptian crisis unfold on live Aljazeera video stream (which is almost HD quality). After I tried looking to see what was the headlines on Skynews in Firefox, but it responded with “Search for suitable plugin? The required software to play this file is not installed.” When I click search, it looks but responds with “No packages with the requested plugins found” when searching for codecs to play back Windows Media 9 stream. This is surprising because I have the “ the ubuntu-restricted-extras package” already installed. VLC will play the stream outside of Firefox so something is reading the file. So how do I get the stream to play within Firefox which uses the Totem Browser Plugin 2.30.2?
Here’s what I tried. There was an informative thread here on the ubuntu forums, discussing something similar. So installed Medibuntu repos to start. I was then able to install the w32codecs package. I restarted Firefox but no change.
I added the repository for the latest gstreamer with “sudo add-apt-repository ppa:gstreamer-developers”, then updated and upgraded. I then restarted Firefox and it works now! Sad to say this is how complicated it was to get a simple thing like a Windows Media 9 video stream working properly in Ubuntu 10.04. I guess it has to do with the complicated proprietary format licensing issues.
Wow, it’s been a while since my last posting! Here’s a short and sweet tip. Try out Chromium as an alternative to Firefox. It’s light, fast, open source, and stable. Some people prefer it to firefox because it’s so fast and easy to use. I find it usually loads twice as fast as Firefox. It also is very useful for how it lets you create ‘web applications’ which I’ll explain in a second.
Installation: enter these commands in your terminal:
sudo add-apt-repository ppa:chromium-daily sudo apt-get update sudo apt-get install chromium-browser
Similar to Mozilla Prism but faster and easier to use, Chromium will let you turn a web site into a ‘web app’ which can be launched from a desktop icon, into a separate application window. Each web app, running shows an icons in your task bar. The web site appears like a separate applicatios without all the clutter of the normal web browser user interface. Using Chromium’s ability to make application shortcuts on your desktop is really ideal for small screen computers like netbooks. I like having my most frequently used web sites ready to load with a single click. It gives much tighter integration with the OS, and is much more ‘distraction free’. Right now I have set up on my netbook desktop a bunch of web apps like; google talk, mibbit, google contacts, slim timer, remember the milk, and more.
Here’s a short little video from Google showing how easy it is to do.
I wrote this posting on my old mobile that has a qwerty keyboard, a Treo 600. I discovered that WordPress has a mobile site at http://m.wordpress.com. Since I have …
 and that’s where the blog posted from my mobile phone made an epic fail. I was interested in testing out how well this website from wordpress would work on my old Treo 600, since I have this unlimited web deal with my cellphone. So I swapped the SIM chip out into the Treo to use the qwerty keyboard. I only got 168 characters posted successfully. About as much as a twitter post.