univrsal / input-overlay

Show keyboard, gamepad and mouse input on stream
GNU General Public License v2.0
2.95k stars 247 forks source link

Input Overlay (flatpak) not seemingly showing key presses for OBS Studio (flatpak) on Fedora 35 Kinoite #231

Closed FilBot3 closed 2 years ago

FilBot3 commented 2 years ago

The Problem

I have OBS Studio installed via a Flatpak on Fedora 35 Kinoite (rpm-ostree). I wanted to use this to help record videos I'm doing to teach people more about certain command-line tools, and I feel showing the key presses could be helpful to some. After installing OBS Studio and the Input Overlay extensions, I do see the Input Overlay option to add

image

I also used the Wiki to get the overlay presets for QWERTY. I think I loaded them up correctly.

Peek 2022-03-04 14-23

However, no keyboard presses are showing up. Is there something else I need to do to get Input Overlay to work with OBS StudiO Flatpak?

Supporting Details

Fedora Version and Flatpak Version information.

```bash ~❯ flatpak --version Flatpak 1.12.6 ~❯ rpm -q flatpak flatpak-1.12.6-1.fc35.x86_64 ~❯ cat /etc/os-release NAME="Fedora Linux" VERSION="35.20220228.0 (Kinoite)" ID=fedora VERSION_ID=35 VERSION_CODENAME="" PLATFORM_ID="platform:f35" PRETTY_NAME="Fedora Linux 35.20220228.0 (Kinoite)" ANSI_COLOR="0;38;2;60;110;180" LOGO=fedora-logo-icon CPE_NAME="cpe:/o:fedoraproject:fedora:35" HOME_URL="https://fedoraproject.org/" DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora-kinoite/" SUPPORT_URL="https://ask.fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=35 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=35 PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" VARIANT="Kinoite" VARIANT_ID=kinoite OSTREE_VERSION='35.20220228.0' ~❯ flatpak list # Output trimmed to show only OBS Studio flatpaks Name Application ID Version Branch Origin Installation OBS Studio com.obsproject.Studio 27.2.3 stable flathub user GStreamer Plugin com.obsproject.Studio.Plugin.Gstreamer 0.3.3 stable flathub user Input Overlay Plugin com.obsproject.Studio.Plugin.InputOverlay stable flathub user ```
univrsal commented 2 years ago

You have to use the old presets from here, as the flatpak version uses the last stable release.

FilBot3 commented 2 years ago

That did the trick! Thank you @univrsal ! I'm guessing that means that the Flatpak should be updated, or have a different channel to use your latest?

univrsal commented 2 years ago

I don't have anything to do with the flatpak version and I'm generally not a fan of how the flatpak version of obs handles plugins. Currently 5.0 is still a pre-release so the version that the flatpak uses is up to date, it's apparently just missing the presets.