Commit graph

212 commits

Author SHA1 Message Date
Michael Aaron Murphy
c29db5de5f debian: add libsecret-1-0 in case it is missing 2025-12-29 12:00:14 -07:00
Mattias Eriksson
f4093070be [i18n] Swedish translation of desktop file 2025-12-09 09:21:00 -07:00
Ian Douglas Scott
472db42330 Don't create privileged sockets
Our "privileged sockets" support in cosmic comp has never been enforced
by default, and predates the Wayland security context protocol. That
should cover sandboxed clients, while we can't really secure against
non-sandboxed clients.

We also rely on the DBus socket-activated portal backend having access
to "privileged" protocols now.

So it makes sense to remove this.
2025-10-29 18:11:57 -07:00
Ian Douglas Scott
d8ec361e3c Do not start xdg-desktop-portal-cosmic; so socket activation can
https://github.com/pop-os/xdg-desktop-portal-cosmic/pull/176
2025-10-17 11:58:51 -07:00
Ashley Wulber
379ce30715 cleanup: logs 2025-09-19 11:26:54 -06:00
Aaron Honeycutt
2441be2ad0
fix: avoid hardcoding keyring daemon path for distros like NixOS 2025-09-05 21:35:34 +02:00
ligenix
4598b7cdf4
fix: start gnome-keyring before cosmic-session & export SSH_AUTH_SOCK 2025-08-29 16:44:53 +02:00
Vukašin Vojinović
e1430bd3e0 chore: update dependencies 2025-08-29 10:28:53 -04:00
Vukašin Vojinović
3200144164 chore: migrate to Rust 2024
Removes the use of `set_var`, since it isn't thread safe.
2025-08-29 10:28:53 -04:00
Sebastian Jung
4c72d42731
fix: start gnome-keyring components if the daemon is active 2025-08-20 20:03:55 +02:00
Ashley Wulber
b2f4277122 feat: inhibit poweroff button 2025-06-13 17:01:48 -04:00
Michael Aaron Murphy
f187e8d767
Revert "use dbus-update-activation-environment to update/initialize"
This reverts commit c22dcdfe06.
2025-06-11 14:49:02 +02:00
Michael Aaron Murphy
77eee4602b
Revert "update $WAYLAND_DISPLAY and $DISPLAY post login"
This reverts commit dd4fa3daea.
2025-06-11 14:48:55 +02:00
Pratham Patel
dd4fa3daea update $WAYLAND_DISPLAY and $DISPLAY post login
The $WAYLAND_DISPLAY and $DISPLAY are prone to change between `greetd`'s
initialization and the user's login. Therefore, update these environment
variables so systemd services and/or d-bus services use the correct
values post login.
2025-06-03 03:00:25 +02:00
Pratham Patel
c22dcdfe06 use dbus-update-activation-environment to update/initialize
environment variables

The goal is to update the environment variables for the user's systemd
session **and** the services listening on user's d-bus session.

Until now, the variables were updated using the `import-environment`
environment command of `systemctl`. But, it would only be executed if
systemd was present on the host system. Leaving the variables on the
d-bus side either uninitialized or with incorrect values.

Therefore, instead of using `systemctl`, use the
`dbus-update-activation-environment` command to initialize/update the
environment variables for user's d-bus session but also for user's
systemd session. This is done by passing the `--systemd` option.

When systemd is not detected, the command doesn't fail, it simply
doesn't update the variables for user's systemd session. And since a
systemd user session doesn't exist, no harm no foul.
2025-06-03 03:00:25 +02:00
Ashley Wulber
80209d5aad refactor: enter span 2025-04-24 10:03:52 -06:00
Jeremy Soller
ae761c35b0 Fix compilation 2025-04-24 10:03:52 -06:00
Horu
ba561b4097 fix: ignore error when starting service 2025-04-23 09:03:54 -06:00
Michael Aaron Murphy
be18d37bfa
fix(just): wrong path for dconf profile in start-cosmic 2025-04-08 20:13:00 +02:00
Michael Aaron Murphy
37c95bc3aa
fix(debian): dconf profile now installed by justfile 2025-04-07 20:27:25 +02:00
Clayton Craft
bbd803ef75 justfile: install dconf profile
This wasn't being installed by the justfile, so distros using the
justfile for packaging weren't properly installing the dconf profile.

Fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/17056
2025-04-04 18:42:31 +02:00
Clayton Craft
2324271f5d justfile: use prefix in dconf profile path 2025-04-04 18:42:31 +02:00
ellieplayswow
1ef6af14bb
fix: xdg autostart was not executing 2025-03-23 22:04:38 +01:00
pugaizai
e9858d914c fix: update asyinc-signals to fix loongarch build 2025-03-22 13:06:51 +01:00
ellieplayswow
dd2e666438 Adding autostart flag for use / consts 2025-02-28 17:05:04 +01:00
ellieplayswow
8b4a8baea7 Rustfmt + adding checks for OnlyShowIn / NotShowIn 2025-02-28 17:05:04 +01:00
ellieplayswow
46468e8b8e Getting graphical applications working 2025-02-28 17:05:04 +01:00
ellieplayswow
b21878d549 Hiding autostart functionality behind feature gate "autostart" 2025-02-28 17:05:04 +01:00
ellieplayswow
69987c1a0d Adding in functionality to autostart programs on non-systemd systems 2025-02-28 17:05:04 +01:00
Victoria Brekenfeld
6df4561c19 start-cosmic: Import DCONF_PROFILE into systemd user environment 2025-02-27 20:04:08 +01:00
Jeremy Soller
6d16513d77 Adjust default fonts 2025-02-20 11:24:54 -07:00
Michael Aaron Murphy
fa327adf1f
remove ELECTRON_OZONE env due to flatpaks not having wayland sockets enabled 2025-02-18 02:24:45 +01:00
Michael Aaron Murphy
fae8ac6a9f
fix: set OZONE default to auto 2025-02-17 20:11:52 +01:00
Michael Aaron Murphy
8020134a9f
set ELECTRON_OZONE_PLATFORM_HINT to wayland 2025-02-15 00:48:36 +01:00
Reilly Brogan
6e48e12443 feat: Import environment variables from systemd user manager 2025-01-14 21:57:19 +01:00
Dan MacLeod
38e3686579
fix: steam fails when dconf profile lacks ending newline 2025-01-10 15:28:23 +01:00
Jeremy Soller
998cf3fba7
Switch media handler to COSMIC Player 2025-01-02 09:34:01 -07:00
Jeremy Soller
346a1a6529
Merge branch 'master' of https://github.com/pop-os/cosmic-session 2025-01-02 09:30:49 -07:00
Jeremy Soller
f5b36c5e56
Add cosmic-player 2025-01-02 09:30:40 -07:00
Ryan Brue
6650b910b5 fix: don't set XCURSOR_THEME in start-cosmic
Setting XCURSOR_THEME messes up custom cursor theme overrides, so let's set the Cosmic cursor theme another way in distros and such

Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2024-12-31 17:02:49 +01:00
Ashley Wulber
0a3b9f5376 chore: update launch-pad 2024-12-17 16:31:56 -05:00
Victoria Brekenfeld
78316ba39c build: Make dconf profile path explicit and configurable 2024-12-06 15:47:47 +01:00
Victoria Brekenfeld
87a0644435 session: Add custom dconf profile
This causes the cosmic-session to have a separate
writable dconf-database (while still inheriting
the default user database).

This will (partially) prevent issues such as
https://github.com/pop-os/cosmic-epoch/issues/1174
in the future, as other desktops won't pick up
cosmic's dconf profile.
2024-12-04 16:51:50 +01:00
Ashley Wulber
53237d147f cleanup 2024-11-22 10:40:54 -05:00
Ashley Wulber
60ff2241ed feat: try to gracefully shut down settings daemon when exiting 2024-11-22 10:40:54 -05:00
Ashley Wulber
2612282fcf feat: a11y 2024-11-01 12:52:21 -04:00
Victoria Brekenfeld
5a0df6afb6 main: Only launch xdg-portal on COSMIC 2024-10-31 10:51:10 -07:00
Victoria Brekenfeld
c44946be82 comp: Allow to specify different compositors 2024-10-31 10:51:10 -07:00
Ian Douglas Scott
342369eaf9 Launch cosmic-idle 2024-10-30 10:58:29 -06:00
Ashley Wulber
c3a35f323b
fix: log cosmic-settings-daemon output 2024-10-16 20:33:10 -04:00