You are not logged in.
Last edited by TCF (2016-08-23 18:08:21)
Offline
One way of achieiving the first item (right click -> menu) is to use xdotool's behavior option. For example, if you rename that aterm "DesktopTerm" then you can do something like
xdotool search --class "DesktopTerm" behave %@ mouse-click <command for fluxboxmenu>For the second, you can start X in a screen session, then reattach to that session in the aterm.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
For the first: it doesn't work.
It works perfectly with mouse-enter and mouse-leave, but not for mouse-click I dont need menu on aterm focused ![]()
Last edited by TCF (2012-05-27 13:28:32)
Offline
.fluxbox/keys:
Mod1 F3 :RootMenuWhen I typed
xdotool search --class "DesktopMenu" behave %@ mouse-enter exec key alt+F3 &i got a drag'n'drop menu 0_0
Offline
Yup, it seems I spoke to soon. I can't get xdotool to respond to the mouse-click event either. I'm not sure why. Some creativity may payoff though - xdotool has a lot of options.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline