Re: Sawfish and gnome-panel action menu



Andrea Vettorello wrote:

Christian Marillat wrote:

Andrea Vettorello <dnc thctribe net> writes:

Seems i can't bind a key to the gnome-panel "Run Application..." action
with Sawsfish (gnome-panel 2.8.2, sawfish 1.3+cvs20040617, i.e. an
updated Debian Sid).


See Debian bug 217015. I've received this reply from John Harper :

,----
| this could be trivially coded in lisp:
| | (send-client-message 'root '_GNOME_PANEL_ACTION=20
| [_GNOME_PANEL_ACTION_RUN_DIALOG 0] 32)
| | so I don't see any reason to include this in sawfish itself
`----

So this bug has been tagged wontfix upstream.

I've received this reply in private, so the BTS contains nothing. BTW I
don't know if this solution is working or not.

Thanks Christian, i'm trying to look how to use the above lisp one liner with Sawfish (easier said than done =).

I'm digging on the rep documentation right now...



Reply to myself, seems i don't know how to use what was suggested by John. After looking on Sawfish documentation and extensive google use i've cobbled this:

sawfish-client -e "(send-client-message (get-window-by-name \"Top Panel\") '_GNOME_PANEL_ACTION (vector (x-atom '_GNOME_PANEL_ACTION_RUN_DIALOG) 0) 32)"

This works binded to a key shorcut and executed as a shell script, maybe someone with more in depth Sawfish knowlege can suggest how to use it directly...


Andrea



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]