Bug 176252 - Support black screen button of Logitech presenter
Summary: Support black screen button of Logitech presenter
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 18:54 UTC by Martin Flöser
Modified: 2012-03-28 22:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2008-11-27 18:54:36 UTC
Version:            (using Devel)
Installed from:    Compiled sources

As you added a black screen for presentation mode it would be awesome if this would work with the Logitech presenter. I just tried and it does not work.

I don't know what event is triggered when you press the button, but obviously no "b".

If you need any help to implement this feature request, please ask. I would like to provide the needed information and if I find out what event is triggered by the button, I will post it to this feature request.
Comment 1 Pino Toscano 2008-11-27 19:02:05 UTC
Hey Martin, :)

the presentation black screen is triggered by the "b" key by default (as usual configurable in the application shortcuts).
As I don't have such a device, are you really sure it sends a "b" keycode, and not some other keycombo? (`xev` can be of help here.)
Comment 2 Martin Flöser 2008-11-27 19:21:14 UTC
Thanks for the hint with xev. That's the output:
KeyRelease event, serial 36, synthetic NO, window 0x5600001,
    root 0x13e, subw 0x0, time 23060119, (-441,523), root:(656,548),
    state 0x0, keycode 60 (keysym 0x2e, period), same_screen YES,   
    XLookupString gives 1 bytes: (2e) "."                           
    XFilterEvent returns: False

I just tried it and yes it is just a ".". I put it as an alternative keybinding and now I can make the screen go black with the device. 

(That's just awesome. I will have to do a presentation at university and all other students using PDF failed to make the screen go black. Good advertisment for Okular and KDE :-D )
Comment 3 Pino Toscano 2008-11-27 19:30:19 UTC
Oh nice!

The only doubt I have is whether these keycombos change between each presenter device. I knew some used the "b" key, while yours seem to use ".".
Not sure whether there could be more, so yours is worth being added as alternate shortcut.

What I will do anyway is to add some tip more in our FAQs; I guess you configured the extra shortcut by using directly the device in the shortcut configuration?
Comment 4 Martin Flöser 2008-11-27 19:37:15 UTC
(In reply to comment #3)
> Oh nice!
> 
> The only doubt I have is whether these keycombos change between each presenter
> device. I knew some used the "b" key, while yours seem to use ".".
> Not sure whether there could be more, so yours is worth being added as
> alternate shortcut.
That would be great.
> 
> What I will do anyway is to add some tip more in our FAQs; I guess you
> configured the extra shortcut by using directly the device in the shortcut
> configuration?
No I wanted to try if it is the ".". So I used the . key. But using the device in the shortcut configuration would work as well, but of course working out of the box as expecte is always the best ;-)

Comment 5 Richard Hartmann 2012-03-28 22:27:01 UTC
It's 2012 and Logitech is still using '.' for black screen and <esc> for start/stop.

As I understand things, '.' and <esc> are what PowerPoint and LibreOffice Presenter use. Thus it's save to assume that this mapping will not change.

While <esc> is obviously controversial, adding '.' as alternate screen blanking button would be appreciated.