baddeck.blogg.se

Nomachine ubuntu mouse buttons
Nomachine ubuntu mouse buttons







nomachine ubuntu mouse buttons

"xte 'keydown Control_L' 'key F8' 'keyup Control_L'" "xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'" "xte 'keydown Control_L' 'key C' 'keyup Control_L'" For example, I have the following: # Back changed to Copy

nomachine ubuntu mouse buttons

The point is create a xbindkeys' configuration file to do the job.ĥ) To create the configuration file, just run the following command: xbindkeys -defaults > $HOME/.xbindkeysrcĦ) And we need to edit the file to specify your button's mapping: gedit $HOME/.xbindkeysrcħ) We need to add our button-to-key configurations. In KDE you can do that with Ctrl+F10 keys combination. The idea is configure the mouse buttons to send key combinations to activate other desktop functionalities (as the matter of fact, xbindkeys can be used for execute any other program when you press a mouse button). the easy installation is using: sudo apt-get install xbindkeysĤ) Once installed, you can do the magic. The other buttons are well recognized and you don't need to map to actions.ģ) Now, you need to install a little program to re-map mouse and keyboard inputs. for easy access, here is the map for Performance MX: You can try every mouse buttons on your hand. That means that 13 is the code for that mouse button.

nomachine ubuntu mouse buttons

For example, with the zoom button of the Performance MX you will see something like that: ButtonPress event, serial 35, synthetic NO, window 0x5800001, When it's running, you can see a window in which you can press mouse buttons and see if they are detected. This program is a key and mouse events sniffer. How to know with button is pressed and the correspondent numeric code? Well, you can use the 'xev' program: xev at least with uname -aģ.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47: x86_64 x86_64 x86_64 GNU/LinuxĢ) So, basically, you only need to map those buttons with desired actions. I use my forward and Back buttons as Copy and Paste.ġ) All buttons are detected with last kernel.









Nomachine ubuntu mouse buttons