as far as i can tell, those keybindings are handled internally, they don't invoke shell commands
you can use something like wtype or ydotool to send keybindings from kdeconnect
Linux questions Rules (in addition of the Lemmy.zip rules)
Tips for giving and receiving help
Any rule violations will result in disciplinary actions
as far as i can tell, those keybindings are handled internally, they don't invoke shell commands
you can use something like wtype or ydotool to send keybindings from kdeconnect
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.
I'll look into these, thank you!
You are looking for gdctl. https://manpages.ubuntu.com/manpages/plucky/man1/gdctl.1.html
You may also want pactl for audio switching.
This looks promising, thank you!
Yup! I'm here. I know how to add commands, I just don't know the command to run.
I don’t know what command to invoke to trigger “Display Configuration Switcher” to swap configurations.
I appreciate the comment though!
Just send "CTRL +" if that's what works locally. Am I missing something here?
How do you send the ctrl key? My mobile keyboard doesn't have ctrl, alt, shift, or super modifiers.
Literally the link I sent you that you said you read. See the link to Userbase within for examples.
Edit: also https://www.reddit.com/r/kde/comments/v3svo7/alt_ctrl_and_super_key_input_with_kde_connect/
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!