You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, March 29th 2006, 10:34pm

Autostart different applications on Multiple Desktops

I am running FC4 with KDE 3.5 and have 2 monitors with 2 separate desktops (i.e each has its own Application menu - it is not a "big desktop") connected.

Is there a way I can launch a program on login on ONE of the desktops only?
If I place a script in ~/.kde/Autostart/ then it will execute on both desktops simultaneously upon login. If I open kcontrol and edit the autostart path on one desktop then the changes are applied to both desktops. The files on the desktops are stored in ~/Desktop and ~/Desktop1, respectively, although kcontrol only reports ~/Desktop in the 'paths' section, no matter which desktop I run kcontrol from. Is there a similar way of attaching different autostart directories to each desktop?

Any suggestions will be much appreciated. Thanks!

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Thursday, March 30th 2006, 5:25pm

RE: Autostart different applications on Multiple Desktops

Quoted

Is there a way I can launch a program on login on ONE of the desktops only?


Right click a title bar, choose Configure Window Behaviour and choose Window Specific Settings at the left. In this section, you can define rules for specific windows. For example, to load certain windows initially on a configured desktop.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Friday, March 31st 2006, 6:03am

RE: Autostart different applications on Multiple Desktops

Hi,
Thanks for your suggestion. This seems to be a very powerful tool, but I can't quite see how to get it to achieve my goal.
It seems that it will allow me to force a window to obey certain rules once it is opened - e.g. I can make the calculator appear on Desktop#3 when I run kcalc. The problem is that there is a Desktop#3 on both monitors, so if I load it from an xterm on the second monitor, it appears on Desktop#3 on the second monitor. But I load it from an xterm on the first monitor, it appears on desktop#3 on the first monitor.
There is probably confusion about the word 'Desktop'. The files stored in ~/Desktop appear on each of the multiple desktops I have on the first monitor, whereas the files in ~/Desktop1 appear in each of the multiple desktops I have on the 2nd monitor (I hope this makes sense).

My problem is that I want to run a script (which loads a few programs, e.g. irexec is one) upon login. If I place the script in ~.kde/Autostart/ then even if I can configure the programs opened to launch on Desktop#3 - they will launch on Desktop#3 on BOTH monitors, but I only want them to launch on one monitor.

If you think it can be done with the 'Window Specific Settings' would you be able to explain exactly how I set this up?

Thanks again!