Commit graph

222 commits

Author SHA1 Message Date
Jeremy Soller
da592cc15e Add pull request template 2026-02-13 12:35:27 -07:00
Thomas Wouters
7b5fd4de9d
fix: environment variables with spaces 2026-02-03 16:37:32 +01:00
Levi Portenier
77a284009c
Merge pull request #180 from thefossguy/start-cosmic-handle-env-init
start-cosmic: update values of existing env vars
2026-01-27 16:53:52 -07:00
Levi Portenier
3506cfc404
Merge pull request #181 from thefossguy/fix-ssh-auth-sock-val
start-cosmic: set SSH_AUTH_SOCK only if the correct value can be determined
2026-01-22 09:30:09 -07:00
Pratham Patel
32f43be573
start-cosmic: set SSH_AUTH_SOCK only if the correct value can be determined 2026-01-20 23:08:57 +05:30
Pratham Patel
de27085e49
start-cosmic: update values of existing env vars
I could not find any consistent documentation on _which_ environment
variables a DE should populate. GNOME just imports everything[0] from
the current DE-startup-session. KDE imports some DE and KDE specific
variables but again, this isn't defined anywhere (that I could find)
on places like <freedesktop.org>. So instead, lets just update
existing ones.
[0]: d14f6db15e
2026-01-15 01:04:05 +05:30
Michael Aaron Murphy
957fd526cb fix(debian): remove titlebar-font gsettings key 2026-01-07 22:16:36 +01:00
DeiAsPie
ec64522110
fix: add SSH_AUTH_SOCK to systemd import-environment
Move the systemctl import-environment call after keyring setup so the
SSH_AUTH_SOCK variable exists before being imported into the user
service manager. Remove the earlier duplicate import block.
2026-01-06 01:56:44 +01:00
Michael Aaron Murphy
1dee7d1a94 chore: update version to 1.0.0 2025-12-29 12:00:14 -07:00
Michael Aaron Murphy
e64f35c62a build: improve justfile and debian/rules 2025-12-29 12:00:14 -07:00
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