Skip navigation.

exploreopera

| Help

Sign up | Help

gnapse corner

web for everyone

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.

Gmail 2 now works in Opera!

,

Yes my friend the most recent facelift that Gmail had as a web application was a very good one, but it only worked in recent versions of Firefox and Internet Explorer, and not in Opera (I don't know anything about Safari, sorry).

But today it works in Opera at last! I really don't know since when exactly, but it shouldn't be much time because I use Gmail from Opera almost every day.

Among the new goodies of this new interface that I already knew but didn't work in my favorite browser, the two that I missed the most are colored tags, which are easier for the eyes, and the improved contacts management interface.

Oops!

You made a mistake? No problem, with Git you can rewrite history!

I made a mistake in my last commit and I figured that out too late. Well, not late enough, because thanks to git I was able to amend my last commit with whatever new changes I wanted and git's commit history appeared as if the mistake was never there.

Here is how it works.

You commit and then you figure out you made a mistake, maybe a mispelled word in your commit message or even a programming error, whatever. So you change whatever you want, add the relevant stuff to your index with "git add" and then

$ git commit --amend

which opens your editor with the message of your last commit pre-loaded, which you can edit if you need and then save it. That's it. Your new changes will appear as if they were always there on that last commit, no new commits in your history with the fixes of your mistakes.

I LOVE GIT!!!

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.

Ubuntu is definitely feisty

Not being a native English speaker myself I decided to go to my favorite dictionary to see what Feisty Fawn means. It turned to be a tenacious and energetic young deer, prepared to stand and fight, often despite small stature or lack of strength. Well, I decided then to move beyond the stable Dapper (I never really tried Edgy) and I downloaded and installed the official Ubuntu 7.04 code-named Feisty Fawn.

It may have small stature but it surely has no lack of strength. In fact, it is strength what you sense the most when you try it. Linux distributions have traditionally tried to offer a one-size-fits-all solutions, but Ubuntu has changed that. The default 1-CD installation has a predefined set of packages very well suited for the average Joe. No time is wasted selecting within thousands of packages and yet you get an environment much more functional than a default Windows XP installation, the most prominent difference being that you have an office suite working just out of the box.

But just as there are prominent features present in this wonderful new version of the popular Linux distribution, there are prominent absents too, like the ability to play non-free multimedia formats. Yes, I know is not Ubuntu's fault, but it is annoying for the end-user. But it is not like they are giving up on this anyway. Installing these and other non-free features like Flash and Java is just a few keystrokes away.

sudo apt-get install ubuntu-restricted-extras

I won't go here over anymore features of Feisty. I just wanted to say that I switched and I am happy with it, even when Dapper was good enough. I won't try to convince you or change the world. If you are into the Linux thing and not on Ubuntu I think it is worth trying. If you are on Ubuntu already it is likely that you switched even before me, or that you are already on Edgy. And if you're not in the Linux thing or you do not even have a clue of what Linux is, then you should definitely at least get informed. Linux is no longer more what it used to be, and it is now ready for everybody, not just for me.

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.

Ubuntu web page broken in Opera

, , , ...

Is it Opera's fault or the CSS styling of the Ubuntu web site is non-standard? Have you noted that the tabs at the top right are unaligned when seen in Opera, but are ok seen from IE and Firefox?

From Opera



From Firefox



Update (July 2)

A good fellow member of this community, whose blog is devoted to Opera and web pages compatibility with this browser, tells me that...
this is a known bug and described as "floated list item children of inline list child of an absolutely positioned element are not displayed on one line".

...it is even considered quite important (probably mainly because of it appearing on the Ubuntu website)
So it is unfortunately a bug in Opera, and not a bug in Ubuntu's web site coding. I hope this bug will get fixed soon.
July 2008
MTWTFSS
June 2008August 2008
123456
78910111213
14151617181920
21222324252627
28293031