Hi Xenia

you can create a bash script in your /usr/local/bin directory

and put in a line like :

gnome-terminal --command "ping xxx"

if you want to execute multi command in tabs, you can put one line into bash
script like :

gnome-terminal --tab-with-profile=Default -t "task1" --command "ssh xxxx"
--tab-with-profile=Default -t "task2" --command "ssh yyyy"
--tab-with-profile=Default -t "task3" --command "ssh zzzz"

Kevin

On Sat, Sep 10, 2011 at 8:56 AM, Xenia <[email protected]> wrote:

> Dear awesome list,
>
> I'm managing my autostart programs by changing my
> /etc/xdg/awesome/rc.lua
> as discribed in the wiki-article about the nm-applet [1].
>
> Now I'm searching for a method to start the gnome-terminal and execute a
> command in it automatically.
> Is there a way to do this? I'm not that skilled in writing own scripts
> that I could do it in that way.
>
> Thanks in advance.
>
> Xenia
>
> [1] http://awesome.naquadah.org/wiki/Nm-applet
>
> --
> To unsubscribe, send mail to [email protected].
>



-- 
Kevin Rong
Network Engineer
Corporate Network Operations
Google INC
Sydney, Australia
Tel: +61-2-9374-4084

Reply via email to