Guest brent2 Posted April 8, 2006 Report Share Posted April 8, 2006 I an running KDE with 4 desktops. Is it possible to start up an application, say emacs, from a terinal window on desktop 1 and have it pop up on desktop 2. How do I define this on the command line? Brent Quote Link to comment Share on other sites More sharing options...
devries Posted April 8, 2006 Report Share Posted April 8, 2006 If you use KDE, rightclick the windowbar, choose advanced, special windowsettings, tab geometry and chack desktop and select the desktop number. Quote Link to comment Share on other sites More sharing options...
Guest brent2 Posted April 10, 2006 Report Share Posted April 10, 2006 thanks, but this did not work for me. What I want is a command line solution. I did try your suggestion but the menu options you describe are not present my KDE setup. This is what I did, right click the window gives> Advanced, To desktop, Move, Resize, Minimise, Maximise, Shade, Configure Window Behaviour, Close Advance gives> Keep above others ,Keep below others, Fullscreen, No border, Store Window Settings Either I dont have an 'advance'>'special windows settings' or I'm completely lost. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 10, 2006 Report Share Posted April 10, 2006 Try something like this: emacs -display localhost:1 see if that displays it on an alternative desktop. Your first desktop, is normally known as "0". So try localhost:0 to see it pop up on your first desktop, and then go from there. EDIT: Ignore me, that doesn't work. This is if you have multiple X servers working. Although on my KDE I have the options that devries mentions. You don't mention what version of Linux you're using and/or what version of KDE?!? Quote Link to comment Share on other sites More sharing options...
devries Posted April 10, 2006 Report Share Posted April 10, 2006 A picture says more then a 1000 words..... This can also be called from the command line. Unfortunately I have forgotten how. :( If I have time tomorrow I will try and look it up for you. Quote Link to comment Share on other sites More sharing options...
aioshin Posted April 11, 2006 Report Share Posted April 11, 2006 ok, I'd like to ask it here, since I think its a sort of related to the topic, how could I make it happen, I have a remote Desktop PC, then I have full access on it thru ssh, then via cli, I want to start a certain application.. say.. emacs and display it on that remote PC's desktop, so it'll just pop up on that desktop.. is it possible? how? Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted April 11, 2006 Report Share Posted April 11, 2006 To the original question: In KDE, you can use kstart: kstart --desktop 2 emacs See man kstart or kstart --help for more of what kstart can do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.