Skip to content

Autostart using systemd instead of gnome-session - #52

Merged
ryonakano merged 3 commits into
mainfrom
ryonakano/migrate-systemd-service
Aug 15, 2026
Merged

Autostart using systemd instead of gnome-session#52
ryonakano merged 3 commits into
mainfrom
ryonakano/migrate-systemd-service

Conversation

@ryonakano

Copy link
Copy Markdown
Member

Fixes #47
Goes with #51

Checklists

  • Package build succeeds with debuild -us -uc with control: Add systemd-dev #51
  • Package installation succeeds
  • The systemd service is enabled after installation
  • The systemd service starts automatically after reboot
Details
user@elementary-9-daily:~$ sudo apt purge io.elementary.bluetooth-daemon 
The following packages were automatically installed and are no longer required:
  libgssdp-1.6-0  libgupnp-av-1.0-3    libmediaart-2.0-0    librygel-db-2.8-0        librygel-server-2.8-0
  libgupnp-1.6-0  libgupnp-dlna-2.0-4  librygel-core-2.8-0  librygel-renderer-2.8-0  rygel
Use 'sudo apt autoremove' to remove them.

REMOVING:
  io.elementary.bluetooth-daemon*  io.elementary.settings.bluetooth*
  io.elementary.panel.bluetooth*   io.elementary.settings.sharing*

Summary:
  Upgrading: 0, Installing: 0, Removing: 4, Not Upgrading: 0
  Freed space: 3,654 kB

Continue? [Y/n] y
(Reading database… 154142 files and directories currently installed.)
Removing io.elementary.settings.sharing (8.0.3+r1020+pkg21~daily~ubuntu9.1)…
Removing io.elementary.panel.bluetooth (8.0.0+r884+pkg40~daily~ubuntu9.1)…
Removing io.elementary.settings.bluetooth (8.0.2+r898+pkg356~daily~ubuntu9.1)…
Removing io.elementary.bluetooth-daemon (1.1.0+r276+pkg5~daily~ubuntu9.1)…
Processing triggers for hicolor-icon-theme (0.18-2build1)…
Processing triggers for libglib2.0-0t64:amd64 (2.88.0-1)…
Processing triggers for desktop-file-utils (0.28-1build1)…
(Reading database… 153311 files and directories currently installed.)
Purging configuration files for io.elementary.bluetooth-daemon (1.1.0+r276+pkg5~daily~ubuntu9.1)…
user@elementary-9-daily:~$ killall io.elementary.bluetooth 
user@elementary-9-daily:~$ sudo apt install ./io.elementary.bluetooth-daemon_1.1.0_amd64.deb 
Note, selecting 'io.elementary.bluetooth-daemon' instead of './io.elementary.bluetooth-daemon_1.1.0_amd64.deb'
The following packages were automatically installed and are no longer required:
  libgssdp-1.6-0  libgupnp-av-1.0-3    libmediaart-2.0-0    librygel-db-2.8-0        librygel-server-2.8-0
  libgupnp-1.6-0  libgupnp-dlna-2.0-4  librygel-core-2.8-0  librygel-renderer-2.8-0  rygel
Use 'sudo apt autoremove' to remove them.

Installing:
  io.elementary.bluetooth-daemon

Summary:
  Upgrading: 0, Installing: 1, Removing: 0, Not Upgrading: 0
  Download size: 0 B / 108 kB
  Space needed: 1,092 kB / 51.5 GB available

Get:1 /home/user/io.elementary.bluetooth-daemon_1.1.0_amd64.deb io.elementary.bluetooth-daemon amd64 1.1.0 [108 kB]
Selecting previously unselected package io.elementary.bluetooth-daemon.
(Reading database… 153312 files and directories currently installed.)
Preparing to unpack …/io.elementary.bluetooth-daemon_1.1.0_amd64.deb…
Unpacking io.elementary.bluetooth-daemon (1.1.0)…
Setting up io.elementary.bluetooth-daemon (1.1.0)…
Created symlink '/etc/systemd/user/gnome-session-initialized.target.wants/io.elementary.bluetooth.service' → '/usr/lib/system
d/user/io.elementary.bluetooth.service'.
Processing triggers for desktop-file-utils (0.28-1build1)…
Processing triggers for hicolor-icon-theme (0.18-2build1)…
Processing triggers for libglib2.0-0t64:amd64 (2.88.0-1)…
Notice: Download is performed unsandboxed as root as file '/home/user/io.elementary.bluetooth-daemon_1.1.0_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
user@elementary-9-daily:~$ systemctl status --user io.elementary.bluetooth.service 
○ io.elementary.bluetooth.service - Bluetooth Daemon
     Loaded: loaded (/usr/lib/systemd/user/io.elementary.bluetooth.service; enabled; preset: enabled)
     Active: inactive (dead)
user@elementary-9-daily:~$ systemctl restart --user io.elementary.bluetooth.service 
user@elementary-9-daily:~$ systemctl status --user io.elementary.bluetooth.service 
● io.elementary.bluetooth.service - Bluetooth Daemon
     Loaded: loaded (/usr/lib/systemd/user/io.elementary.bluetooth.service; enabled; preset: enabled)
     Active: active (running) since Sat 2026-08-15 17:19:14 JST; 1s ago
 Invocation: 1710f8fdb6b24c939e5ec5cacaeff0e3
   Main PID: 3664 (io.elementary.b)
      Tasks: 7 (limit: 7897)
     Memory: 6.7M (peak: 7.2M)
        CPU: 59ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/_io.elementary.bluetooth.service
             └─3664 /usr/bin/io.elementary.bluetooth -s

Aug 15 17:19:14 elementary-9-daily systemd[1557]: Starting io.elementary.bluetooth.service - Bluetooth Daemon...
Aug 15 17:19:14 elementary-9-daily systemd[1557]: Started io.elementary.bluetooth.service - Bluetooth Daemon.
user@elementary-9-daily:~$ 

@ryonakano
ryonakano requested a review from a team August 15, 2026 08:26
@ryonakano
ryonakano merged commit 3658cba into main Aug 15, 2026
4 checks passed
@ryonakano
ryonakano deleted the ryonakano/migrate-systemd-service branch August 15, 2026 22:06
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

Successfully merging this pull request may close these issues.

Autostart using systemd instead of gnome-session

2 participants