Meet the Totem media player
Movie Magic
Totem brings Hollywood to your Linux desktop. We'll show you how to get started with this movie player.
The Totem media player is the Gnome desktop's official movie player, so it's no surprise to find it listed in the Applications | Sound & Video menu as Hardy Heron's default player for video files and DVDs [1]. Given the availability of other popular players, one might wonder why Heron's developers chose Totem, but after spending only a little time with it, I'm not sure I can easily go back to anything else.
Versions
Totem is available in two distinct versions. Totem-gstreamer uses the GStreamer media framework for its audio/video back end, whereas totem-xine employs the same services as delivered by libxine, the xine project's A/V engine. Heron's default version is totem-gstreamer, but totem-xine can be installed from the system's Synaptic package manager.
Starting Up
I tested version 2.22.1 of Totem on Hardy Heron as a live system from a CD/DVD drive in a machine powered by a 2.4GHz CPU. The machine's audio and video capabilities are above average because I do some professional audio work and because I like to watch movies on it with better than average sound and visual displays. However, this article is targeted toward the new user of Totem and presumes no special hardware or previous experience with any other similar player.
I have some words of wisdom to share with my readers. Before doing anything else with Totem, determine whether you intend to play files in formats known to be patent-encumbered or that are otherwise restricted. If your answer is yes, then open Synaptic and install all the GStreamer plugin packages. For various reasons, these packages are known as the good, the bad, and the ugly, but if you want to view certain popular file types, you will need the video codecs provided by those packages.
But wait, that's not all: You also need to determine whether you intend to play encrypted DVDs with Totem. If so, you again need a session with Synaptic to install the libdvdcss2 package. Because of legal complications, the library cannot be provided directly by Hardy Heron's default repositories. A quick search on Google led me to the Medibuntu site and its "repository of packages that cannot be included into the Ubuntu distribution for legal reasons" [2]. Those reasons include copyright restrictions, incompatible licensing, country-specific patents, and so forth.
Obviously, Medibuntu is not an official Ubuntu component, but you are free to decide whether to add its repository to Syaptic's default list. Follow the simple instructions on the Medibuntu site's Repository HOWTO, and you'll soon enjoy the pleasure of using Totem to play your legally purchased DVDs.
Of course, Totem plays unencrypted DVDs and video files in open formats (such as Ogg, Theora, or MPEG-4) without extra packages, but alas, the greater number of video files will require the additional codecs and libraries.
Getting Around
Totem's user interface (see Figure 1) is organized for simplicity and speed. A single window presents a top menubar, the viewing screen, its transport controls, and a variably defined sidebar. Starting with the top menubar, I will take a closer look at each part of the Totem user interface.
The Movie menu provides the expected Open File and Open Location items, along with a list of previously opened files, play commands for discs in your CD or DVD drives, an Eject function, and the Quit command.
The Edit menu offers a Take Screenshot function – which is very handy – controls for Repeat and Shuffle modes, and controls access to the Totem Preferences and Plugin Manager dialogs (Figures 2 and 3).
Among other items, the View menu contains controls for Fullscreen and Fit Window To Movie. The Fit function merely sizes Totem's view screen to your movie's original aspect, but I found it to be a very neat feature.
Figure 1 shows off Totem after selecting the 1:1 fit for a widescreen movie, a more pleasing view than the default size. Of course, Totem can also be resized simply by pulling its corner sizing tab, but I found the Fit settings to be more satisfying.
The View menu further contains the expected controls for your video's aspect ratio: deinterlacing, subtitles, and viewing angle. It also includes toggles for the sidebar and the transport controls.
The Go menu provides quick jumps to various points on your DVD, including the audio, title, angle, and chapter menus. This menu also includes Skip To functions and Previous/Next controls for moving quickly to chapters in the currently playing movie or to another selection in your playlist.
The sparsely populated Sound menu offers only a Language control and two items for raising or lowering the volume. Finally, the Help menu provides access to the ever-popular About panel and to the Totem user manual.
On to Totem's main view screen. Left-clicking anywhere within that screen will open a pop-up menu that includes playback controls you've seen in the Movie menu and that are also in the transport control strip. The other feature of note here is that you can drag and drop files directly into the screen for instant play.
By default, the sidebar displays either a playlist or the properties of the currently selected movie. However, the Local Search and YouTube browser plugins also list their results in the sidebar (more about that later).
The +/-- buttons and the up/down arrows under the sidebar's listbox will add, delete, and re-order items in the displayed list. The disk icon opens the Save Playlist dialog.
The transport control strip consists of a location slider, a Play/Pause button, two controls for going to the Next/Previous item in your playlist, a volume control, and a toggle for the sidebar display. Finally, beneath the transport controls is Totem's status line, where you can see the playback state (playing, paused, or stopped), the elapsed time, and the length of the selection in hours/minutes/seconds.
That's about all there is to the Totem user interface. As I said, simplicity is its key design factor. Totem's feature set is not as extensive as some, but better than others. In my opinion, the designers have made the right decisions about what to include in Totem's menus and what to leave out. Even its Preferences dialog restricts itself to a few controls and settings, but they are the controls and settings that will matter most to the greatest number of users.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome Fans Everywhere Rejoice for the Latest Release
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.