Bug 393685 - Feature Request: Please add option to stop activity when empty
Summary: Feature Request: Please add option to stop activity when empty
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Activities in general (other bugs)
Version First Reported In: 5.27.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Ivan Čukić
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-30 15:47 UTC by Victor
Modified: 2025-09-30 13:38 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor 2018-04-30 15:47:59 UTC
Note: This is feature request, but I could not find a whishlist for 'kactivitymanagerd'.

It would be great to be to able to automatically stop an activity when it's empty, or automatically start an activity when you open an application that has been assigned to that activity. I know this can be achieved via shell scripts (which is what I'm using right now), but it would be great to have this as an option for the activities settings. 

Note 2: You guys are doing a superb job!!
Comment 1 David Edmundson 2018-04-30 17:26:43 UTC
By empty you mean no application specific to that activity running?
Comment 2 Victor 2018-04-30 21:43:44 UTC
(In reply to David Edmundson from comment #1)
> By empty you mean no application specific to that activity running?

That's correct. If no windowed app is running on that specific activity, then it gets stopped. And if you open an application that is assigned to an activity that is currently not running, then the activity gets started automatically. 

I put this quick bash script to do just that - https://pastebin.com/1Jwn8Fqs
Comment 3 TraceyC 2025-01-27 18:20:57 UTC
This seems reasonable to consider. If it can be done with a bash script it shouldn't be terribly difficult to implement.
Comment 4 Niccolò Venerandi 2025-09-30 13:38:09 UTC
Activities cannot be stopped anymore, which makes this bug sadly no longer relevant.