View Single Post
Posts: 87 | Thanked: 80 times | Joined on Sep 2009
#6
Originally Posted by jaem View Post
Maybe I'm missing something, but this didn't work for me. I downloaded xmodmap from the Lancode.de repository, then followed the instructions in this thread, and while it changed something, it definitely didn't enable right-click. Some widgets wouldn't respond (which they would to a normal left-click), but widgets that had, say, a context menu, behaved like I'd just left-clicked them normally, rather than displaying the menu. (e.g. links in Tear)
Is there something I'm missing? I exported DISPLAY properly, and ran it as root.
ok, I understand- you know that you must hold down the fullscreen button while clicking to achieve a rigth-click?
If it still doesn't work please try this:
Open a terminal and enter:
Code:
xmodmap -pp
You should get an output like this:
Code:
talakara:~# xmodmap -pp
There are 32 pointer buttons defined.

    Physical        Button
     Button          Code
        1              1
        2              2
        3              3
        ...
Then hold down the fullscreen-button while repeating the procedure. The result must be this:

Code:
talakara:~# xmodmap -pp
There are 32 pointer buttons defined.

    Physical        Button
     Button          Code
        1              3
        2              2
        3              1
        ...
This means that the button-code 3 (right click) is on the left button now.
If this doesn't work you can try it with this command:

Code:
xmodmap -e "pointer = 3 2 1"
This change is permanent then, you will always have a right mouseclick!

To undo this just turn it around:

Code:
xmodmap -e "pointer = 1 2 3"
So you can determine if the xmodmap or the clickhack doesn't work properly.

Also, is this supposed to disable F6's fullscreen functionality? I didn't see anything explicit in the source to do that, but I've never played around with this sort of stuff. If not, is there a way to do that?
For me, both functions are working: maemo-apps can be switched to fullscreen when I press the button shortly, when I hold it down I have a right-mouseclick for the gtk-apps.
I must admit that sometimes the right-click stays and I see the behavior you described above. To solve this I just press and release the button one time and everything works again.

HTH & Good luck!

CU Doc
 

The Following User Says Thank You to magic_doc For This Useful Post: