Debian Multimedia :: How To Bind A Key To Mouse Click With Holding Feature
Jun 21, 2015
I have a trackball with only two buttons. And I searched for a way to scroll (wheel simulation) with the trackball.
I already managed to emulate the wheel when holding a trackball button (eg, the right click). I succeed using xinput as described here. But clicking on the right button when rolling with the same hand is not very easy (indeed it is even difficult).
And since I have some media keys (XF86 on the far most left corner of my keyboard it could be very convenient if I can simulate the wheel using a key press.
Unfortunately the evdev option "Option "EmulateWheelButton" allows only to use a mouse button no key from keyboard.
So I found a way to map a keyboard key (in my case the "Audio Player Next Track" shortcut) to the right click using the three steps [URL]..... So pressing the key actually triggers a right click and this works very well ... with two exceptions .
The first one is that I don't know why but this completely disabled my numkeys (the numpad at the right end of the keyboard).
The keys control the mouse. After I checked under the "universal access" I saw that "Control the pointer using the keypad" option was checked. But this could not be a problem and I could be satisfied without the second problem..
Which is that my keyboard simulated right click do not actually enable the wheel emulation since the rightclick should be held down...
When pressing and holding down the real right button of the trackball it works. Even when holding the right click with a regular mouse.
But using my shortcut key I'm unable to generate a keydown event.
Is there a way to map the keyboard key and the mouse button like this :
a key press => a regular right click
a key down => a held right click
a key up => a right click release
Often when I leftclick with the mouse it registres it as a double click.I am running Gnome, and in the mouse center, it does not help to move the slider.I know it is a issue with Xorg og Gnome, since it works fine in Windows (dual boot).Any ideas to what the issue is?--edit--I have the same problem, when I use the scroll button to click on items, in exampleiceweacel to open it in a new tap. It opens two tabs, instead for one!-edit--Damn, it is actually the same issue in Windows. Need a new mouse
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'm hit with a very annoying bug: mouse clicks do not give focus anymore, focus stays trapped and sometimes right clicking the element that last had focus allows the next left click to move focus. I'm running wheezy with kde. Searching the web it I found no solution but it seems my problem is close to what is reported there:e issue: after alt+tab the window decoration changes as if the focus had moved to the new window but it stays trapped in the previous window. Rebooting does not fix the issue.I have nvidia graphics set up with dual screen through the nvidia drivers but this setup has been working good for several months, so I don't think it's related.
on desktop, my mouse works normal. i can open programs normally, BUT, when i try to click inside some window, pointer turns into closed hand, that symbols dragging. i can move the window that way, but can't click anything except when holding shift, alt or ctrl.it's probably my fault, but i don't remember pressing anything different than usually. oh, and, it started in the middle of the session, i tried to reboot several times, tried recovery too, after that updated but no help there.i was looking for solution on google but can't find anything for days, i cant think of anything but reinstallation
I currently use a laptop (win vista was the original OS) and I decided to get rid of it. So I tried Ubuntu, bam, no pointer, I changed yesterday for Kubuntu and the same problem goes on, invisible pointer. The mouse is perfectly working it's just I can't see it on the screen. To get even worse and make me want to throw my computer through the nearest window, with kubuntu I can't use the same trick as with ubuntu, I mean I can't locate the mouse by holding the 'ctrl' key.
It's a very common problem with VIA/3 chipsets (which is the one I have) and I also read it's often a bug with OpenChrome and to fix it I may have to modify the xorg.conf. But here's another issue, my xorg.conf file isn't in the same folder as for most of the people: instead of being in /etc/X11/xorg.conf, it's in /usr/share/X11/xkb/rules/xorg.conf, and, which is most, it ain't even named xorg.conf but xorg! Besides, I can't modify the file to enter a command that may be a solution because when I try to save my modifications, it tells me I haven't the permissions and I can't get it to run in root.
I just installed Ubuntu 10 as a dual boot with Windows 7. I was using it for a couple of hours (and really liking it) when all of the sudden the Ubuntu Software Center stopped responding and I was unable to click anything.
After logging out of my account I noticed I had proper mouse function. I restarted the system and noticed the same thing happening when I logged into my account.
Basically what has happened is that I have to hold the Shift key down in order to press application buttons, like "OK" and "Cancel".
If I click on a link in firefox nothing happens. I need to hold shift and left click to follow the link, which of course opens the link in a new window.
If I try to right click on the desktop nothing happens unless I hold shift.
I looked through the mouse and keyboard settings and did not notice anything odd.
About a week ago I did a fresh install of Maverick on somebody else's laptop. Everything was fine at first, but a couple of days ago the person contacted me saying that they weren't able to move or resize windows anymore. (The only thing that does work with respect to moving a window is initializing the action by pressing Alt+F7.) Later we found out that they also can't drag and drop files or use the mouse to drag scrollbars up and down. So basically, they can't do anything that is usually done by holding down the left mouse button and moving the pointer. I've already tried the following things to make it work again:
- playing around with the mouse settings
- checking in CCSM whether the 'move window' and 'resize window' plugins were enabled
- setting desktop effects to NONE in the visual effects tab in 'appearance'
- using compiz fusion icon to (1) reload window manager and (2) switch from compiz to metacity for window management
- deleting folders containing GNOME settings from home folder (.gconf, .gconfd, .gnome2, .gnome2_private), logging out and back in afterwards to automatically create new configuration files
I've been doing a lot of googling about this but I'm running out of ideas. Most people (there don't seem to be that many) that have had a similar problem are saying that it's got something to do with compiz, and disabling it solved the problem for most of them. But in my case - no dice.
I first noticed this problem when trying to play a first person shooter game. If I hold a key down such as "w" the mouse glitches and moves incredibly erratically when I try to look around. This happens outside of the games as well. What is the solution for this?I'd really like to be able to play an fps game.I have tried disabling compiz as well as turning off the "disable trackpad while typing" option as well.
I am currently using Debian 8.1 64bit with openbox as a WM. I have multi arch enabled. I remember also having this problem with Debian 7. I use nvidia graphics drivers over the nouveau as I would like the hardware acceleration. I have had this problem with two different "gaming" mice. But the mouse I am currently using is a Corsair M65 Gaming Mouse.
The matter of hand is about once a week my mouse tends to misbehave. I can move the mouse around but I cannot click on any windows or select any options by clicking. I cannot even right click on the desktop! I have tried starting X in another tty and the issue tends to persist shortly after starting X. The weird part is other days of the week the mouse works completely fine.
Having this problem in the first place, I have a snoop around and I learnt that I needed to create a config file for the mouse.
I have created a file in: /etc/X11/xorg.conf.d named 50-vmmouse.conf with the contents of:
I have also tried putting the same data into an xorg.conf file, but alas the problem still exists.
Just to note, I have not tried using a basic mouse for a week, so I cannot pass any data on that. But I prefer the issue to be resolved with the mouse I enjoy using.
This is really frustrating as it stops me from using my system properly, the only solution tends to be to restart the machine. It would be nice for my mouse to work 100% of the time knowing it'll work.
Mouse misbehaves about once a week, tried different config files but no avail.
I've successfully installed debian 8.3 KDE to my desktop fill it with different progs and quite smoothly use it for about one month.
Fixing some minor issues with google. But suddenly something get wrong
I do not remember that I done anything special but one day after logging to system I found that system do not fully process left mouse button.
Mouse pointer was moving OK, right mouse botton was able to envoke pop-up menu.
I was able to run programs from desktop icons by left-mouse button click .. but once program window was opened it does not react on left mouse button so for example i was not able to switch between browser tabs or close window clicking on it it top right cross As well KDE "start" button do open menu but that's all no reaction on left click.
First solution was ctrl-alt-del wait for 30 seconds .. re-login and voila ... that restores normal behavior until next reboot after some reading I found more quick workaround ctrl-alt-F1 ..... ctrl-alt-F7 and OK system works again as expected no problem with mouse at all...
I've tried to create another user, tried to reinstall kde-window-manager (kwin) and kde-plasma-desktop (just marking it for reinstall in Synaptic) no effect.
After some time it become react on left mouse button even worse .. so even KDE start menu button stop open at all after click strange but really like it was some live slowly dying organism .
ctrl-alt-F1 ..... ctrl-alt-F7 is my only life saver at the moment but it is only workaround ....
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.
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
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'm using squeeze and the xserver-xorg-core, kdebase and kdm packages with their dependencies in addition to the base system installation. I get glitches when I try to drag the icons on the panel: I can't move them properly and occasionally the whole screen gets redrawn (by this I mean it goes black and gets back several seconds later.) and gives an error with signal 11 (segmentation fault). The problem is not specific to my user account, because I tried it with a newly created user, and I didn't do any configuration on mine either. I also experienced other glitches, about which I made some screenshots: [URL]
I have a remote control (imon --> Harmony) that acts like a mouse. My goal is to remove that feature. Iam using lirc with Linux input layer (/dev/input/eventX) because Imon driver doesn't work at all. To get Linux input layer to work you need to choose the imon device.
I have been looking for a way to make whatever window that has focus react as if I middle-clicked into it (paste selection buffer), using only the keyboard. I installed xmacro, xbindkeys, ruby, and xclip to get this working. For Debian/Ubuntu, you should be able to do this:
I'm using a Dell SC440 server for this effort. I started with Debian 6.0.7 32 bit i386 version in mid April and everything seemed to go smoothly until the first boot finished, I wanted to look at the hard drive just to see what storage space was left to work with. The drive was not recognized and I could not mount it. The error message was "One or More Block Devices are Holding /dev/dm-0".
I could not find anything on the debian forums that seemed to relate to the error message so Google led me to the same problem on Fedora, Ubuntu and one other distro. I flattened the machine and restarted from scratch. This time using Debian 6.0.7 AMD64 version. The install went well but I had the same problem with the same results. So I started over several more times before the new Debian 7.0 AMD64 version was released. Under Debian 7.0 I not only get the same error message but I also get a message that my video card is not supported under this new version of gnome and sudo does not work.
i've recently reinstalled my computer after the unexpected death of my hard drive. (with the lastest Etch install CD) I have a weird bug that is quite annoying: i cannot change the focus of a window using the left click, I have to use the right click first, and sometimes it doesn't even work. For example, i log in, click on the launch menu and fire a terminal. This works. Let's say i type a few commands, and wants to start mozilla. I left click on the menu, and nothing happens. If i right click the properies menu appears, and then i can use the left click on the menu. It's like that for everything. Let's say i have a terminal and mozilla started. If i'm on mozilla and wants to use the terminal, i have to right click on it, cancel the menu and then i can use the mouse on it. Even atl tab doesn't help: the keyboard gets the focus correctly, but the mouse can't click anything in the window. I've tried replugging the mouse, rebooting, using another mouse, nothing helps. Last thing is reinstall again, and i hope i won't have to.
I just installed gnome-mplayer and gecko-mediaplayer on Debian Squeeze (after removing Parole and its browser plugin). Now when I right-click on a file in Thunar, the menu instantly vanishes unless I hold the right mouse button down. The menu works fine, but having to hold the button down is mildly annoying.
The funny thing is, right-clicking on the background in Thunar works exactly as expected; I never have to hold down the button. And this is definitely not a mouse problem, because I can observe the exact same behavior with any mouse or touchpad.
Update: switching to a different GTK theme seems to have fixed it.
So I'm trying to change the primary click on my touch-pad to left-handed with xmodmap -e "pointer = 3 2 1". it changed successfully, but there is one functionality I'd like changed. The touch pad itself changes to secondary too, but I want it to remain as primary.
I prefer to use the single-click behavior under KDE 4.4.5 / Squeeze / AMD64. All KDE applications honor the single-click settings, but GTK-based applications don't. Is there a way to configure GTK so that all file dialogs are indeed single-click?
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'm running lenny on a dell c600. Presently I'm using kde (which is great), but due to system requirements (c600 is ancient... more than 5 years old ; ) it's a bit slow. So I started checking out lxde and xfce. There both great, except for one problem: The left click on a program icon in the (pardon the microsoft analogy) start menu launches it unstead of giving me options like 'link to desktop'
Alright ... recently switched from Ubuntu with FF 4.0 to Debian with Iceweasel which I had to upgrade to 4.0 since I really liked the way it worked on Ubu 10.10 ... but I'm having some really strange rendering issues. Flash is not a problem at all, works fine on all flash sites that I've checked out. Some sites though, including this Debian forum, do not show everything in the Iceweasel browser window.
For example, sometimes I'll be browsing on a page with huge chunks of white, clearly indicating that "something" should be in those spaces. When I look at those same pages with Chrome or Opera, everything is filled the way it should be ... all content is displaying properly.
On some sites, like this forum, the rendering is even worse because not only do some items not show up, but in addition most of the links don't work at all. For example, if I use Iceweasel 4.0 to look at the board index of this forum, I can't click on any of the links, not the links in the main sections anyway. If I open up Chrome (that's what I'm using to write this) or Opera, the problem is gone.
What the heck is going on, does anyone know? Is this an Iceweasel bug? Am I missing some package update? I'd hate to have to switch my preferred browser just because this weirdness is going on. At first I thought it was a fluke, specific to a site or two only, but at this point I've seen these rendering issues on about 10 sites ...
i just installed ubuntu through windows installer, the problem is that some times my mouse stop working i cannot click any where but i can open some stuff with my keyboard . when i open my browser with keyboard my mouse starts working , but still cant click on the top menus like volume , mails , or shutdown restart etc ... but when i right click on an empty page of the browser again my mouse stops working ... right know i am only working with keyboar