2012-04-07

MultiMedia Players in Windows and Linux

For MS Windows, my favourite audio player is foobar2000 [official site / Wikipedia]
(I'm tired of Winamp [official site / Wikipedia], and especially of the Windows Media Player [Wikipedia]; some people may like something else, e. g. AIMP [official site / Wikipedia]).

---

For playing video, I use VLC media player [official site / Wikipedia], MPC-HC ("Media Player Classic - Home Cinema") [official site / Wikipedia] and (very rarely) MPlayer (incl. forks).

===

In GNU/Linux, there are 2 powerful media players I frequently use (mostly for playing video): VLC and mpv [official site / Wikipedia].
mpv is a popular fork of MPlayer [official site / Wikipedia] & mplayer2 (itself a fork of MPlayer; now abandoned); they say it has more features and more rapid development process than the original one.
Sometimes I used mplayer[2] with a (now abandoned) GUI called gnome-mplayer.
BTW, I neither like nor use GNOME Videos (formerly called Totem) [official site / Wikipedia].
And some users also like xine [official site / Wikipedia] and Kodi (formerly XBMC) [official site / Wikipedia].

---

There are some pretty console audio players: mpg123 (probably the best MP3 player around) [official site / Wikipedia], cmus ("C* Music Player") [official site / Wikipedia], moc ("music on console") [official site / Wikipedia], mp3blaster (now obsolete) etc., but I prefer mpv there :)

