Commit graph

235 commits

Author SHA1 Message Date
e07a2bbbc8 yoda: use local dbus settings bindings 2026-05-25 09:55:11 +02:00
Michael Aaron Murphy
495e591dc6 fix(debian): seatd conflict causes Ctrl+C to kill the session
Add it as a conflict since it conflicts with systemd-logind
2026-05-07 11:50:27 -06:00
Vukašin Vojinović
17cf4485a9 chore(rustfmt): change imports_granularity to "Module"
Also includes a Zed config.
2026-05-02 08:35:47 -06:00
Vukašin Vojinović
673e4c949b chore: update dependencies
Removes the `cosmic-notifications-utils` dependency, and instead defines the notification FDs here (since they're unlikely to change).
2026-05-02 08:35:47 -06:00
Vukašin Vojinović
a77aaa1904 chore: clippy 2026-05-02 08:35:47 -06:00
Vukašin Vojinović
56f0115952 improv(main): use tokio signals for SIGINT and SIGTERM
This allows removing async-signals and libc.
2026-05-02 08:35:47 -06:00
Tony Wasserka
9a55864e81 fix: set XDG_SESSION_DESKTOP in start-cosmic
On NixOS, autologin bypasses cosmic-greeter and instead launches start-cosmic
directly. The XDG_SESSION_DESKTOP variable previously wasn't set hence, which
would break functionality like session commands ("Power Off") in the launcher.
2026-04-13 11:49:23 -06:00
Adil Hanney
02a4c58c3d fix: use QT_QPA_PLATFORMTHEME=qt5ct not qt6ct
The version of qt5ct shipped with Pop!_OS requires this. qt6ct still accepts either value.
2026-03-18 13:53:58 -04:00
Adil Hanney
af9aaf9c1a fix: don't overwrite QT_QPA_PLATFORMTHEME
This lets you set QT_QPA_PLATFORMTHEME in ~/.profile if you need to.
2026-03-18 13:53:58 -04:00
Levi Portenier
59b48b5b3b
Merge pull request #183 from thefossguy/fix-whitespace-vars-checking
start-cosmic: handle ANSI-C quoted strings returned by systemd
2026-03-10 13:16:45 -06:00
Adil Hanney
618624bcc0
feat: enable cutecosmic or qt6ct with QT_QPA_PLATFORMTHEME 2026-02-20 21:36:45 +01:00
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
Pratham Patel
a823516ebd
start-cosmic: handle ANSI-C quoted strings returned by systemd 2026-01-30 16:39:46 +05:30
Thomas Wouters
42752142e3 Use mapfile to read environment variables
Looping `tr '\n' ' '` would break if variables contain whitespace
2026-01-28 11:30:46 +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