Submission checklist
Feature type
New functionality
Feature summary
Add an IPC verb to the mpvpaper service that reapplies the last video (relaunching mpvpaper if it isn't currently running), rather than only supporting pause/resume of an already-running instance
Motivation / use case
I have i5-7200U + Nvidia 940mx Optimus laptop, and I've found that mpvpaper crashes the system on suspend when it is running. Fully stopping the wallpaper using noctalia msg plugin noctalia/mpvpaper:service all clear-all does prevent it, but currently there is no way to automatically start it back on unlock other than manually reapplying through picker. I've also tried pause/resume, but it still crashes the system, so mpvpaper needs to be killed to avoid it.
Proposed solution
Having an IPC verb for reapplying the wallpaper would help as a workaround for me and possibly others who experiences the same issue, allowing them to kill and relaunch mpvpaper as a hook:
on lock: noctalia msg plugin noctalia/mpvpaper:service all clear-all
on unlock: noctalia msg plugin noctalia/mpvpaper:service all reapply
(reapply is just an example verb)
Alternatives considered
By manually reapply with the picker on unlock, or using manual mpvpaper command on hooks instead, though this mean you can't use features offered by the plugin.
References / related projects
No response
Additional context
This is not the bug in Noctalia or the plugin, I can reproduce the same suspend failure with manually launched mpvpaper on CLI outside of Noctalia. Which is why I made this as feature request instead of bug report, might be helpful for others who had similar issues!
Submission checklist
Feature type
New functionality
Feature summary
Add an IPC verb to the mpvpaper service that reapplies the last video (relaunching mpvpaper if it isn't currently running), rather than only supporting pause/resume of an already-running instance
Motivation / use case
I have i5-7200U + Nvidia 940mx Optimus laptop, and I've found that mpvpaper crashes the system on suspend when it is running. Fully stopping the wallpaper using
noctalia msg plugin noctalia/mpvpaper:service all clear-alldoes prevent it, but currently there is no way to automatically start it back on unlock other than manually reapplying through picker. I've also tried pause/resume, but it still crashes the system, so mpvpaper needs to be killed to avoid it.Proposed solution
Having an IPC verb for reapplying the wallpaper would help as a workaround for me and possibly others who experiences the same issue, allowing them to kill and relaunch mpvpaper as a hook:
(reapply is just an example verb)
Alternatives considered
By manually reapply with the picker on unlock, or using manual
mpvpapercommand on hooks instead, though this mean you can't use features offered by the plugin.References / related projects
No response
Additional context
This is not the bug in Noctalia or the plugin, I can reproduce the same suspend failure with manually launched
mpvpaperon CLI outside of Noctalia. Which is why I made this as feature request instead of bug report, might be helpful for others who had similar issues!