Jump to content

starting applications from the command line


Guest brent2
 Share

Recommended Posts

Guest brent2

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

Link to comment
Share on other sites

Guest brent2

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.

Link to comment
Share on other sites

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?!?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...