Provide a simple test tool to see what autostart will look like
ClosedPublic

Authored by apol on Sep 5 2019, 1:12 AM.

Details

Summary

I wanted to debug why an application didn't start, this helped me see that it
was found and in which phase.
It's not installed for now.

Test Plan
$ ./bin/plasma-autostart 
phase: 0
- org.kde.plasmashell /home/apol/devel/kde5/etc/xdg/autostart/org.kde.plasmashell.desktop
- polkit-kde-authentication-agent-1 /home/apol/devel/kde5/etc/xdg/autostart/polkit-kde-authentication-agent-1.desktop
- xembedsniproxy /home/apol/devel/kde5/etc/xdg/autostart/xembedsniproxy.desktop

phase: 1
- gmenudbusmenuproxy /home/apol/devel/kde5/etc/xdg/autostart/gmenudbusmenuproxy.desktop
- pulseaudio /etc/xdg/autostart/pulseaudio.desktop
- org.kde.discover.notifier /home/apol/devel/kde5/etc/xdg/autostart/org.kde.discover.notifier.desktop
- org.kde.kdeconnect.daemon /home/apol/devel/kde5/etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop

phase: 2
- geoclue-demo-agent /etc/xdg/autostart/geoclue-demo-agent.desktop
- gnome-shell-overrides-migration /etc/xdg/autostart/gnome-shell-overrides-migration.desktop
- snap-userd-autostart /etc/xdg/autostart/snap-userd-autostart.desktop
- powerdevil /home/apol/devel/kde5/etc/xdg/autostart/powerdevil.desktop
- org.kde.yakuake /home/apol/.config/autostart/org.kde.yakuake.desktop

Diff Detail

Repository
R120 Plasma Workspace
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16127
Build 16145: arc lint + arc unit
apol created this revision.Sep 5 2019, 1:12 AM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 5 2019, 1:12 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Sep 5 2019, 1:12 AM
broulik added a subscriber: broulik.Sep 5 2019, 1:47 PM

Are you sure you added all files to this patch?

apol updated this revision to Diff 65441.Sep 5 2019, 3:25 PM

add missing files

davidedmundson accepted this revision.Sep 7 2019, 2:55 PM
davidedmundson added a subscriber: davidedmundson.

Cool.

I dont like the binary name. It doesn't imply debug or listing things.

This revision is now accepted and ready to land.Sep 7 2019, 2:55 PM
apol added a comment.Sep 7 2019, 3:59 PM

plasma-checkautostart? plasma-autostart-list?

This revision was automatically updated to reflect the committed changes.