Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
...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.
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?
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...)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.