Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 23:30
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Mouse click/Touchscreen behavior - How to modify?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
greengeek

Joined: 20 Jul 2010
Posts: 2752
Location: New Zealand

PostPosted: Fri 20 Jun 2014, 04:01    Post_subject:  

amigo - I am trying to read up on aewmmenu, from your experience do you know if it is possible to use this to pass the cursor position of the original 'click', through to the programme that aewmmenu triggers?

ie: imagine that the aewmmenu ofered a menu consisting of:
Option 1) "Left click at original location"
Option 2) "Right click at original location"

and I clicked a pixel at, say, x=150 and y=300 - could aewmmenu pass (150,300) through to the programme (say, xdotool) that it called via the menu?
Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2752
Location: New Zealand

PostPosted: Fri 20 Jun 2014, 06:05    Post_subject:  

Just thought I'd mention an idea I've been trying as a way of getting a rightclick function on a device that has no rightclick button - my Acer Iconia tablet has a "Windows" key on the front (not much else; just a power button and vol up/down) and I thought I would try using the windows key as a rightclick button.

It seems to work ok:

Add a line to /root/.jwm.jwmrc-personal:
Code:
<Key keycode="115">exec:rightclick</Key>

(used xev first to confirm that the windows key triggered the 115 keycode)

Make a script in /usr/bin called "rightclick"
Code:
#!/bin/bash
sleep 0.1
xdotool click 3 &

(may not need the sleep delay)
Right click the script and give it executable permissions.

Prerequisites - xdotool
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0406s ][ Queries: 12 (0.0036s) ][ GZIP on ]