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
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.