Open gudvinr opened 1 month ago
This is a long-term goal for Solaar. One problem is that Solaar is written in Python, which may not be suitable for use in system projects. Another problem is what to do for shared stations - if the last user's preferences are very unusual, it may be difficult for the next user to login.
Information
1.1.13
Arch Linux
Linux 6.10.3-arch1-1 x86_64 GNU/Linux
solaar show
for the target device:Is your feature request related to a problem? Please describe.
Since solaar process runs as user process, its settings not being applied in contexts when there is no user being logged in.
Obvious one is login manager (like SDDM/GDM/lightdm/etc).
In this case, if you set up DPI that is not a default, it'll get reset and mouse will behave very different from what you'd expect. Same with other settings.
Describe the solution you'd like
Instead of running solely as user process, split solaar into 2 processes. In that case, one can be ran as system daemon and another one can connect to it via through dbus/unix socket/whatever. Then you can apply settings ASAP.
There could be issues when multiple users connect to same daemon but I believe there would be issues when you run multiple instances of solaar on the same system at the same time as well.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.Additional context
Add any other context or screenshots about the feature request here.