First of all thanks to all the people for replying. I will respond to this message. > % I also have a shortcut aka launcher with a nice mutt icon that > % starts a gnome-terminal with a larger than default geometry and > % --command mutt. > > When you start that command how does your mutt get any environment > settings? Unless bash runs to set it before calling mutt then you won't > see it.
Well, I don't know. My understanding was that the terminal starts a new shell and optionally runs a command. I checked the manual and there's nothing there changed my initial belief. Hence my question whether I am dealing with a feature or a bug. > Try putting mutt in a wrapper that sets your vars and is called by > your --command shortcut and see what it gets you. That works beautifully. Since this is my first scipt I am not sure what I have done. The script works with "#!/bin/sh" as the first line and without it. I have also tried to put some different things behind --command, like echo foo>foo.txt. This never works and even sometimes causes a startup error. After some sleep I will try to search the gnome bugzilla again and see if there is something that describes problems with the --command option. For now I am happy I can click to get some mutt. Bob
msg29278/pgp00000.pgp
Description: PGP signature
