How to diagnose programs not launching?

I have a key set to runOrRaise "firefox3". Recently, it stopped working and I can't figure out why. Running firefox3 manually from the shell works fine, just not the shortcut. Is there a way to see what errors xmonad is receiving when it tries to run the command? I already tried looking at .xmonad/xmonad.errors, it just says: on the commandline: Warning: -no-recomp is deprecated: Use -fforce-recomp instead Which I suspect is related to xmonad rather than my firefox call.

On Friday 22 May 2009 23:31:53 Joseph Garvin wrote:
I have a key set to runOrRaise "firefox3". Recently, it stopped working and I can't figure out why. Running firefox3 manually from the shell works fine, just not the shortcut. Is there a way to see what errors xmonad is receiving when it tries to run the command? I already tried looking at .xmonad/xmonad.errors, it just says:
on the commandline: Warning: -no-recomp is deprecated: Use -fforce-recomp instead
Which I suspect is related to xmonad rather than my firefox call.
Another place to look is ~/.xession-errors. It is file where xmonad's stdout and stderr are redirected. Outputs of processes created by xmonad are redirected to the same place. So if xmonad tries to launch something and it fails there is chance that it will write something meaningful to that file.

Joseph Garvin
I have a key set to runOrRaise "firefox3". Recently, it stopped working and I can't figure out why. Running firefox3 manually from the shell works fine, just not the shortcut. Is there a way to see what errors xmonad is receiving when it tries to run the command?
Perhaps ~/.xsession-errors ? -- Edit this signature at http://www.digitas.harvard.edu/cgi-bin/ken/sig "you can change the signature file I use" --- can I change the file, or your practices? Can I change you? If this is an automated message, I guess all three in one go.

On Fri, May 22, 2009 at 02:31:53PM -0500, Joseph Garvin wrote:
I have a key set to runOrRaise "firefox3". Recently, it stopped working and I can't figure out why. Running firefox3 manually from the shell works fine, just not the shortcut. Is there a way to see what errors xmonad is receiving when it tries to run the command? I already tried looking at .xmonad/xmonad.errors, it just says:
on the commandline: Warning: -no-recomp is deprecated: Use -fforce-recomp instead
Which I suspect is related to xmonad rather than my firefox call.
The xmonad error is just a harmless warning. Is the $PATH that xmonad receives different from the one your shell uses? This is a common mistake. Cheers, Spencer Janssen
participants (4)
-
Chung-chieh Shan
-
Joseph Garvin
-
Khudyakov Alexey
-
Spencer Janssen