When I click middle mouse button, and current window name is "Visual Studio Code", instead of middle mouse click do left mouse click and then F12. I am using Fedora.
To achieve this behavior in Fedora, you can use a combination of xdotool and a custom script. Here's a step-by-step guide:
-
Install xdotool: This is a command-line tool that allows you to simulate keyboard and mouse input.
sudo dnf install xdotool
-
Create a script: This script will check the current window name and perform the desired actions.