-
Notifications
You must be signed in to change notification settings - Fork 112
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
Is there a way to run shell commands? #64
Comments
According to the example config, there is a 'launch' command, so you can do something like this:
I had never tried it before, but since I've been wanting to try converting my xbindkeys config to such a launch system, so I gave it a go. It works, but since xkeysnail is run via sudo, the subsequent gnome-screenshot is running as root, which is less than ideal. Does @mooz use the launch capability? |
Would |
I played with First create a new group to which we allow access to the input stuff, and add this group to your user:
Create new udev rule granting access:
Reboot. xkeysnail should now run OK without |
I think runuser would probably work with something like This is going to be useful though as I am thinking about implementing something to help inspect the clipboard before just copying the contents into a terminal without warning or a previewing assuming it is multiline or has carriage returns in it. |
Sorry, wrong thread. |
I have an issue on my fork exploring how this might be done properly and securely.... it's not super difficult if someone wanted to implement it and test it out... (on top of my fork or even on top of the last xkeysnail 0.4.0). I don't believe any of the new things I've implemented in my fork are necessary. |
I want to run some scripts with xkeysnail but don't know how.
The text was updated successfully, but these errors were encountered: