How can I make a blank screen key work on my Logitech R400 on Linux?

updated, issue resolved

I am using the Logitech R400 console to control presentations on Linux. My whole presentation is PDFs displayed with Acroread (it provides better graphics). Forward / backward works out of the box, but sometimes I would like to clear the screen. Running "sleep 1, xset s activate" would do the trick. How do i make an r400?

In my original post, I could not get the desired result. With XFCE, I could make it work. This message is now my working system. Could this make it more elegant / XFCE independent?

Now I have done /etc/udev/rules.d/026_logitech.rules containing:

    SUBSYSTEMS=="usb", IMPORT{builtin}="usb_id" 
    ENV{ID_VENDOR}=="Logitech*", ATTRS{idProduct}=="c538", RUN+="keymap $name /etc/udev/logitech-r400"

/ etc / udev / logitech-r400, containing:

    0x70037 f10
    0x70029 f11
    0x7003E f11
    0x7004B PageUp
    0x7004E PageDown

~ / bin / blank.sh containing

    #!/bin/bash
    sleep 1; xset s activate

XFCE () F10 ~/bin/blank.sh

Debian, Debian.

Success

+4

Source: https://habr.com/ru/post/1536746/


All Articles