Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:lt_presentation [2016/01/28 17:12] – Andreas Böhler | projects:lt_presentation [2017/03/27 12:21] (current) – Andreas Böhler | ||
---|---|---|---|
Line 3: | Line 3: | ||
As a teacher and lecturer, I need to give talks and presentations quite often. Usually, I write my presentations in LaTeX and use a PDF viewer like Atril (Mate Document Viewer) to display the slides. | As a teacher and lecturer, I need to give talks and presentations quite often. Usually, I write my presentations in LaTeX and use a PDF viewer like Atril (Mate Document Viewer) to display the slides. | ||
- | A few months ago, I also bought a Logitech R400 wireless presenter to control the presentation. This works quite well if the document viewer is the active window. However, I tend to have either a script or different other things on my Laptop' | + | A few months ago, I also bought a Logitech R400 wireless presenter |
==== The Solution ==== | ==== The Solution ==== | ||
Line 11: | Line 11: | ||
You need the following (checked during startup): | You need the following (checked during startup): | ||
- | * Logitech R400 (device name can be changed in [devices] -> presenter) | + | * Logitech R400 OR Genius Ring Presenter OR ISY Presenter |
- | * xfce4-power-manager (can be disabled in [general] -> xfce_pm_presentation_mode | + | * [optional] |
- | * xdg-compliant power manager, such as xfce4-power-manager (can be disabled in [general] -> inhibit_xdg_pm) | + | * [optional] |
+ | * [optional] Workrave (can be disabled in [general] -> inhibit_workrave) | ||
* Atril (can be changed in [programs] -> pdfviewer) | * Atril (can be changed in [programs] -> pdfviewer) | ||
* xdotool | * xdotool | ||
Line 24: | Line 25: | ||
* The Power Manager is set to " | * The Power Manager is set to " | ||
* Xfce Power Manager is set to Presentation Mode | * Xfce Power Manager is set to Presentation Mode | ||
- | * The Logitech R400 is grabbed for exclusive access | + | |
- | * All button events are read from the R400 and sent directly to this, and only this, Atril window | + | |
- | * When Atril is closed, the R400 is released and the power management settings are restored. | + | * All button events are read from the presenter |
+ | * When Atril is closed, the presenter | ||
- | This works through a series of " | + | This works through a series of " |
- | Feel free to hack around the code at http:// | + | It requires a udev rule to have access to the input device as a regular user. If you use a different presenter than mine, you need to change the device IDs in the udev rule file. |
+ | |||
+ | Feel free to hack around the code at http:// |