Ubuntu :: Emulate Right-mouse-click With Hardware Button?
Jul 25, 2010
I would like to assign right-mouse-click behaviour to a hardware button. I can associate a keypress, or a combination of keypresses with an "xdotool click 3" command via the Gnome keyboard shortcuts.
I have the scancode of the hardware button so can use
setkeycodes scancode keycode
to mimic any key of my keyboard. However, I don't want the hardware button to mimic a single key of my keyboard that is already in use, since then the keyboard key will also activate xdotool.
So I think I need:
- either a way to associate that particular scancode with an (outlandish) keypress combo rather than a single keypress;
- or a keycode which is not currently in use, to bind to the scancode. Are there any like that and how would I find out? In the Gnome Keyboard Shortcuts list there is stuff like "XF86AudioMedia" which I'm not using -- but does that correspond to a numerical keycode value which setkeycodes understands?
One of my computer is running MAC with nomachine installed to run CentOS5 remotely. I don't have external mouse. In apple, I use CTRL+mouse left click to emulate right-click, but it didn't work in linux. How to make it work?
I have successfully mapped the plus-minus key on the keyboard to emulate the Wheel/Middle Mouse Button click with this shell script run at startup:
Code: #!/bin/sh xmodmap -e "keycode 49 = Pointer_Button2" xkbset m
This is so I can rotate the view in Blender without clicking the wheel, because the wheel also zooms, and it's too easy to zoom inadvertently. The remaining problem is panning, a Shift-MMB combination. Now I'm lost - how can I map a key (or better still, a Shift-key combo) to the Shift-MMB click?
I want to be able to auto scroll by clicking my middle mouse button. In Firefox you can do this in the about:config easily, but with Google Chrome, I don't know what to do.
There is no Chrome option to allow this, so I guess I'd have to configure some stuff. Does anyone know how to do this? I really prefer Chrome over Firefox, and would like to go back to it, but can't without auto scroll.
After a forced reinstall, I find myself missing the desktop folder which I can live without. However, I reallty need right mouse button functions. How can I restore them?
just want to report "Right Mouse Click Freeze" on Ubuntu 10.10. When I click on anything with my right mouse button to open options menu it freezes and does not open menu. Sometimes when I shake my mouse left/right a bit it opens that menu, but this does not work always. It seems like xserver issue, but I'm not sure since I'm not expert in linux yet. It's very annoying issue that I would like to resolve asap.
My System Specs: Intel Core 2 Quad Q6600 @ 2.40GHz CORSAIR XMS2 2GB (2 x 1GB) 240-Pin DDR2 800 (PC2 6400) Western Digital 250 GB Hard Drive Ubuntu 10.10 64-bit (Kernel Linux 2.6.35-22) (Used Desktop Install CD)
I have fedora 10 installed on vmware, running on win7. today when I try to start up fedora, after logging in, I faced this error: Oops! sealert hit an error! ..... there is no space left on device..... could not attach t desktop process... when I click "ok" button I just can see a black page and a mouse cursur circling forever..I really need to work with my fedora beacause i dont have any backup of my files ... btw, I allocated 8g hard disk to my machine on vmware. I don't have any idea how to boot and login from a console not a gui
I try to configure mouse click interval since a single click is recognized as double click by doing it from KDE mouse configuration in system settings; but my attempt doesn't work even (I set the click interval to 2 sec, but doesn't change anything). What is the best way to do this in slackware?
I predominantly use Ubuntu at home, which means I am used to "highlight 'copies' and center click 'pastes'" (I believe this is true for all X-windows-sever machines, but I don't know). Unfortunately, that is not the behavior on the machines I use at work (I have a Mac and Win 7.). Is there an application which would let me imitate this mouse behavior for either of those OS's?
I am running Linux Ubuntu on a Dell Inspiron laptop that I bought at a garage sale for 50 cents. After spending quite a few hours resurrecting it, it works just fine except for the left and right mouse buttons on the touch pad. They do not function.Is there a way to emulate the left and right mouse buttons from the keyboard?(I know that I can just plug in a mouse, but I would rather just use the keyboard if possible.)
About a week ago I installed some updates. What they were I don't remember. After I did that my mouse started acting up. Now about half the time when I single click it registers as a double click. Also when I click and drag to select text anywhere it'll randomly do another click screwing up that process.
So far I think the problem is when I press the left mouse button it registers the left click and then when I release, it randomly registers another left click.
The mouse itself works fine if I take it to another PC that's using windows.
OS: Ubuntu 9.10 64bit Mouse: Microsoft Intellimouse 3.0
While searching the net I found how to complete disable the functionality of the middle mouse button but I need this button for many other uses.I want to disable only it's paste action.
I know how to make another button act as the middle button but how can I map several mouse buttons to the middle button? xmodmap complains if I repeat button numbers in the pointer option.
when i click my mouse on something, it sometimes registers as two clicks. it doesn't happen all the time, but frequently enough to be annoying. for example, when i click a videos video to pause it, it often opens into fullscreen (which you normally click twice to do). also, in the url bar of chromium, i can't select the entire url by clicking. i now need to use ctrl+a. that's also because when i try to select the url, the highlight randomly disappears.
if i have multiple windows open, my click on the first "x" of the top-most window also closes the next window. i'm on linux mint 10. it's not really important, but it drives me crazy sometimes when my mouse doesn't work the way i want it to.
Code: linux-uitj:/home/anisha # uname -a && cat /etc/*release Linux linux-uitj 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64 x86_64 x86_64 GNU/Linux openSUSE 11.2 (x86_64) VERSION = 11.2
If I normally click the Trash icon either in Kmail or in Evolution more than one mail gets deleted in a sequential order! I have to press the click button extremely light to avoid this problem. I have confirmed this problem is not only with the Email clients but even with most other normal applications too. I have changed my mouse twice but the problem persists. Both were USB mice. Below I have provided log information :
Code: linux-uitj:/home/anisha # dmesg | grep usb [ 0.138267] usbcore: registered new interface driver usbfs [ 0.138267] usbcore: registered new interface driver hub [ 0.138267] usbcore: registered new device driver usb [ 0.396952] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.396956] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.396958] usb usb1: Product: EHCI Host Controller [Code]....
I just upgraded to FC14 (64) from FC13 (32) and the mouse middle button (simultaneous left+right button) paste function has stopped working. I tested it with 3 makes/models of different mice and trackballs. For some reason (left+right) mouse returns the same code as the single right-button ('xev' value = 3). This worked in all previous FC and RH distros I've used in the past. Did a default setting get zonked somewhere? System: Toshiba laptop w/ USB mouse.
CNEE(1) General Commands Manual says this. RECORD OPTIONS --first-last Print only first and last of multiple successive MotionEvent. So I try this. my test window is Calculator 3.14.1 cnee --record --mouse --keyboard --time 5 --store-mouse-position --first-last --stop-key h -o xnee.xns -e xnee_record.log -v;The result is, xnee.xns lists every mouse movement.But I only need to record the mouse location when there is a mouse button event. it seems --first-last does not work. How can I make it work?I use
hardware HP pavillion 20. The only avalible resolution is 1600x900. /etc/debian_version 8.1 GNOME Terminal 3.14.1 xnee 3.19
When I click on the OpenOffice button in my panel, the window comes to the front, but the focus is still on the last window; so clicking on the OpenOffice button again will not minimize it, typing will not key anything into the document, and clicking on the last app's button will minimize that one instead of switching to it. I might also ask the OpenOffice community in case this is an OO issue. I also might need to switch to AbiWord. OO is an annoying application.
I can think of a lot of different situations when being able to "autoclick" would be really useful. By autoclick, I mean that I want to be able to hold down the left-click button and have it rapidly clickity clickity clickity as fast as the processor can handle.
One example is games where I have a semi-automatic weapon and I have to hammer the mouse button with my finger. It would be nicer to reduce the wear and tear on my trackpad.
My eeepc 900 works well in general, i am very happy with it, and mostly with lucid. But I suddenly ,3 days ago, discovered that my left click button doesn't work anymore. Could it be software related?It happened on my 700 surf for a little while, but before I could really get worked up, it had resolved itself. btw my 900 is maybe old but has not till I aquired it seen much use, I doubt it could be from overuse, but then again, you never know..
I'm attempting to install lFedora 10 from a live cd. I already finished the installation process. But when I reboot to finish the post installation information I can't click the forward button to continue because the screen resolution is to low on my LCD. I can't see the forward button to click in the lower right hand corner. I found out if I just hit the enter button I got through the "Welcome" and "License Information" part but when I get to the "Create User" part after I Confirm my password the pressing the enter button doesn't work. And of course I can't see the "Forward" button to click. Is there some way to go in text mode?
1. Where do I post reports of minor bugs?2. I think I found a minor bug...When you first install Ubuntu and log in. If you of the applet thing on the top bar and click the edit button next to 'Locations' the clock preferences will pop-up.Now if you click on the general tab you will see by default that the clock applet thing should show you the time,temperature and weather...Yet if you look and the applet there is no notification of the of the temperature and weather.I tried to see if un-checking them and closing then opening them up again and re-checking would work but that has no effect.I think this is a minor bug in ubuntu and/or gnome and I would like and update and/or for Ubuntu Maverick Meerkat to correct this.
I have a home LAN server with Ubuntu Desktop edition 10.10 and I'm having a problem with remote desktop application. For now I have a monitor on that machine, but in the future it's gonna be only the box, without any periferal devices. When I try to log in via UltraVNC from Windows XP, on Ubuntu server a little window pops up, asking me to allow or refuse this "invader", so I click Allow and I really have full control on that machine. However, when I dont have any devices I wouldnt be able to click this Allow button, but will have to have full control. So, my question is how to autoclick this Allow button? Or when I try to log in the ubuntu machine, it would automatically give me full control?