Commit graph

90 commits

Author SHA1 Message Date
Joshua Ferguson
b4561cfc71 [squash] systemd scopes support
changes for code review

[squash] systemd scopes support

(doesn't compile) zbus connection seems to be missing sync

I think I got it

scoping works again

switched to a different method of systemd detection and cleaned up dead code

switch launchpad dependency back to main and removed unused imports
2024-06-27 14:50:20 -04:00
Joshua Ferguson
b096107f81 trying to figure out the ideal way to feature gate systemd 2024-06-27 14:50:20 -04:00
Joshua Ferguson
9409cae3f1 failure to create scopes should not stop session from launching 2024-06-27 14:50:20 -04:00
Joshua Ferguson
d6741d5786 logged in and confirmed scopes worked 2024-06-27 14:50:20 -04:00
Joshua Ferguson
93a9524996 added zbus_systemd as an optional dependency 2024-06-27 14:50:20 -04:00
Joshua Ferguson
e1a0048f33 WIP: use systemd scopes for process management 2024-06-27 14:50:20 -04:00
Joshua Ferguson
23c062951c moved from dbus_interface to interface due to deprecation warning 2024-06-21 12:02:12 -04:00
Jeremy Soller
9d65eca9c9 Launch cosmic-greeter as a daemon 2024-04-08 09:43:20 -06:00
Ron Waldon-Howe
8e73c0f694 fix: rely on channels for synchronisation/sequence instead of sleep() 2024-01-17 00:09:35 +01:00
Ron Waldon-Howe
b724bddf49 feat: set XDG_SESSION_TYPE=wayland just before graphical-session.target 2024-01-17 00:09:35 +01:00
Ron Waldon-Howe
be418fde28 fix: start systemd target _after_ cosmic-comp is ready 2024-01-17 00:09:35 +01:00
Ashley Wulber
334aebc398 refactor: start settings daemon first 2024-01-16 17:07:38 -05:00
Ashley Wulber
8fd40b588a refactor: pass an extra pirivileged socket to xdp-cosmic 2024-01-16 17:07:38 -05:00
Victoria Brekenfeld
efe4b58279
Merge pull request #34 from jokeyrhyme/optional-systemd-target
fix: allow calls for systemd graphical target to fail
2024-01-16 20:49:56 +01:00
Ron Waldon-Howe
c016d254d9 fix: use tokio Mutex and clear other clippy warnings 2024-01-12 11:00:41 +11:00
Ron Waldon-Howe
0bedac052a fix: allow calls for systemd target to fail 2024-01-11 14:57:37 +11:00
Ashley Wulber
93ee7861e4
chore(nix): update nix flake 2023-12-22 16:34:47 +01:00
Ashley Wulber
d4d7dbce0e refactor: pass OwnedFd to launch-pad 2023-11-13 10:31:38 -05:00
Ashley Wulber
fd2dc23fac feat: use privileged sockets 2023-11-13 10:31:38 -05:00
Ashley Wulber
fcb16e29c1 refactor: fully restart after the compositor exits 2023-10-31 11:52:27 -04:00
Ashley Wulber
59ddbfcac0 refactor: restart notifications and panel when the other exits 2023-08-03 09:19:45 -04:00
Ashley Wulber
ac889a2d57 cleanup: remove unnessecary use of Arc and Mutex 2023-08-03 09:19:45 -04:00
Ashley Wulber
9e47459047 cleanup: remove unused function 2023-08-03 09:19:45 -04:00
Ashley Wulber
8590c67be5 fix: remove comment about safety as it's not necessary anymore 2023-08-03 09:19:45 -04:00
Ashley Wulber
cae8dc6a27 cleanup: notification socket creation 2023-08-03 09:19:45 -04:00
Ashley Wulber
eabfa58bd5 fix: typos in error messages 2023-08-03 09:19:45 -04:00
Ashley Wulber
d03c19bd10 update launchpad and use max-restarts with backoff 2023-08-03 09:19:45 -04:00
Ashley Wulber
0115e3aaae refactor: update launchpad 2023-08-03 09:19:45 -04:00
Ashley Wulber
ec6dd44a9c cleanup and update launchpad 2023-08-03 09:19:45 -04:00
Ashley Wulber
e1a174f61d fix: prevent session from exiting 2023-08-03 09:19:45 -04:00
Ashley Wulber
8bff06e9a7 wip: better handling of cloexec with reused fds for panel and notifications daemon 2023-08-03 09:19:45 -04:00
Ashley Wulber
4c9557f42b feat: send notifications and panel Fds 2023-08-03 09:19:45 -04:00
Ashley Wulber
f8bb451f68 start notifications daemon 2023-08-03 09:19:45 -04:00
Ashley Wulber
3746d20225 fix: set nonblocking to true for the client Fd 2023-06-27 14:19:40 -04:00
Ian Douglas Scott
f506f60a40 Start cosmic-osd
Seems this had been removed in a4a791e.

This makes polkit dialogs show, though the Iced implementation of those
could use improvement.
2023-03-20 10:52:23 -07:00
Ian Douglas Scott
2801b681ed Depend on cosmic-workspaces, and start it 2023-03-14 00:08:57 -04:00
Ian Douglas Scott
30ca971eb1 Factor out duplicated code for spawning component with tracing span 2023-03-14 00:08:57 -04:00
Ashley Wulber
3094e4698e fix: start xdg-desktop-portal-cosmic 2023-03-03 20:45:06 -05:00
Ian Douglas Scott
1fe93839db Don't log output of cosmic-comp/cosmic-panel, log panics
It is better to have `cosmic-comp` and `cosmic-panel` log to journald
themselves.

Having panics logged should be helpful if panics ever occur.
2023-01-13 11:57:38 -08:00
Ashley Wulber
89c524398e
refactor: iced 2022-11-28 10:22:09 -05:00
Ashley Wulber
23d702ae1e
remove privileged socket creation & wayland-proxy-virtwl execution 2022-10-23 23:25:05 -04:00
Ashley Wulber
9e8e7a14b7
wayland-proxy-virtwl 2022-10-23 19:48:00 -04:00
Ashley Wulber
c41c108c4f
fix: mark comp sock as not cloexec 2022-10-23 19:33:43 -04:00
Ashley Wulber
c350099b76
feat: cosmic-bg & update deps 2022-10-23 17:41:28 -04:00
Lucy
f75e970847
🚨 Everything now seems to compile! 2022-09-23 14:52:14 -04:00
Lucy
a4a791ed33
🚧 Move process management to launch-pad 2022-09-19 13:48:48 -04:00
Ian Douglas Scott
37f32879db Start cosmic-osd, xdg-desktop-portal-cosmic, with privileged sockets
Also adds these and `cosmic-settings-daemon` as dependencies.
2022-08-23 18:35:29 -07:00
Ian Douglas Scott
46047f4a58 Use OwnedFd, now that it's stable 2022-08-12 09:18:58 -07:00
Lucy
e822a87072
📝 Document compositor-related (comp.rs) code 2022-08-08 11:19:27 -04:00
Lucy
89c606ab18
Exit compositor on IPC failure 2022-08-03 14:12:05 -04:00