Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long first startup #28

Open
MrQubo opened this issue Jul 25, 2024 · 6 comments
Open

Long first startup #28

MrQubo opened this issue Jul 25, 2024 · 6 comments

Comments

@MrQubo
Copy link

MrQubo commented Jul 25, 2024

tudor-host-launcher.service takes some time to start. I think it would be better to start it automatically on system startup instead of on the first use via dbus.

@Popax21
Copy link
Owner

Popax21 commented Jul 25, 2024

tudor-host-launcher.service takes some time to start. I think it would be better to start it automatically on system startup instead of on the first use via dbus.

Just starting tudor-host-launcher won't do much - you want to auto-launch fprintd instead, which will cause the host launcher to start as well. To do so, you can simply use a systemd overlay file to add it to a boot target of your choosing; I do this as well on my own laptop.

@MrQubo
Copy link
Author

MrQubo commented Jul 26, 2024

Maybe we should install this overlay by default to add fprintd to multi-user.target?

@Popax21
Copy link
Owner

Popax21 commented Aug 7, 2024

Maybe we should install this overlay by default to add fprintd to multi-user.target?

I prefer not interfering with the configuration files of other services, so I wouldn't be in favor of that. Instead, I think documenting this somewhere so that interested users can make the modification themselves is the better way forward here.

@major-mayer
Copy link

Could you briefly explain what kind of files are needed to reduce the startup time of fprintd?
I don't understand what it means to ...

simply use a systemd overlay file to add it to a boot target of your choosing

@Popax21
Copy link
Owner

Popax21 commented Sep 17, 2024

Could you briefly explain what kind of files are needed to reduce the startup time of fprintd? I don't understand what it means to ...

simply use a systemd overlay file to add it to a boot target of your choosing

TL;DR: execute systemctl edit fprintd as root, then paste in the following contents:

[Install]
WantedBy=multi-user.target

This will create a systemd drop-in file (drop-in files can be used to override systemd unit file settings) which adds fprintd to multi-user.target - this causes fprintd to automatically start on boot.

@major-mayer
Copy link

Great thanks for the quick help.
I guess you meant "systemctl edit fprintd", but then it works flawlessly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants