LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2015, 05:29 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Rep: Reputation: 41
Getting kstart to terminate


I'm running Kubuntu 14.10. I want to open several programs (firefox, kmail, konsole) in different desktops, and I understand that kstart is the tool to use. But when I specify a file with three kstart commands as the startup file (from System Settings), my system simply hangs.

To understand what's going on, I've been trying something simpler: issuing the single command kstart --desktop 1 firefox from a konsole window. It works, but it does not terminate -- which means that following commands aren't executed. I think that's what accounts for the hangup.

So I'm asking a simpler question: is there a way to issue a kstart command from konsole that will give me a new command prompt without any further action? Most ordinary commands like ls behave just that way, of course.
 
Old 01-17-2015, 11:31 AM   #2
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 91
Code:
kstart firefox &
The "&" at the end makes it run in parallel and the calling shell returns.
 
Old 01-18-2015, 11:05 AM   #3
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 293

Original Poster
Rep: Reputation: 41
I need different desktops

The trouble with using just kstart firefox & is that it doesn't specify the desktop, and if I open several programs that way they all land on the same desktop. I want to open firefox, kmail, and konsole on three different desktops.
 
Old 01-18-2015, 11:45 AM   #4
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 91
That was just an example. The point is: "&" executes the command and makes the calling shell return, ready for new input or to execute the next commands. So you do:

Code:
kstart --desktop 1 firefox &
kstart --desktop 2 kmail &
kstart --desktop 3 konsole &
 
  


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
ps does not terminate Lotharster Linux - Newbie 1 02-18-2006 09:03 AM
terminate the connection ust Linux - General 1 03-19-2005 10:07 AM
how to terminate processes feetyouwell Programming 8 09-18-2004 02:27 PM
Option to Switch User missing from KStart spicyohaggis Linux - Software 11 09-02-2004 03:34 AM
Problems with kstart dvergin Linux - Software 3 03-12-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 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
Open Source Consulting | Domain Registration