You are not logged in.

#1 2012-05-27 12:10:43

TCF
Member
Registered: 2012-04-01
Posts: 5

Desktop term at fluxbox customization

­

Last edited by TCF (2016-08-23 18:08:21)

Offline

#2 2012-05-27 12:30:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: Desktop term at fluxbox customization

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

#3 2012-05-27 12:57:48

TCF
Member
Registered: 2012-04-01
Posts: 5

Re: Desktop term at fluxbox customization

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 sad

Last edited by TCF (2012-05-27 13:28:32)

Offline

#4 2012-05-27 14:15:24

TCF
Member
Registered: 2012-04-01
Posts: 5

Re: Desktop term at fluxbox customization

.fluxbox/keys:
   Mod1 F3 :RootMenu

When I typed

xdotool search --class "DesktopMenu" behave %@ mouse-enter exec key alt+F3 &

i got a drag'n'drop menu 0_0

Offline

#5 2012-05-27 14:52:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: Desktop term at fluxbox customization

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

Board footer

Powered by FluxBB