You are not logged in.
Pages: 1
What's the right way to package software that requires a running Polkit?
How do I state the dependency given that each DE has it's own implementation? How do I deal with WMs that don't have any existing polkit processes running?
My initial thought was to use lxpolkit (from the lxsession package) since it's the most lightweight, and provide a lxpolkit.service with my package, that users should start and possibly enable before running the original software.
Offline
I'd add polkit to the depends, and make an install file that prints out the need for a polkit agent, linking to the wiki page.
If you're adventurous, add the existing polkit agents to the optdepends array, and add any new ones that pop up as and when you discover them.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1