Closed negishubham closed 1 year ago
Hi. This depends of your distro and/or desktop environment. Here is an example for Xfce: https://unix.stackexchange.com/questions/44643/change-global-keyboard-shortcuts
Alexis,
I know how to add a command to the shortcut. But I am not sure how to bring move-to-monitor command (that I installed using this repo) in the image below.
One way I read about doing this was to add the command to a script and add it as I have done in the image. But it doesn't seem to work.
Thanks
You don’t need to use a intermediate script. You probably have to specify the full absolute path to the move-to-monitor
script.
You say that you installed it with the repo, how did you do ? pip install ewmh-m2m
?
I don’t know exactly where it is installed by default. Either something like /usr/local/bin
or similar.
Yes, I installed it using pip command. I couldn't find it in /usr/local/bin. Will try to find it or maybe look in the code as to where it saves the script
In the code, you will find nothing more than the entrypoint definition. Installation location is more related to your own Python/pip installation.
move-to-monitor
from your terminal ?which move-to-monitor
?pip show ewmh-m2m -v
, there should be a Location
field, giving you some hints on where to find the move-to-monitor
script.which pip
?I found it. Thanks for the help Alexis
Hi,
After the pip installation how to bind the move-to-monitor command to a keyboard shortcut?
Thanks