Skip navigation.

gnapse corner

web for everyone

Posts tagged with "linux"

Playing RMVB files in Ubuntu Hardy

, , ,

I copied today some videos from a friend and they were in the RMVB video format. RMVB is a RealVideo related format of which is relatively hard to find a player to reproduce it, AFAIK.

Luckily MPlayer comes to our help. But wait a second, the normal MPlayer installation from the repositories does not include codecs for RMVB so if you already have MPlayer installed you probably would still be unable to play these files.

So I went to Google to find out any information about RMVB on linux and I found this post which pointed me to the download page for the extra binary codecs for mplayer, and listed other necessary instructions. Once I downloaded it and put it in the location specified in this post MPlayer was still unable to properly play my videos :frown:

So I suspected that maybe the /usr/lib/win32 folder might not be the expected location anymore, as the mentioned post is about a year old already and Ubuntu and MPlayer have changed. Then I realized, hey, all serious stuff should have a README file, so these codecs package should have a README file too. As I suspected, I typed in my terminal

$ less /usr/lib/win32/README

And this file explains quite clearly that the codecs should be located in the folder /usr/lib/codecs for mplayer to find them. It even mentions /usr/lib/win32 as the previous location which is no longer in use by mplayer, although some other players still use it.

So I decided to keep these codecs at both locations so instead of renaming the win32 folder to codecs, I made a soft link:

$ sudo ln -s /usr/lib/win32 /usr/lib/codecs

And that's it! Now mplayer works just fine with RMVB.

UPDATE: If at this point there's some .rmvb still resisting, install the libstdc++5 package:

sudo apt-get install libstdc++5

Resuming my tech (b)log

, , , ...

I don't know really how to start this as I've been absent for so long, but I guess I don't need to get a lot into it. I'm back and that's it. The main problem for me is time, but I've been missing writing here a lot. Mostly because a blog like this is more for me than for the casual reader that might stop back. I am venturing myself in lots of new projects and experiences and I am constantly doing research and documenting my progress and stuff in a place like this serves me as a back reference in the future, but it might also be of some use to someone stopping by.

After all this time my interests haven't changed a lot. I'm now working mostly on Ubuntu Linux developing Ruby on Rails applications using also Git as my source-code management system. So that's what I'll be talking about here mostly on the technical side, which does not preclude getting away from these subjects every once in a while.

Regarding Opera, I must say that it gained me back after flirting with Firefox for some time. But finally the speed made me turn back. Firefox is so damn slooooooooooow I cannot even imagine how people use it anymore. It has become slower and using more memory than ever before. Opening a new tab freezes it for a few seconds, which is not tolerable. Coincidentally today they release the version 3, which I've been testing for a while in its beta and RC forms but it is still the same. The only thing that keeps me using Firefox is for web development, because Opera really lacks a Firebug killer (don't tell me it's dragonfly because it isn't, although it can be in the future).

And back to Opera, kudos for Opera 9.5!!! Firebug appart, Opera is still the great choice! Damn Google for not giving first class support for its fantastic web applications on Opera (read Google Docs and Spreadsheets, Gmail, Google Reader, etc.) but they are mostly usable anyway, and the advantages of using Opera really outweight the need to use Google Apps. I hope they are listening.

Well, that's it for the moment. I hope not to let this blog down this time, at least for a while.

Back to the neighborhood

, , , ...

I know, I know, I've been lost for a looooooooooooong while now, yes. It's a little bit more than seven months since my last post. What prompted me to write here again? Mainly I re-visited the whole site after the new version came out, just a couple of days ago. (And now that we're at it, I still do not know what the new features are).

It's not that I've been so busy that I was unable to post. I did have some time to post every now and then, although I've been busy. I've been working on interesing personal development projects, full of bleeding-edge technologies like AJAX. I've also been enjoying my new computing environment sooooo much you just can't imagine.

I am still on Ubuntu Linux Dapper 6.06 full-time, and I can't feel better at it. It is stable, friendly and enjoyable to the point that I have a hard time whenever I have to use that other OS that almost everybody use. I am developing web applications on Linux using jEdit as my main IDE. Aptana, of which I talked about in my last post coincidentally, turned out to be too resource-hungry, even though I have a modern PC with 512Mb RAM and 3.0GHz CPU speed. I've been using Firefox as my testing and debugging platform (Sorry Opera, but Firebug has no equal when it comes to test and debug a web application using JavaScript and AJAX heavily).

Thunderbird is still also my choice when it comes to email. Opera still does not have WYSIWYG email editor and other minor but handy features that I need. Opera continues to be my day-to-day browser for my web surfing needs, and OpenOffice, Gimp, ImageMagick, Beagle, Liferea, Gaim, Gnome, Vim/Cream, MPlayer and MPD do the rest. I've been also using Ruby's and Python's scripting power to automate some tasks in my working environment.

I've also been vey busy following the socio-political events that have happened in Cuba, my country, in the recent months, almost all related in some way to the illness of the president Fidel Castro and the temporary transfer of power, and how this has impacted our society. I know some people get more interested in this blog because of my nationality than for my interests and the topics I write about. Feel free to ask.

Anyway, I'll see if I can make the time to talk here again every now and then, mainly about the technologies I am using and how they make my life easier.

Truly platform-independent Web Development Environment that really rocks

, , , ...

Yes my friends. Dreamweaver is over now. At least for me.

Have you heard of Aptana, the Web IDE? It is based on the Eclipse platform, which I have been already using for Web development since I dumped Windows for good a few months ago.

And I really have to say that I've been missing Dreamweaver during all this time, honestly. I even have to confess that I cheated for a few days and I used it while on a friend's machine, and I felt delighted. Why is it that Macromedia then (and Adobe now) don't do it for Linux? People would really pay for it.

But Aptana is platform-agnostic and it's free (as in speech and as in beer), just like Eclipse. It is available as a standalone download (with or without the bundled JRE in some cases) and it is also available as a plugin for an existing Eclipse installation. It features code completion in all of the Web trio: HTML, CSS and JavaScript. It is Ajax-oriented and is also aware of several popular JavaScript toolkits and libraries, such as MochiKit, Dojo, AFLAX and my personal choice, Yahoo! UI.

Code-completion pop-up list-boxes show the available tags/attributes/functions/css (depending on the context) along with browser-compatibility icons on the right, so that you can readily see if you are about to use an IE-only or a Gecko-only feature. If you are a Web-standards kind of guy like me, then you'll love it. Here's a screenshot for those who didn't understand this bleeding-edge feature.

And a small note before finishing. Eclipse has another web development toolkit available for everyone: The Web Tools Platform, which is an alternative and a choice. I discovered both recently and I personally prefer Aptana, but having a choice is nice. Feel free to try both, no matter if you're Windows, Linux or Mac. The Open-Source Web Development Environment is here.

Home page
...and common download options.

Blog

Stay up-to-date about Aptana.

Downloads
Detailed download page with additional options.

Screenshots
A good place to have a quick glance ot the main features.

Screencasts
Here you can get a more detailed view at it before downloading. Watch videos to see what it's like to use it.

And that's all. Enjoy it!

Evolution for Windows

, , , ...

Well, the title makes it look like if the Windows operating system is evolving, and this is sort of it in a way. Windows has evolved a little bit now with Gnome's leading e-mail client Evolution being ported to this closed platform.

Yes, you heard it right. Evolution is now available on Windows thanks to somebody named Tor Lillqvist. So go and enjoy it. I believe Thunderbird will have to keep up, and Outlook (Express) too, of course. Do you think Evolution will be to the latter like Firefox has been to Internet Explorer? Only time can tell.

Is there a similar application for Windows?

,

Wouldn't the title be "Is there a similar application for Linux?"

No, you read it right. Being now more than a month using Ubuntu full time, I have been experiencing several open source applications. Some of them are new to me, some were already in my stock, but now they are even better, definitely ready for my desktop.

These are the highlights of what I've been using.

Tradition endures



All of these above are available for Windows too, and I have used them for a while now in both platforms. They are must-have applications for me.

The new kids on the block

I have found in the last weeks several applications that make my life easier, all of them just as handy as "sudo apt-get install".


These are Mono-based. They prove how mature this project has become.

I also started using the dict utility, GnomeBaker instead of K3b, Firestarter as my firewall, nessus to keep my systems free of vulnerabilities, and Thoggen to rip my DVDs.

I remember myself months ago searching for applications in Linux to substitute my Windows applications of choice. Now is the other way around in many cases. I'd like a firewall for windows as configurable and easy-to-use as Firestarter, a photo manager as rich in features as F-Spot, and a desktop search system as clean and fast as Beagle.

Google finally remembering Linux

,

Google was always heavily criticized for not giving back to Linux, in spite of all that Linux has represented for Google.

But recently a couple of Google tools are available for Linux users: Picasa and Google Earth.

Before that, we unfortunate linux users only had (to my knowledge) the Google Toolbar when it became available for Firefox. Thank God that XUL is platform-agnostic!

But I am still awaiting a couple of 80-pound gorillas tools to cross the platform border: Google Talk and Google Desktop. The former for the voice features, because Gaim is good enough for text messaging. And the latter mainly for the search functionality. I don't give a penny for the gadgets but they'll be welcome too.

Please Google, give something back to the platform that runs all your services!

Update (July 2)

I have tried Beagle on Ubuntu Dapper and I have found it stable and production-ready for the first time. I tried it before, a previous version, and it was not satisfactory for me. So I care less for Google Desktop. Nevertheless I welcome it. It would be good to have some competition in the Linux Desktop Search market too. Perhaps Google Desktop, Yahoo Desktop Search and Copernic Desktop Search could come over and cross the platform line.

Ubuntu

, ,

For the first time since I've been using Linux (for about 8 years now) I feel 100% comfortable with a distribution, and that is Ubuntu Dapper Drake. I've used Mandrake and Red Hat initially, and SuSE, Debian and the previous Ubuntu in more recent times.

I am a spoiled power user

I have to say that I consider my self a power user, not afraid of the CLI but very thankful of aiding graphical interfaces for some tasks. I prefer Gnome-Baker or K3b over cdrecord, for instance. But I also prefer to get my hands dirty with Perl to automate boring repetitive tasks, and I even enjoy reading man pages. I am no newbie Windows-like user, but I could use some visual aid.

Therefore Windows gets too stupid-proof for me, without even actually being stupid-proof in the end. Linux, on the other hand, was always a powerful tool. It always allowed you to go under the hood to see what was going on, and was also slowly creating an environment for those not willing to go there so often. But there was always something wrong. And I am talking beyond hardware support.

Broken expectations

In SuSE 10, for instance, USB sticks were automatically detected, but the unmount feature when right-clicking it showed some error stating that only root was allowed to do that. And this was the best experience I have always had with flash memory sticks in Linux.

Ubuntu to the rescue

I never really dumped Linux for these minor annoyances, but I always found my self needing Windows every once in a while. And I was never really able to fully convince my point-and-click relatives and friends that they were going to feel comfortable with Linux.

Ubuntu Breezy was like the promised land but it fell short of being it. The RootSudo thing (rightfully praised as wonderful and intuitive) never worked for me, don't ask me why. But the rest of it seemed tasty and I expected the next release with anxiety.

And waiting gave the expected results

Ubuntu Dapper Drake 6.06 LTS answered many questions and covered nearly every expectation I had. Everything worked seamlessly and I can even recommend it without having to bring myself to ease the installation process, because installation is the easiest and seamlessly I've ever tasted ever, not only with Linux. Who said Windows was an easy install?

Ubuntu starts as a Live CD, so you can taste it before you embrace it. Once on the desktop and you'll love it. Gnome 2.14 comes out shining from end to end. The Human theme makes XP's Luna and KDE's Plastik look like amateur.

The initial and reduced set of applications pre-installed is very well chosen and covers a great spectrum of most common tasks. Gimp for graphics manipulation; OpenOffice.org as the office suite; gedit for simple text editing; Rythmbox, Serpentine and the Sound Juicer on the media side, Firefox for web browsing and Evolution as the mail client, are all excellent choices.

And a simple icon on the Live CD desktop triggers the installation process. You may need to make room for Ubuntu in your hard drive, and this might be the hardest part, but not that hard. Gparted is also available at this stage so you can comfortably resize some windows partition graphically without loosing your data (although backing up some data is not a bad idea though). I expect them to incorporate the partitioning stage of installation into the wizard for the next Ubuntu release.

Up and running!


Once installed, the RootSudo thing work :smile: and the available set of applications is enormous, provided you enable the proper software repositories. The documentation in this respect is wonderful, so an in-depth coverage of the details here is not necessary.

(Here you have another great source of information about Dapper Drake.)

I just have to say that Ubuntu 6.06 is amazing and you should give it a try. In the true Linux and Debian spirit, Ubuntu is freely available (both as in beer and as in speech), downloadable directly from the web or obtainable by ordering free installation CDs.

Back and more human

, , ,

Yes, after a long while, I am back. And more human because I have found my ideal computing environment in the most human of all Linux distributions, Ubuntu, and the most human of all browsers, Opera.

There are numerous new softwares and web applications that have appeared or been upgraded during this weeks that I've been off. I will try to talk about all these in the next days, emphasizing on Opera, which arrived to its ninth version last Tuesday, and is better than ever. I will emphasize also on the use of Linux and Ubuntu Dapper Drake in particular.

Also, I wanted to note that on next Monday, June 26, it will be a year since my first post, which was originally made when my blog was blogger-based.

Eclipse + PHP

, ,

Two posts ago I was enjoying my new Linux system, but I had complains about the lack of a good PHP development environment. I have just a few requirements of such an environment, the most important of which are auto-completion of tag names and attributes, auto-insertion of tag closings and syntax coloring. I don't even need the hardest-to-implement feature of all: WYSIWYG designer like Dreamweaver has. I always code absolutely everything by hand-typing it.

After looking for alternative editors and IDEs available for Linux, I found out that Java's greatest IDE, Eclipse, has a plugin to convert it into a great PHP IDE. I downloaded the last Eclipse version and the last PHP-eclipse plugin version, and as I'm typing this post, I have it running. I just couldn't wait to come and tell about it here.

So if you're a PHP developer that likes a reasonably comfortable environment, and you haven't dropped down Windows because of Dreamweaver, here you have a solution. I should also alert you that you'll need a reasonably modern hardware, because Eclipse needs some resources (Dreamweaver needs them too).
November 2009
M T W T F S S
October 2009December 2009
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30