And now about GUI audio players. Some years ago I used XMMS ("X MultiMedia System") [official site / Wikipedia] (now discontinued) and Amarok [official site / Wikipedia] (it was too overweight for me). In the near past, I used Rhythmbox [official site / Wikipedia]; when Banshee [official site / Wikipedia] became the default player in Ubuntu, I was very disappointed (it was much more buggier than Rhythmbox and used that C# / Mono / .NET / etc. stuff); then I tried to use LXMusic (it uses XMMS2 [official site / Wikipedia] backend and has a minimalist GUI) for some time, used Exaile [official site / Wikipedia] a few times...
...and finally switched to Audacious [official site / Wikipedia]
(Audacious is a fork of (now defunct) Beep Media Player [official site / Wikipedia], which itself was a fork of XMMS; BTW, it supports Winamp skins; not to be confused with Audacity [official site / Wikipedia], a popular audio editor).

Some other popular players:
---
Last updated: 2016-12-11

2011-10-29

Desktop environments (Unity, GNOME 3 and no classic GNOME 2) in Ubuntu >= 11.10

In Ubuntu 11.04, it was possible by default to use Unity (which itself run on top of GNOME 2 core) or classic GNOME 2.32.1.

Unfortunately, Ubuntu 11.10 (and 12.04 LTS) comes with Unity shell as default desktop environment and doesn't have a classic GNOME option; instead of it, there's a Unity 2D option (in Ubuntu 11.10, Unity runs on top of GNOME 3.2 core components).

GNOME 3 itself is completely redesigned and doesn't look like "classic" GNOME 2; IMHO, it's not any better than Unity in functionality.

Linus Torvalds switched himself to Xfce because of GNOME 3 "improvements".
Eric Raymond (who had used Red Hat and Fedora in the past and switched to Ubuntu in 2007) strongly criticizes both GNOME 3 and Unity and plans to switch to Xfce too.

If you wish, you can try GNOME 3 Shell environment by installing it:
$ sudo apt-get install gnome-shell
At last, there is a "classic" fallback mode in GNOME 3; it also can be installed manually:
$ sudo apt-get install gnome-session-fallback
After that, you can log in selecting "GNOME Classic (no effects)" (or "GNOME Shell", or "Unity") at the login screen (I don't recommend you to choose "GNOME Classic" as it uses Compiz, in the buggy way).

One note about GNOME 3 "classic" fallback mode: to call a panel context menu, you should right-click on it holding the <Alt> key. This way you can add some "classic" applets (e. g., "Show Desktop" and "Workspace Switcher") and application launchers to top and bottom panels.
Indicator Applet is missing in Ubuntu 11.10; fortunately, it was ported to GNOME 3 and comes back in Precise (12.04 LTS); if you want it in Oneiric (11.10), you can follow that article: Indicator Applet Ported To GNOME 3

If you don't like Unity, you can (almost) painlessly uninstall it. Don't forget about removing some useless components (they are installed with Unity and continue to run even in your plain GNOME session) like:
  • overlay scrollbar (scrollbar overlayed widget);
  • BAMF (some "application matching service" used in Unity?);
  • Zeitgeist (background user actions logger and indexer).
If you don't like the default Ubuntu 11.10 login screen, just install another greeter:
$ sudo apt-get install lightdm-gtk-greeter
You can even remove LightDM and install the updated GDM 3 display manager (used in GNOME 3 by default).

If you don't have a Synaptic GUI package manager which is useful for package searching, installing and removing (IMHO, Ubuntu Software Center is too weak), you can install it manually:
$ sudo apt-get install synaptic
---
Updated (07.04.2012) to reflect Ubuntu 12.04 changes etc.

2011-09-23

Solaris 11 Express 2010.11 on Ultra 10 etc. -- not supported

Well, I've tried to test Oracle Solaris 11 Express 2010.11 (it's the resulting product of "closing" the OpenSolaris, not to mention an open source fork called OpenIndiana) on old Sun Ultra 10 workstation with 440 MHz UltraSPARC IIi CPU (64-bit), 512 MB of RAM, 20 GB IDE HDD (Seagate) and integrated PGX24 (ATI Rage, 4 MB RAM) video adapter.
  • CD-RW with burnt "text install" ISO was used as installation media (luckily, the built-in IDE CD-ROM made by LG can read CD-RW disks).
  • Text install procedure didn't show any serious problems, except the setup routine couldn't output the text correctly if non-standard screen resolution was selected and the install process was rather slow (nothing strange, the IDE subsystem of this computer is really slow).
  • The OS boots! Slowly. ZFS is definitely funny. And so the text mode is (kernel can't find a driver for the video buffer, but it's not really related to the lack of desktop environment). Console text editor called nano said it "doesn't know how to deal with your dumb terminal", but the mighty vi works.
  • It was a text install, so the graphical desktop environment is not installed by default. To get the GNOME, additional packages are needed to be installed from the repository.
  • For greater repository availablity, it was transferred into the local filesystem: it was copied through SSH in the form of DVD image, which was mounted and its contents copied (yeah, it's an ugly way, don't try this at home: http://www.oracle.com/technetwork/articles/servers-storage-admin/s11exrepositoriesalta-187967.pdf )))
  • The next step was to install (and then remove) the slim_install package, which depends on Xorg, GNOME and so on: http://blogs.oracle.com/stw/entry/getting_gdm_to_work_on
  • Really, it not helps, because X Server needs some drivers to work with the peripherals. OpenSolaris drivers for SPARC graphic cards can be downloaded here: http://hub.opensolaris.org/bin/view/downloads/sparc_graphics
  • Yes, they install, but complain there's no Xsun installed, and it's the main problem. After installation of the graphic card drivers and restarting the GNOME GDM login screen shows up, but the colors are distorted and keyboard with mouse are functioning non-adequately (some people confirm that: https://forums.oracle.com/forums/thread.jspa?threadID=2136250). Xsun was removed with no further support planned in Solaris 11 and Xorg provided in the repository has no SPARC graphics support. But you can try to hack it yourself and/or use remote X server.
  • Don't waste your time installing it on your Ultra 5, it's basically the same computer with some parameters reduced to fit in a pizzabox case.
  • At last, Oracle has simply stated that "legacy SPARC hardware" (UltraSPARC I, II, IIe, III, IIIi, III+, IV and IV+ processor architectures, as reported by the Solaris psrinfo -pv command) support has been removed from Solaris 11, only SPARC Enterprise M-series and T-series Servers will be supported; "legacy SPARC hardware" still will be supported by Solaris 10: http://www.oracle.com/technetwork/systems/end-of-notices/eonsolaris11-392732.html

Conclusion: the last version of Solaris that really supports 64-bit SPARC workstations is Solaris 10.

OpenWindows in Solaris 9 and Solaris 10

OpenWindows desktop environment was removed from Solaris 9 in favor of CDE (Common Desktop Environment). Some OpenWindows compatibility libraries are still present in the system, however.

IMHO, OpenWindows looks much more better than CDE :-)

Fortunately, there is a project that allows to have almost full OpenWindows environment in Solaris 9 and 10 (SPARC and x86). It's called OWAcomp (OpenWindows Augmented Compatibility Environment):
http://freshmeat.net/projects/OWacomp
http://step.polymtl.ca/~coyote/XView/index.php?path=OWacomp/

OpenWindows needs Display PostScript to work correctly, so if you want to use it in Solaris on x86 platform, you need to switch X server from Xorg to Xsun (use kdmconfig utility, /usr/openwin/bin/kdmconfig).

2011-09-21

Few notes about using Canon LBP CAPT laser printers in Linux / *nix

LBP means "laser beam printer" and CAPT does "Canon advanced printing technology".

CAPT devices are some kind of "Windows GDI [Graphics Device Interface] printers". All the RIP [Raster Image Processing] for these printers is done by the driver installed on the host computer, which allows the printer itself to stay relatively "dumb" and inexpensive. They use some proprietary / undocumented protocols called SCoA ("smart compression architecture") and HiSCoA ("high" version, probably) for data compression and communication.

The official Linux CAPT drivers are closed-source with some open-source parts. They support mainly RPM-based (like RHEL, Fedora and openSUSE) and DEB-based (like Debian and Ubuntu) Linux distributions.
CUPS carries out the standard PostScript print processing work, the rest is done by the CAPT driver part itself (and it has some bugs and limitations).
Some instructions about configuring the CAPT printers in Ubuntu can be found here:
Note. It's quite interesting that LBP-810 is unofficially supported by the LBP-1120 driver.

AFAIK, currently the most up-to-date version of official Linux CAPT driver is 2.71 (May 2017).
  1. Canon South & Southeast Asia ("Issue Number : 0100459601");
  2. Canon Australia support website ("Issue Number : 0100459602");
  3. Canon Europe support website (it's called "Download: 0100459604", but unfortunately I can't find a more specific generic direct link; please try to search using your printer model).
(Sometimes, some regional sites can have some delays in version release, so it's better to check multiple download links above).

Also, some projects do exist in attempt to develop alternative, free & open source Linux / *NIX drivers with some help of reverse engineering.
  1. Canon LBP-810 / LBP-1120 CAPT Linux driver (inactive; there's also a Canon LBP-660 / LBP-460 Linux driver there).
  2. Unofficial LBP-3010 CAPT3 Solaris driver at SourceForge (another inactive project).
  3. captdriver is a project somewhat inspired by the preceding ones; initially was aimed at LBP-2900, support planned for LBP-810 / LBP-1120 and newer printers like LBP-3000 etc.
    1. GitHub - agalakhov/captdriver: Driver for Canon CAPT printers
    2. GitHub - agalakhov/anticapt: CAPT reverse engineer scratch repo
    3. foo2capt [old versions at SourceForge]
    4. Canon LBP-2900 и другие CAPT-принтеры - ПИШУ ДРАЙВЕР [a discussion in Russian on the LINUX.ORG.RU forum]
---
Last updated: 2017-07-15