-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to invoke shortcuts from terminal #325
Comments
You can write evdev events using a script like this. To trigger plugin bindings as user, there would need to be some interface, maybe dbus or a custom protocol that wouldn't require root. |
@librewish, wayfire is open-source and MIT licensed, you can do almost anything you want :) And I am also fine with you using the name. Only please specify that your project is made by yourself, and not us. |
adding the user to plugdev group also i found https://github.com/ReimuNotMoe/ydotool which does the xdotool job. |
Duplicate of #49 |
@librewish Checkout https://github.com/damianatorrpm/wayfire-plugin_dbus_interface |
@damianatorrpm My first impression was that they wanted to have a way to trigger activators from cmdline. |
@ammen99 that's one way to achieve this, they could of course do this , or send ctrl + alt + backspace via an xdotool like command |
@damianatorrpm Having to send keys means that the external program would have to parse wayfire's config and then decide which keys to send based on that. No good |
how can i invoke wayfire shortcut from terminal.
ex.
i want to leave wayfire session (logout) using
terminal.
and want to create a logout.desktop
file and add as an launcher in wf-panel.
in x
xdotool can do this with
xdotool key ctrl + alt + backspace
also i want to use libinput-gestures to invoke wayfire keyboard shortcuts with touchpad gestures.
how to invoke various wayfire functions with terminal.
in kwin its executed this way
qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Switch to Next Desktop"
The text was updated successfully, but these errors were encountered: