creating a new gnome terminal, running a command when the term starts...

bruce bedouglas at earthlink.net
Mon Sep 28 18:17:13 UTC 2009


Hi.

I'm trying to create/invoke a new gnome-terminal, were i start/run a script
when the term starts up..

from the gnome-terminal docs, i'm assuming i can accomplish this by using
the "-x/-e" attribute when i fire up gnome-terminal...

this doesn't work... others appear to have the same issue...

so, when i do:
	gnome-terminal -x "foo"

a new gnome term is created, but it hangs without a bash prompt (or any
prompt) created.

so it appears that a useless blank term window is displayed. the "foo"
script is simply an empty script for testing. it has the chgrp of 777 with a
chown of 777 and a chmod of +x.

in the fstab, there is a default devpts so the virtual dev for the term
window should be ok.. i think.

i'm running an older fedora 9 for this test.

any pointers/thoughts...

thanks...






More information about the fedora-list mailing list