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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Is there any command to start a program in a specific desktop? Say I'm in desktop 1 and I want to start something in desktop 3, anyway to do this without switching to desktop 3? Im using fluxbox if that matters.
Yes, yes I do. I am supposed to be at the mall buying presents since I waited til the last minute, but I just can't close my browser down long enough to leave LQ I even come here on my lunch breaks, I sure wish I had a local chapter for LQ Addicts
Well, I believe xhost is what might help. Let's say you are working on desktop 1 (F7), and you want to be able to open <whatever X app> in desktop 3 (F9). So then you have user A (We'll call em Tom) and user B (Called Sam). Tom's on 1, and Sam's on 3.
So now you want to open up a program from typing into an xterm in Tom's desktop and have it open up in Sam's.
So, I think by using xhost (man xhost) Sam can allow Tom to send things to him:
Now Tom has to set the environment to Sam's X (F9):
setenv DISPLAY -- :2
Although I am not too sure if any of this will work, I am really unsure about the last part.
Anyway, with any luck at this point you could then type:
and it would open up kwrite on Sam's desktop.
For a single user system, assuming both of the X's were started with the same user (example:
Tom runs: startx
Then to open another X session:
startx -- :1
startx -- :2
And so on. Then you could probably simply skiip the xhost part and setenv would set where you want this program sent to (set environment I believe is what setenv stands for).
Yes, but I think that ubien want to switch between desktops, not between different xservers running. With startx we start others xservers, not change between desktops: Ctrl+F1 + .. + Ctrl-Fn in KDE (I don't know how with fluxbox).
Oooooh, I think I am seeing what you mean, and I have NO idea how to do something like that in Flux. I run Flux too, but I don't usually have the desire to do that. I simply switch desktops using my scroll on my mouse, then run the program I want to run.
Ahh, Ok, well thanks for clarifying that, it gives me something to search on tomorrow evening
Yea reader has it right, only 1 instance of X running. I've asked around other places about this and no one had an idea of how to do this. Maybe there isn't a way right now, I think I'll post a feature request for it @ fluxbox's project page.