When I'm at work, I use KDE activities and map them to my projects. I always use the same applications on every project, so I'd like to keep my windows visible when I change the activity. For the moment, what I do is go through every window, right click on the title bar, and check the checkbox that makes the window appear on all activities. How can I configure my windows default value for this choice? I'd like every window to appear on all activities by default.
This question may be old, but I think I have found the perfect solution.
- Go to System Settings > Window Behaviour > Window Rules
- Add a new Rule
- Mark all window properties as 'Unimportant'
- Select all 'Window' types like in the screenshot
- In the tab 'Size & Position', tick 'Activities' and configure it as 'Apply initially' and 'All Activites', like in the screenshot
- Click 'Ok'
This should set all windows to be on all activities by default.
It's not elegant, but might help. Idea that comes to my mind is to search for such windows with
xdotool search --name WINDOWNAME and then try to "inject" mouse clicks or - this is easier - keystrokes ( example:
xdotool search --name WINNAME key ctrl+c. that results in such setting ( "alt+space" usually gets WM window options, later arrows... this should be possible to do by keystrokes injection ).
I asked the question here : http://forum.kde.org/viewtopic.php?f=111&t=98797&p=211999#p211999 and it appears not closing the windows when shutting the computer down makes them reappear on startup with the same options, which is a good workaround for this problem.