• ISOmorph@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    7 months ago

    There’s still a bunch of little bugs in KDE6, they’ll get ironed out over time. For the KDE connect bug I use a ydotool command to emulate an enter key press to accept the remote command access from my bed.

      • ISOmorph@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        The command itself isn’t complex:

        YDOTOOL_SOCKET="$HOME/.ydotool_socket" ydotool key 28:1 28:0

        The hard part is getting ydotool to run on boot for your user (no sudo). I had to create a bash script to run on login with the following line:

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

        It’s a bit hacky but it works.