• 7 Posts
  • 308 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle














  • ydotool is working! However I need to start the daemon in order for it to work, using:

    ydotoold --socket-path="/run/user/1000/.ydotool_socket" --socket-own="$(id -u):$(id -g)"
    

    So now I’m looking for a way to automatically run that on login so that it’s fully automatic. KDE has startup options that can run scripts, but GNOME seems to only let you run “apps” using GNOME tweaks.

    So I need to figure out how to have Fedora/GNOME run a command in the background at startup, then I should be good to go.

    (If no one replies to this post I’ll edit it later with my results.)


  • I don’t understand this.

    If I put on something with video I want to absorb it. There’s more video content in existence than I could ever watch, I always want to watch something worth watching. If it’s something I’ve seen before them I’m rewatching because it was entertaining enough that I want to watch it again. Even if I try to ignore it, it’s good enough that it’ll rope me in.

    Put something on and not watch it? Is it boring enough that it’s not pulling you in? It’s just background noise? Then why isn’t it a podcast or something?

    If you’re ignoring it then why turn it on? Do you turn on lights in rooms you’re not in? It feels… like something just above brainrot. Like it’s not rotting you, but either it’s not engaging or it’s just background noise (with an unused visual component)


  • Ok, so following the MesonBuild website, I needed to install a compiler toolchain:

    sudo dnf install gcc-c++
    

    Then I was still missing some dependencies, so I also dnf installed “cmake,” “rust-wayland-client+default-devel,” and “rust-xkbcommon+wayland-devel”

    And now it builds and I was able to install! However, it doesn’t work. I get an error “Compositor does not support the virtual keyboard protocol,” which, looking at the issues on github, seems to be a known issue with Fedora and other GNOME desktops.

    So wtype is out. I’ll try ydotool next!


  • Ok, wtype looks really promising but I’m having issues building it. I cloned it, installed meson, and when I try “meson build” I get this error:

    meson.build:1:0: ERROR: Unknown compiler(s): [['cc'], ['gcc'], ['clang'], ['nvc'], ['pgcc'], ['icc'], ['icx']]
    The following exception(s) were encountered:
    Running `cc --version` gave "[Errno 2] No such file or directory: 'cc'"
    Running `gcc --version` gave "[Errno 2] No such file or directory: 'gcc'"
    Running `clang --version` gave "[Errno 2] No such file or directory: 'clang'"
    Running `nvc --version` gave "[Errno 2] No such file or directory: 'nvc'"
    Running `pgcc --version` gave "[Errno 2] No such file or directory: 'pgcc'"
    Running `icc --version` gave "[Errno 2] No such file or directory: 'icc'"
    Running `icx --version` gave "[Errno 2] No such file or directory: 'icx'"
    

    And I can’t figure out what I need to install to fix that. It looks like on debian based systems there’s a “build-essentials” package, but when I “sudo dnf search build-essential” I get nothing. I’ll keep searching but if you have any tips please let me know.


  • Thanks.

    So the link you originally sent doesn’t say anything about sending ctrl/shift/alt modifier keystrokes. And I didn’t click the Userbase link at the end of that page because it said it was linking to scripts.

    That Userbase link does mention sending keystrokes! However it uses “nircmd,” which is a windows-specific command (Example: nircmd sendkeypress shift+plus)

    BUT! The reddit link mentions Unexpected Keyboard, which does work! Once installed and enabled I can go into KDE Connect > remote input > keyboard and hit the language icon/globe thing and my keyboard swaps between my preferred keyboard and Unexpected keyboard. On UK I can press Ctrl and swipe down&right on the “n” key to access semicolon and my display config switches. Success!

    However it’s still not as clean as I would like it. It’s still 5 clicks/taps instead of 2. I decided to post on the app’s GitLab page to see if the developer could make a command or something that would trigger the switch. But in the mean time, I have one working solution. So thanks!