Commit f7892573 authored by David Edmundson's avatar David Edmundson
Browse files

Filter our services in the application slice which don't match the app string specifier

An upcoming systemd change puts all services in the app slice by default. We don't
necessarily want to list all of these as applications.

(cherry picked from commit 8a6732d1)
parent fea15a87
......@@ -37,5 +37,5 @@ bool ApplicationDataModel::filterAcceptsCGroup(const QString &id)
// this class is all temporary. In the future as per
// all apps will have a managed by a drop-in that puts apps in the app.slice
// when this happens adjust the root above and drop this filterAcceptsCGroup line
return id.contains(QLatin1String("/app")) || (id.contains(QLatin1String("/flatpak")) && id.endsWith(QLatin1String("scope")));
return id.contains(QLatin1String("/app-")) || (id.contains(QLatin1String("/flatpak")) && id.endsWith(QLatin1String("scope")));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment