Ah, no, "%" is just to tell you it's from your prompt as a user (not as root). When I type:
Code:
%xev Code:
xev |
Is my face :D RED! Its times like these that I've never appreciated Internet Anonymity more! Thanks again calande for all the help (and pointing out that painfully obvious error on my part)!
|
No problem ;)
So, what functions did you assign to what buttons, just out of curiosity? :) |
Nothing special really. I pretty much have it programmed the same way it was when I ran Windows. Upper-left is now a single click. The lower-left is the right-click. I'd like to make upper-right drag & drop but I haven't figured out how to do that just yet. And the lower-right is now double click.
A Linux driver wasn't a concern when I bought this trackball (which I've been very happy with) because I wasn't using Linux back then. But it is now and if I'm going to drop 100+ USD on any hardware from now on, "Linux compatible" (drivers included) be a issue. Many thanks again! Cheers! |
No problem. Personally, I don't know any trackball that comes with Linux drivers released by the manufacturer. But what functionality are you missing exactly? Is your trackball a Kensington one?
You would like to assign a button a drag & drop, but how can you drag something with a button? If you explain, I may be able to help you, as xmacroplay allows pretty much anything :) |
calande, you're a godsend!
Firstly, yes. My trackball is the Kensington Expert Mouse Pro. Exact same model pictured in werner1975's original post (don't know why they changed the name). By drag I mean simulate holding down the left button. When used with Windows (driver installed), drag was one of the programmable options. It came in very handy for moving icons/objects which can be a bit of a knuckle buster if you have 10 thumbs like I do. Instead of holding down the left-click button and moving to another location with the rollerball then releasing the button, I could assign a button to just click and hold until released with a click from the normal left-click button. Its also great way to group objects. |
I see. I assume you would still have to move your marble to move the files elsewhere, right? If you want to just hold down your button, here's what you could try, assuming you want to assign the function to button 9:
Code:
"echo 'ButtonRelease 9 ButtonPress 1' | xmacroplay :0" |
That should have been the last part of the puzzle but now when I start xbindkeys some kind of weird looping takes over the buttons and the only way to stop it is to reboot.
My modifications to xbindkeysrc: Code:
"echo 'ButtonRelease 8 ButtonPress 1 ButtonRelease 1' | xmacroplay :0" Code:
xbindkeys -n -v >> | xbindkeys_what_is_going_on |
Yep, you need to tidy xbindkeysrc a little bit. I can see that button 8 depends on button 1, which depends on button 3, and so forth... So if you click the upper-right button, I guess the computer may go crazy :)
|
All times are GMT -5. The time now is 12:42 AM. |