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

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



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
- /home/apol/devel/kde5/etc/xdg/autostart/
- 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

R120 Plasma Workspace
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Thu, Sep 5, 1:12 AM
Restricted Application added a project: Plasma. · View Herald TranscriptThu, Sep 5, 1:12 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
apol requested review of this revision.Thu, Sep 5, 1:12 AM
broulik added a subscriber: broulik.Thu, Sep 5, 1:47 PM

Are you sure you added all files to this patch?

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

add missing files

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


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

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

plasma-checkautostart? plasma-autostart-list?

This revision was automatically updated to reflect the committed changes.