December 29, 2009

Sometimes It Won't Work (III)

on kde and some other stuff

- kde respects bugs. bugs in kde3 have their equivalent in kde4. rule of thumb in developing kde is 'we do not fix bugs. ever.' the worst part is that important bugs in kde3 were not fixed in several years. it's been two years now and kde4 doesn't even provide the features kde3 did (oh yes, instead it is providing hundreds of new features, which all make it a very productive environment - especially if you know how to kill kdm every 2 hours)

- here's the routine when working in kde4:

1. type your username and password
2. change the last desktop environment from gnome to kde
3. now make your mouse search for that ENTER button which doesn't exist
4. take your right hand (if you're a right-handed person, otherwise take your left) off the mouse and press Enter
5. you are now logged in
6. open the web browser and navigate to a web page
7. (this happens only 50% of the time) open a terminal and kill your web browser
8. restart kdm (and goto 1)

- i wonder why didn't anybody bothered to make a 'satanic' edition of kubuntu? (yeah, i know, but don't smile, it's sad but true)
- for some strange reasons sound will cease to work at some point

- the killer app (that's amarok) is no longer - it is a fiasco, a shame, an app which opposes to any possible usability rules from every aspect, it is full of bugs, it is non-intuitive, it is stripped from every single useful feature, and it does this successfully for two years now

- (instead let's take a look at rhythmbox which, in order to play a song will require you to: 1. type alt+s; 2. type the name of some song; 3. wait for 5 seconds (for over 10,000 songs collections); 4. at this point the song is listed and (obviously) you'll want to play it, but surprise! enter does not work; 5. so move your dirty lil' fingers to the mouse and double-click the song; 6. What a funny experience! there is actually a song playing 7. but now you want to change the song, aye? 8. remember: press alt+s again, ctrl+a to delete the search filter; 9. now where is my song? 10. press ctrl+j and there you go!)

- the same thing in amarok: oh wait, you can't do it from the keyboard (now that's a standard application, and they had two years to do a simple search 'n play thing)

- kde4: we want equalizer! we want equalizer! kde4 is all about innovation, but they say that phonon (what's that?) doesn't support equalizer! oh crap... and i thought linux was ready for the desktop... ever since... 2002?

we are the creators of ubu-vista.com, ubu-vista.org, ubu-vista.net and maybe also ubu-vista.etcetera (just hit refresh on that domains until we register them)

we had the idea of bringing the ubu-vista operating system to you, and it features:
- full desktop environments like aero-gnome (parachuters included)
- several addictive games which don't crash (only 20 openend-bugs!)
- video editeur (to start it and see the crashing output in the console)
- audio editeur (it kind of works but... it crashes when it comes to proprietary formats and strangely it doesn't have support for Ogg Vorbis or flac)
- shell commander: that thing which can be replaced with synaptic if you know what you're doing
- the 'olive', 'goat's shit' and 'you can't stand me' themes (upcoming 'i shit my pants' on its way)

Each and every new release of firefox is faster, less memory-hungry and more powerful! (actually this is true and non-ironical, except for the faster and memory parts)

rules of thumb:
- do not use flash (unless you have a script to save session, kill fx and start a new session every... (well, this depends on the fx version, if you have the latest updated 2.x you'll have the chance to work for 3 hours uninterrupted, for the 3.5 i warmly recommend to just not use a web browser (i'm sure in 2010 we could use dillo, or, still better, lynx)))... was that 45 seconds?

back to the point:
- i like how kde 4 improved in the last two years, but for some strange reason those windows are always 200x200 pixels when a single widget inside them is bigger

August 27, 2009

Sometimes It Won't Work (II)

Linux user for a couple of years. Only Linux and I love it. Still, some things are wrong, they are wrong, and unfortunately, as I see it, they will always be wrong (yes I'm paid by Microsoft to say this; and yes I get the big bucks from them; and yes that's true, and unfortunately it seems like it's true for a long time now :(

subtitles green red blue and pink
(i'm waiting for when they're making them black on grey background)
change the volume, subtitles don't work
encrypted dvds usually work
non-encrypted dvds don't :)
do not request a bug to be fixed, the software comes with no warranty
each and every bug (from the tens of tens you discovered) will be fixed in the next version
new version -> happy -> sad (no fixes)
linux programmers are professionals = each and every one are biologists, botanists, geographists, working in their spare time (i wonder where the "computer science" guys are working at - either in their spare or working time)
do not, under any circumstances plan to uncompress a big archive and use another application in the same time, not even on high-end pcs
we have a completely modern os, but don't do anything else while deleting or copying a 4 GB single-file
release early - release often = great practice, but why the hell tag applications as 'stable' when they're not even in alpha working state?!
new distro available, here are the brand new amazing features:
- full desktop environments like airo-gnome (parachuters included)
- 3 games which don't crash (only 20 openend-bugs!)
- free office suite - be thankful we provide 30 DEBs to install it
- video editor (to start it and see the crashing output in the console)
- audio editor (it kind of works but... it crashes when it comes to proprietary formats and strangely it doesn't have support for Ogg vorbis or flac)
- hdd editor (you can erase your entire drive if you like, if you don't we'll do it for you for free)
- shell commander: that thingy where you have to type those strange thingies, just make sure not to press Shift for more than 3 seconds
- the 'olive', 'goat's shit' and 'you can't stand me' themes (upcoming 'i shit my pants' on its way)
- we always loved to innovative, but how: mess up a boot manager, and do not ever provide help for fixing and getting to know it (something tells me 1000 posts on a specific forum will be posted in October)

Oh and by the way, how I love this "if you don't like it, do it yourself" thing. So I was submitting a bug for what was (and is) supposed to be a "stable" distro and the answer was "does it happen in the new version of..." . It's great to see such wonderful tools and so much work going to nothing just because we get to "freeze" things up. I think freeze it's a nice word for what is going on. Make every interface possible as amateurish as possible, respect the DFSG as good as possible, even if that means "ship a 'stable' system, even if that means to ship a still crappy system'". Each and every time I open Amarok 1.4 I enjoy to see how Wikipedia doesn't work in a so-called 'stable' distro. Especially since 2.x is a state-of-art piece of software. Vision for the future, but everything is broken. And it's been 2 years already. Great work!

Stay tuned, for parts 3, 4, 5 and 6 will come soon :)

P.S. Do you still think we can fix bug number 1? and P.S.2 that was a lame post, but I doubt it wasn't true. Some things can be ignored, and there is a lot of great, awesome work going on. Take the entire KDE desktop. Wonderful. Open an application. Why do you have to resize everything? Why do you have to open a konsole and kill a plasma widget? For fuck's sake, a simple action like open a new tab, copy a file over a file and uncompressing in the same time an archive doesn't work sometimes. Drag and drop a file and resizing a window doesn't work sometimes. Sometimes you won't even get sound out of your player, even though the so called drivers should work. Sometimes just searching in a listbox will freeze the system. Sometimes previews don't work. Sometimes just opening a save file as box won't even show the files of the same filetype. We have the powerful file utility but there are still problems when trying to compile a .c file source if it doesn't have the .c extension. We have two good ways (and logical) of copying, by selecting and by using a clipboard. Do they work well in some desktop environment? Neah, they don't. We have so many libraries doing all the work. And 10 applications which use those libraries. If there is one, one single bug hard to fix in any of them, it won't get fixed. There still is a bug in KDE3 which didn't get fixed because of "Qt3 issues". (multicolumn view mode, navigating by arrows jumped files by a rule). So, we get open source software which can be modified, but that bug never got fixed, although it could've been. Is this an OS? Beause if that's an OS I'm curious how can anybody be productive working with it.

April 26, 2009

How-To: Enable Last.fm Song Submission in CMus in Debian and Ubuntu

CMus is a very powerful audio player for the console with a ncurses-based interface, support for themes and highly configurable.

Although (at least in Debian) CMus does not come with Last.fm song submission support by default, there is a script available here as a patch, which you can apply to the source, compile CMus again and enable Last.fm support.

Here's what you have to do:

1. Enable sources repositories
Edit the /etc/apt/sources.list file as root with your favourite text editor (e.g. nano /etc/apt/sources.list or kdesu /etc/apt/sources.list) and make sure you have a line which starts with deb-src, as in the example below:

deb-src ftp://ftp.ro.debian.org/debian/ lenny main contrib non-free

You can replace the TLD with the one of your country (e.g. instead of ro use fi for Finland, de for Germany etc.) Next, update the packages list as root:

apt-get update


2. Get the CMus source code
Type, as normal user:

apt-get install git-core

Now issue the command:

git clone git://repo.or.cz/cmus.git

3. Get the Last.fm patch
Go here and download the patch (direct link here). Save it inside the cmus directory. The file is called as.patch

4. Apply the patch
To apply the patch, make sure the current working directory is cmus and type:


patch < as.patch

5. Install CMus dependencies
To install the needed libraries for the compilation, type as root:

apt-get install libncurses5-dev
apt-get build-dep cmus

6. Compile and install CMus
Just type the usual:

./configure
make
make install

The last one as root.

7. Enable the Last.fm song submission script
You can either copy the following three lines inside the ~/.cmus/rc file:

set as_enable=true
set as_user=Lastfm_USER
set as_pass=Lastfm_PASS

Or run the same commands in CMUS like this:

:set as_enable=true
:set as_user=Lastfm_USER
:set as_pass=Lastfm_PASS


Just make sure to replace Lastfm_USER and Lastfm_PASS with the appropiate values.

March 30, 2009

Review: Amarok 2.0.2 - Better Than 1.4?

Amarok always had the reputation of being the most popular and powerful audio player available on the Linux platform, and it really deserved that position. I myself am a fan of Amarok for over three years now, and there was nothing I could think of which Amarok 1.4 did not have.

Usual instance of Amarok 2.0.2 playing

For this review I used Amarok 2.0.2 (which was released to the public on March 5), included in Kubuntu 9.04 Beta (with all the upgrades to date) and I scanned several Ogg Vorbis and FLAC albums, all of them with correctly filled-in tags. I also included a compilation with several artists, which from the start messed up the entire playlist. That is, the albums from a single artist were correctly displayed, while the compilation album was spread in the entire playlist (see the screenshots below). In fact, Amarok only tries to organise tracks on the compilation depending on the artist. So if we have three artists with two songs each, they will be spread in the playlist, sorted by artist's name. Although I like how the single-artist albums are displayed in the playlist, when it comes to compilation this approach tends to mess things up and look inconsistent.

A compilation album including several different artists is spread in the entire playlist

The current version of Amarok 2 does not include all the features 1.4 had, like the equalizer, statistics or queue manager, however it is a new foundation for the releases which will follow. The introduction of widgets is very useful if you ask me, and I also liked the new interface. I know there were a lot of people complaining that the central widget space is a waste and takes up too much of the area when the playlist could have been, but I think it's useful this way. The new approach gives Amarok a more organised look and a logical way of finding all the information one needs at any given time.

Last.fm configuration


Another thing which I miss from Amarok 1.4 series is the ability to go directly to the next and previous tracks in the tag editor. That was a cool feature which made Amarok my audio tag editor of choice. Still, it allows for mass-tagging, which is a good thing. Of course, I'm sure these things will be implemented in the future.

Amarok correctly auto-detected the covers inside the albums' directories and displayed them in the middle panel, which proves to be very useful if used with a lyrics widget, for example.


The collection tab resembles pretty much the one in 1.4, however instead of organizing artists from the compilation albums inside that album's title, they are spread all over the place. This can get extremely annoying if you have large compilations of, say, 50 or more artists, and only a few songs from each of them. Or at least, I liked more the approach in 1.4. After an application restart Amarok did not remember the position of the left tabs, which were disabled (the Collection, Internet, Playlist and Files tabs).

The Add Media... option in the Playlist menu will only allow to add files to the playlist, so I had to use the right-click menu option Load (or Append to Playlist) from the Collection or the file manager tabs.

Some of the old features are still available, like the cover manager (which hasn't changed a bit) and the file manager. I was happy to see the old bug which froze Amarok (at least on Debian Lenny - stable) when right-clicking on a song and going to Edit Track Details in the file manager disappeared. Well, since it was rewritten it is normal to be this way.

A whole bunch of other features are now included in Amarok. Except for the widgets, the Internet tab provides access to no less than seven services, like Last.fm song submission and integration, music from Magnatune.com and Jamendo.com, OpmlDirectory (for lists of podcasts) or Shoutcast Directory (for lists of online radio stations). The script manager also allows to download other scripts from the Internet directly from within Amarok, and they are installed automatically, just like in 1.4 (and with a refined interface, cutting off the additional - and useless - steps when you had to click twice OK - once when the script was downloaded and the second time to notify you that the script was successfully installed).

Amarok now uses only QtScript, so all the scripts for 1.4 had to be rewritten. No more support for languages like Perl, Python or Bash.

Conclusion
As an Amarok 1.4 fan, I must say I also liked Amarok 2 a lot, but there are a lot of things which really need to be fixed and features to be added. What I like the best is the new approach (yeah I know there are a *lot* of people who don't like the new look), but it seems to me the way the widgets are organised and the space management is much more compact and useful now. The playlist is definitely another plus, since it looks twice as good as that simple list in Amarok 1.4 and offers a more clear view on which album belongs to which artist. It is visually more appealing. Instead, it really needs a fast way to jump to song using the keyboard.

Amarok 2.0.2 and KDE desktop effects enabled

I'm looking forward to Amarok 2.1 and I hope only for the best from the team behind this loved and popular player.

Additional screenshots

Cover manager - nothing new or changed here

The new splash screen

Last.fm integration, together with song submission and radio stations access

Magnatune.com music

New and improved script manager

January 14, 2009

Round-up: Most Popular Posts in 2008

9 File Managers for Linux
A brief review containing no less than nine file managers for Linux, from Konqueror or Nautilus to PCManFM, Xfe or Midnight Commander.

25 Essential KDE3 Applications - Review
Started as a review of 20 applications for KDE3, reached the number of no less than 25 applications which I considered essential for daily use.

What Makes Amarok the Most Popular Audio Player for Linux?
Although Amarok has far more features, this article lists 7 reasons why Amarok is the most popular audio player on the Linux platform.

Why Is It So Hard for Windows Users to Understand That Linux Is Not Windows?
A short essay (if you like) on the Linux vs. Windows debate. I tried to keep it clean and "non-laming".

Top 10 Best GTK Applications Not Included in GNOME
A review of 10 applications built in GTK which do not come with GNOME.

10 Reasons to Love Debian
What makes Debian such a loved and popular distribution? Here are 10 reasons from my point of view.

11 Video Players for Linux - Review
A review of 11 video players for the Linux platform: from SMPlayer or Kaffeine to Totem or VLC.

10 Best KDE Applications Not Included in KDE
A review of 10 applications built using Qt but which do not come by default with the K Desktop Environment. Note: Only KDE3 applications in this review.

12 Web Browsers for Linux - Review
An article which briefly reviews 12 web browsers for Linux, both with graphical or CLI interfaces. Firefox, Opera, Konqueror, Kazehakase, w3m, lynx... they are all here.

Xfe Review - Wonderful File Manager
Review of the lightweight but powerful enough file manager, Xfe.

One of My Favourites - Wolfenstein: Enemy Territory
A review of the beautiful and popular online shooter, Wolfenstein: Enemy Territory.

SMPlayer Review - One of the Most Powerful Video Players for Linux

As the title suggests, this article reviews SMPlayer, a popular video player built in Qt 4 with lots of features and highly configurable.

October 26, 2008

Test Firefox 3.1 Beta 1 in Debian Without Changing Your Existing Installation

Firefox 3.1 Beta 1 was released on October 14, 2008 and it currently comes in 36 fully-localised languages. This beta is based on Gecko 1.9.1 layout engine and according to the official website, this release features "significant changes to improve web compatibility, performance and ease of use". You can read the release notes on the official website, here.

Debian Lenny comes with Iceweasel 3.0.3, which is actually Firefox with a changed name and a few minor changes. If you have Iceweasel 3.0.3 installed but want to test this new beta without changing anything to your system, just follow the steps below.

Download Firefox 3.1 Beta 1
Get the Firefox .tar.bz2 archive from here, then uncompress it using:

tar -xjf firefox-3.1b1.tar.bz2

Next, move the firefox directory wherever you want it, for example in your home directory, or in ~/apps etc.

Run it using a new profile
Firefox uses the default profile whenever you run it without specifying another profile using a parameter. To run it using a different profile than the default one, use this command after making sure your current working directory is firefox:

./firefox --no-remote -P new_profile

As you can see, we used the name new_profile for our profile. The --no-remote parameter will not connect Firefox to a running instance, so you will be able to run both your current version and 3.1 Beta 1.


Select new_profile (or whatever the name of your profile is) and click on Start Firefox:


You will be prompted to accept the EULA, then Firefox 3.1 Beta 1 will start and you will be able to test it.


A small window should appear prompting you to choose the profile to use. Click on the Create Profile... button, then follow the instructions as in the screenshots below. You will notice you won't even have to close Iceweasel 3.0.3 if you have it running.


Currently there are no available themes for Firefox 3.1, so you'll have to use the default until they are updated.

October 25, 2008

Wine 1.1.7 Review - First Steps of Direct3D 10 Implementation

I think Wine is one of the most promising and useful applications, especially for those who need to run Windows programs in a Linux environment. A new development release is put up every two weeks or so, and improvements are visible from each version to another.

Wine is the project which makes possible to run games like World of WarCraft, Counter-Strike, Half-Life 2, WarCraft III and so on. And Wine is also the project which makes possible for web developers to test how their web page is viewed under Internet Explorer. Not to mention hundreds of other applications which work very well or well enough with it.

Ever since the first release tagged as 'stable' was put out for the public after 15 years of development, the Wine project continued development and now the latest version is 1.1.7, which brings numerous improvements and additions.

According to the official announcement, one of the highlights for this release is that the first steps were taken to implement the Direct3D technology, which is part of the DirectX API from Microsoft. The open and widespread competitor for Direct3D is OpenGL, the Open Graphics Library.

It's well-known that Wine works awesome with games like WoW, Counter-Strike or Half-Life 2.

A while ago I ran and installed the new Google Chrome web browser through Wine, since a Linux port is not available yet, and the result was very satisfying: with the exception of a little interface slowness, it behaved very well.


For this release, I installed Google Chrome following the tutorial I wrote for 1.1.6. I had to run it as:

wine ~/.wine/drive_c/windows/profiles/USERNAME/Local\ Settings/Application\ Data/Google/Chrome/Application/chrome.exe --new-http --in-process-plugins

And replaced USERNAME with my username. Chrome displayed all the web pages I tried, including this blog, Digg.com, YouTube.com (with the Flash plugin too) and the WineHQ homepage, but scrolling a page is extremely slow and choppy until the web page is completely loaded. I never tested Google Chrome on Windows so I can't compare exactly the behaviour.


I also installed Adobe Flash Player using the browser instead of winetricks. Below are some screenshots running Chrome through Wine. As you can see, Flash is enabled:


Wine provides an application database on their homepage, which classifies applications depending on how well they run and perform: platinum, gold, silver. The nice thing is that each application has detailed information on how to set it up in order to work best, in what conditions it was tested and it also includes user comments. Usually, if a game or application is known to work through Wine but you couldn't set it up, have a look at the comments posted and a solution will surely be provided.

As I already mentioned, one of the most popular games which worked perfectly for me in Wine is World of WarCraft:

World of WarCraft

I was glad to see the mIRC scripts editor does not crash the application anymore, but instead I couldn't make it connect to another network but the default QuakeNet, so you will have to use the /server command. Otherwise, mIRC 6.35 works pretty well, and if you really really need it and can't re-write your scripts for a native Linux client you can use it through Wine. Still, I suggest using a native IRC client like XChat, Konversation or Irssi.


I also tried the last version of Winamp, 5.541, and I installed the Lite version. It works very well, although I did not test it for long. It plays music.


It's true, I don't think Linux needs to run a player like Winamp, when we have powerful and full-featured, native and open-source audio players like Amarok, Banshee, Rhythmbox, Songbird or XMMS. But maybe someone still finds a use for it, or it can help those who just switched from Windows and can't get used to another player.


Also, here is a top 25 applications/games which run in Wine, by votes.

Overall, the Wine project does what it has always done, bringing Windows games and applications to Linux. It's great to see games like WoW, HL2, CoD4, StarCraft, WarCraft III running very well.