You are not logged in.

#1 2010-04-20 19:14:46

yvonney
Member
Registered: 2008-06-11
Posts: 671

xmonad WITH vncserver: pass key cmds to remote xmonad PC?

Hi... if both machines have xmonad and the same key commands do the same things on both the host and the remote
then HOW does one send a key command through vncviewer TO the remote that expects the same command and
is running vncserver. Hope that's clear enough. basically: 2 identical xmonad systems with same key commands required.

IS there a way to specify that key commands TO the remote don't get triggered on the main PC, and only on the remote?
Have searched and found nothing yet.

Last edited by yvonney (2010-05-30 21:52:18)

Offline

#2 2010-04-20 19:23:28

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: xmonad WITH vncserver: pass key cmds to remote xmonad PC?

Maybe xdotool key -window $(xdotool getwindowfocus) "key name"

But emulating modifiers tends to go wrong with xdotool.

Offline

#3 2010-04-20 19:32:17

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: xmonad WITH vncserver: pass key cmds to remote xmonad PC?

yes, this does feel like an interesting one.
Perhaps xmonad IRC, someone will have, how best.
Thanks for xdotool pointer.

Offline

#4 2010-05-30 21:49:02

yvonney
Member
Registered: 2008-06-11
Posts: 671

Re: xmonad WITH vncserver: pass key cmds to remote xmonad PC?

OBJECTIVE: two identical xmonad installs. one on local PC, one on WAN accessible remote PC.
PROBLEM: xmonad specific key commands not passed to remote as already used on local

Very interested in any tips on option two.


option one: Synergy

option two: xmonad wmctrl  and  ewmh module


this is interesting though only somewhat related:
http://www.doitian.com/2009/09/clickabl … or-xmonad/


AND:  wmctrl
http://tripie.sweb.cz/utils/wmctrl/

Last edited by yvonney (2010-05-31 06:55:47)

Offline

Board footer

Powered by FluxBB