On Fri, Sep 04, 2009 at 07:37:47PM +0200, Carlos R. Mafra wrote: > The problem with thunderbird and firefox is that their "command" > line in WMState are "thunderbird-bin" and "firefox-bin", instead > of just "thunderbird" and "firefox". So as the *-bin commands are > not in my $PATH, they fail to be started when wmaker starts. Newer FF (xulrunner) sets WM_COMMAND:
$ xprop -id 0x2c00001
...
WM_COMMAND(STRING) = { "xulrunner" }
And /usr/bin/firefox looks like:
#!/bin/sh -efu
export
MOZ_PLUGIN_PATH="/usr/lib/browser-plugins-npapi:${MOZ_PLUGIN_PATH:+":$MOZ_PLUGIN_PATH"}"
export APP_NAME='firefox'
export APP_PREFIX='/usr/lib/firefox'
export XUL_APP_FILE='/usr/lib/firefox/application.ini'
exec /usr/bin/xulrunner ${1:+"$@"}
I wouldn't go so far to call that WM_COMMAND "wrong", it's just
how FF itself is being executed. I guess this also applies to TB.
--
Regards,
Sir Raorn.
signature.asc
Description: Digital signature
