Josh Megnauth
8b6cd49f4c
Fix building without systemd + minor clippy
...
Some of the feature gates were out of date for builds precluding
systemd, logind, or both. I also cleaned up the systemd/logind gates in
general as well as fixed a few very minor clippy lints.
2026-10-05 13:17:51 -06:00
Christoph Dalski
a692a3006a
fix: pass systemd user env vars to cosmic-session
...
Read the env vars of the systemd user manager before cosmic-comp starts and pass them to it.
fixes #171
2026-10-02 19:04:49 +02:00
Jeremy Soller
ad097e98ec
COSMIC policy update
...
Generated by cosmic-epoch scripts/policy-update.sh. Uses `policy_nobuild` branch to avoid package builds as it contains no code changes.
2026-09-30 09:56:15 -06:00
Jim Witte
70f9b96ca6
fix: preserve configured SSH_AUTH_SOCK
2026-09-28 21:55:05 +02:00
Ashley Wulber
1e4f10b582
Recommend cosmic-viewer and set as default image viewer
2026-09-23 13:41:35 -04:00
r0chd
81dd888ec9
Fix compilation error when autostart feature is enabled without systemd
2026-09-22 10:06:52 -06:00
r0chd
2e0ee1b796
update flake.lock
2026-09-22 10:06:52 -06:00
Jeremy Soller
b712061806
Add cosmic-osk
2026-09-21 13:47:17 -06:00
Christoph Dalski
2770d1155a
fix: login shell path interpreted as string by modern shells
...
The single quotes around the login shell path are interpreted as string by modern shells like nushell.
The exec call breaks.
Tested locally with nushell.
Fixes : #221
2026-09-16 22:02:14 +02:00
Michael Aaron Murphy
cd90a03e3f
Epoch 1.9.0 version update
...
Generated by cosmic-epoch scripts/version-update.sh
2026-09-15 18:44:47 +02:00
Vukašin Vojinović
3ccf897693
feat: set COSMIC_VERSION env var
2026-09-09 18:32:01 +02:00
Vukašin Vojinović
d02ced6297
feat: add version argument
2026-09-09 18:32:01 +02:00
Hugo Osvaldo Barrera
3bdf11741a
Fix hardcoded values for XDG_RUNTIME_DIR
...
Remove hardcoded values and use the proper backing environment variable
instead.
2026-08-19 16:32:48 -06:00
Hugo Osvaldo Barrera
3e2f7368d0
start-cosmic: use sh
...
Nothing else is cosmic uses bash, so it's only a dependency for a single
script.
Rewrite start-cosmic as a shell script, dropping the dependency on bash.
No AI/LLM-generated code is included in this PR.
2026-08-19 14:16:43 -06:00
Ian Douglas Scott
b5ef6c0c0d
Pass env_vars to cosmic-settings-daemon
...
This is needed for `cosmic-settings-daemon` to be able to use Wayland.
Required for https://github.com/pop-os/cosmic-settings-daemon/pull/153 .
Though passing the env vars here seems reasonable in general, and
without that change is harmless and should have no impact.
2026-07-02 12:45:52 -07:00
Jeremy Soller
308c9d3f8f
Recommend cosmic-monitor
2026-06-24 16:36:26 -06: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