LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-17-2008, 05:34 AM   #1
RaiL
LQ Newbie
 
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Thumbs up give a name in a new xterm and at the same time execute something


Ok guy Im having troubles to make this work..

I know there are different ways to name a xterm window like:

xterm -n "example_name1"
xterm -name "example_name2"
xterm -T "example_name3"
xterm -title "example_name4"

but in the same command I want to run at the same time a jar file, for example:

xterm -name "example_name2" java -jar proyect1.jar

anyone could explain me that please?
 
Old 12-17-2008, 05:39 AM   #2
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
I don't know about xterm but I know screen will do it and allow you to do a whole lot of fab things such as leave the console and keep the application running, then reconnect to it later on.

Hope this helps even if it's not exactly what you are after.

-eco
 
Old 12-17-2008, 05:44 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
xterm -name "example_name2" -e java -jar proyect1.jar

(-e stands for execute)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When I tries to execute the xterm i got this message: xterm: no available ptys johnsanty Other *NIX 4 09-20-2006 01:29 PM
Give user rights to execute program max2004 Linux - Newbie 7 11-30-2005 08:17 PM
Set the Xterm title to reflect the current time ! Bonch Linux - Newbie 11 10-25-2004 05:50 PM
Not able to give execute permissions needanyhelp? Linux - General 4 08-20-2004 06:19 AM
About time to give up :( Bullzeye Linux - Newbie 3 08-28-2003 01:59 AM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration