LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-12-2003, 12:51 AM   #1
dvergin
LQ Newbie
 
Registered: Feb 2003
Location: Washington State
Distribution: RedHat 9.0 (updated)
Posts: 14

Rep: Reputation: 0
Problems with kstart


I want to build some scripts to set up specific desktops in KDE for specific tasks that typically require several programs open in a convenient arrangement. This seems like an obvious thing to try to automate -- but I'm not getting the results I want.

kstart looks like what I should use to place each program window in its proper place. The docs say it can start up a program in a specific desktop. But if I use the example often given on various web pages...

kstart "konsole" -desktop 3 -activate

I get a process (shown by "ps auwx") but no konsole session in *any* desktop.

If I do:

kstart -desktop 3 -activate "konsole"
or
kstart --desktop 3 --activate "konsole"

I get a new konsole session but it can either be in desktop 3 or the current desktop depending on what I have done with konsoles in the recent past. (I cannot nail down the pattern with any clarity.)

And attempts to control the size and placement of the new konsole...

kstart -geometry 600x400+0+20 --desktop 3 --activate "konsole"
or
kstart --geometry 600x400+0+20 --desktop 3 --activate "konsole"

...seem to have no effect on the geometry of the new konsole window.

And what's up with the single/double leading hyphen on the options? The examples I find on the web all show single hyphens. But "kstart --help-all" shows double hyphens for all options. Either way seems to (not) work equally well.

Clearly I am missing something in this whole enterprise.

Specific kstart question: how do I get kstart to consistantly open a program in the desktop and geometry I want.

Or if that is the wrong approach to my project, how *do* I write a command line (later to go in a bash script) to open a program in a specified KDE desktop other than the current one with specified geometry?

I am using bash with an updated copy of Redhat 7.3 and KDE 3.0.

TIA
David
 
Old 03-12-2003, 06:21 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Do you want them to open when you start kde? or do you want to have a script that will set up a desktop for a certain project(?) with a single command?
 
Old 03-12-2003, 10:31 AM   #3
dvergin
LQ Newbie
 
Registered: Feb 2003
Location: Washington State
Distribution: RedHat 9.0 (updated)
Posts: 14

Original Poster
Rep: Reputation: 0
I'd like to have a script to set up a desktop for a certain project with a single command after my computer has been running for a while and I want to work for a while on that project.

(It is a needless bother each time to open the editor window, place it just so, open the ftp client, put it where I have become accustomed to having it, open an ssh window, put it where it is handy, etc...)
 
Old 03-12-2003, 04:48 PM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Well after a bit of a play around with kstart I can't seem to sort out the geometry issue, maybe you should post a question to one of the kde mailing lists.
 
  


Reply



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
Ethernet Adsl Modem Driver Problems And Install Problems... akhilnair Linux - Hardware 12 11-28-2004 08:19 AM
cisco 350 wireless problems and suse x-server problems incognito9 Linux - Wireless Networking 5 10-14-2004 07:53 AM
Option to Switch User missing from KStart spicyohaggis Linux - Software 11 09-02-2004 03:34 AM
Problems, problems, problems. Lets start with the soundcard Kre8ive Linux - Newbie 5 08-07-2003 01:20 AM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 07:04 PM

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

All times are GMT -5. The time now is 05:33 PM.

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