Using Linux for Presentations Mini-HOWTO

Akkana Peck

Contents


Introduction and Motivation

This Mini-HOWTO is aimed at people who have a laptop running linux, and want to use it to give presentations via a computer screen projector using free software, rather than use proprietary tools such as powerpoint.

When I first wrote this HOWTO, I had very little experience presenting slides (though since then I've gotten quite a bit). I wrote it partly because I needed to research the options for an upcoming talk of my own, and partly because I was tired of seeing presenters at linux and open source gatherings using powerpoint because they didn't know there were other options or didn't have time to research them. Besides, powerpoint is "the most loathsome, vicious and immoral piece of software ever produced" :-)  If you doubt this, check out The Gettysburg Powerpoint Presentation, or Edward R. Tufte’s “The Cognitive Style of PowerPoint” Presented in the Form of a PowerPoint Presentation.

The latest version of this howto lives at http://www.shallowsky.com/linux/LinuxPresentations.html.

Contributors:

Akkana Peck wrote this howto.
Other contributors: N. Thomas, Travis Casey and Alvin Goats.
This document is copyright 2003 by Akkana Peck and I'm still trying to figure out what license best says what I want, which is this: feel free to redistribute this document as much as you want, just don't remove the author credit.  (I think that's the FreeBSD Documentation License?)

Software for Creating and Presenting Slides

There are plenty of software packages which can do a good job of presenting slides.

There are three major categories:

Dedicated presentation programs are programs designed to present slides. They usually have their own language for describing slides, and some of them include editing tools to help you design and edit your slides. The main advantage of this approach are that you're using a tool designed for the job.

Browser/HTML based solutions use HTML as the language for describing slides. To display them, you use a web browser, such as Firefox, usually in fullscreen mode. You can write the HTML by hand, use an HTML editor, or use a special tool aimed at creating HTML presentations. Advantages of this approach include portability, flexibility and ease of showing your slides on the web, and you can do equations with some difficulty (using MathML). Disadvantages mainly involve difficulties in styling HTML, and browser portability issues. The author prefers HTML for her own presentations; there are some tips for HTML presentations later in this document.

PDF based solutions use PDF as the slide language. Most people who use PDF slides seem to use acroread as their presentation tool, but evince and others also work. Advantage: it's portable, and in a pinch you can always find a machine that can display PDF at least to some extent. Disadvantage: neither the viewers nor the creation tools are usually very flexible, and multimedia (like animations or effects) aren't an option.

Presentation tool roundup:

Dedicated Presentation Programs

Open Office / Star Office
  • Integrated fairly mature GUI creation tool.
  • Can import/export powerpoint and other formats (at least to some extent).
  • True fullscreen mode.
  • May be able to export to html to put on the web afterward.
  • Very heavyweight to install and use (may be too much for some laptops).
KPresenter/Koffice
  • Designed for the purpose.
  • Integrated GUI creation tool.
  • Some animation effects, piecharts, etc..
  • Can import/export both html and (some) powerpoint.
  • Fullscreen, no-frame mode.
  • Editor is somewhat awkward to use.
  • Somewhat heavyweight, drags in KOffice/DCOP, lots of chatter on stdout.
  • Powerpoint import seems fairly limited.
MagicPoint
  • Designed for the purpose.
  • Relatively small and lightweight.
  • Fairly simple text format files.
  • True fullscreen, no-frame mode: the only choice that can draw over the panel.
  • Can scribble on slides during presentations. :-)
  • Not many tools for creating content; must learn special language (or copy templates).
  • Annoying vffont error messages (avoid by running mgp -x vflib).
KeyJNote
  • Designed for the purpose.
  • Various page transition and highlighting effects.
  • Uses PDF as a base format
  • Fairly new ... I haven't tried it yet.
  • Not clear how to add effects on top of the PDF
UltraPoint
  • Designed for the purpose.
  • Works with Image Magick to scale images.
  • Requires GGI and other libs many people don't have; even then, didn't work for me, "VFlib initialization failed".
  • No tools for creating content.
  • No man page.
  • No output in html or other standard formats.
  • May be unmaintained (has been dropped from Debian
ApplixWare Presents
  • Look and feel familiar to powerpoint users.
  • Applixware seems to be orphaned; the boxed version currently available (several years old) is apparently flaky.

HTML based solutions

App
Strengths
Weaknesses
S5
  • An easy way of generating HTML/CSS slides.
  • A bit slow at displaying (may be processor intensive).
Pylize
  • A Python script, lightweight and simple.
  • Generates HTML.
  • Output can be edited as needed.
  • (I haven't tried it yet)
PLies
  • Perl script
  • Generates HTML.
  • Output can be edited as needed.
  • (I haven't tried it yet)
W3C Slidemaker Tool
  • Perl script.
  • Generates HTML.
  • Output can be edited as needed.
  • Older than Pylize and PLies; Doesn't seem to have key bindings, e.g. "next slide".
PHP Presentation System
  • Keyboard controls and special effects available.
  • Must be running a web server on the presentation machine.
  • A bit slow to load (at least, I never make it to the actual presentation on the page :-)
PinPoint
  • A GIMP plug-in for generating slides as JPEG.
  • Can apparently generate HTML too.
  • May be orphaned: only available for obsolete GIMP 1.2
  • If you get errors about "map", try changing "map" to "mapcar" in line 54
Opera Show
  • Online composition tool.
  • Style sheets may be Opera specific (not sure)

Tips and Tools for HTML Presentations with Mozilla:

PDF-based and other solutions

xpdf (or other pdf viewer such as the non-free acroread)
  • Good control over fonts, sizes.
  • Can make presentation available as a whitepaper afterward.
  • You may already have PDF for some or all of your slides.
  • Lots of software available for creating pdf.
  • No problem with integrated equations.
  • No one will want to download your whitepaper because pdf is a pain. :-)
  • PDF viewer apps are heavyweight, sometimes unreliable.
  • Steep learning curve on creation tools.
  • Bloat (e.g. graphic backgrounds get stored redundantly for each slide).
Image viewer (I'm partial to pho since I wrote it, but there are lots of choices, such as ee and xv).
  • Many available.
  • Small and lightweight.
  • Content creation tools are well understood (might not have to learn anything new).
  • Hard to put into fullscreen mode.
  • Image creation tools (e.g. gimp) are heavyweight, and less flexible for text manipulation.

Tips and Tools for PDF presentations:


The Moment of Truth: Connecting to the Projector

Here's a nice howto on configuring X for connecting to projectors.  Some additional tips I've found:

When I set up my Redhat 7.3 Vaio for projectors, it took a bit of manual reading to find the key, which was this: add 800x600 and 640x480 entries to /etc/X11/XF86Config-4 (I had only checked the LCD native resolution when I installed); then use ctl-alt-KeypadPlus and Minus to cycle through resolutions "live" (that turns out to be documented in man XFree86). Probably Xconfigurator or the installer will let you select multiple resolutions if you don't want to edit the file by hand.

Some projectors, especially older ones, require a strong signal and won't work with a laptop that's displaying both to the external video port and to its own LCD.  This can be a problem on laptops (such as my Vaio) where the display is software controlled and there's no Linux tool to switch to external-only mode.  I haven't found a solution, besides complaining to the laptop manufacturer and using a newer projector.

On my Vaio, I have to have the external monitor or projector connected when the machine boots, or it doesn't send any signal out the video port.  (I've never tried with Windows, so I don't know if it's any better there.)  Booting with a monitor connected puts it into "both external and LCD" mode.  This seems to be true of most Vaios; not sure about other laptops.  Try adding this option in the device section of the XF86Config file:
    Option "Display" "BIOS"
On some laptops, such as Dell, that enables the function key that switches between LCD and CRT, and also allows the docking station to detect the external monitor and automatically switch to CRT mode. (Thanks to Justin Gaither.)   Failing that, assuming suspend works, you can always boot at home connected to an external monitor, then suspend the machine until ready to connect to the projector..  If that doesn't work either, you can always connect briefly at power-on, then disconnect for a while so that at least everybody doesn't have to watch the whole boot-and-login sequence. :-)

nVidia-powered laptops have something called TwinView, which provide full support for switching between displays.  Check the nVidia README.txt, "APPENDIX I: CONFIGURING TWINVIEW", for lots of detail.  Here's a pointer to nVidia's XFree86 4.0 page(Thanks to Jos Thalen for the nVidia information.)

I'm sure there are other tricks for other laptops and distros.  This is an important section, so please help me out if you have something to add here!

Of course, if possible, show up and hook up early in case there are problems hooking up.  (This applies no matter what OS you're running!)

Remote Presenter Devices

What about those remote presenter gizmos where you can press buttons to advance a slide while pacing back and forth on the other side of the room from your PC?

No problem. Most of them are implemented as generic USB keyboard devices and will work just fine with Linux.

The trick is that they don't all send the same key sequences: some send Page Up/Down, some send up/down arrow, some apparently look like a mouse and send right/left mouse clicks. So you may need to check your presentation tool: if you're using PDF or scroll-down CSS, you may want to look for one which sends Page Up/Down. If you're using OpenOffice, it probably follows the normal PowerPoint conventions and will work with most tools. If you're using HTML and JavaScript, then you can use anything as long as you make sure your JS obeys the right keys.


Some Conclusions (warning, personal opinion)


Other resources