Commit graph

44 commits

Author SHA1 Message Date
ligenix
4598b7cdf4
fix: start gnome-keyring before cosmic-session & export SSH_AUTH_SOCK 2025-08-29 16:44:53 +02:00
Sebastian Jung
4c72d42731
fix: start gnome-keyring components if the daemon is active 2025-08-20 20:03:55 +02: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
Victoria Brekenfeld
6df4561c19 start-cosmic: Import DCONF_PROFILE into systemd user environment 2025-02-27 20:04:08 +01: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
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
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
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
Jeremy Soller
b3900bc33e
Handle inode/mount-point with cosmic-files 2024-10-04 16:05:16 -06:00
Jeremy Soller
e9d682ce37
Use cosmic-store for mime:// 2024-10-03 14:57:43 -06:00
Jeremy Soller
a3ba1adaff
Handle flatpakref with cosmic-store 2024-10-02 11:22:30 -06:00
Jeremy Soller
51670b5914
Add store to mimeapps, cleanup unused entries 2024-10-02 09:59:19 -06:00
Victoria Brekenfeld
39c7f93800 start-cosmic: Set QT auto scaling env variables
This makes sure together with our XSettings implementation in cosmic-comp,
that QT apps running on their xcb backend will react to the DPI values
we are setting by changing their internal scaling.
2024-09-02 20:04:56 +02:00
Jeremy Soller
a44e8ddc0a
Fix cosmic-session target 2024-06-24 09:43:26 -06:00
Jeremy Soller
22fe67cfeb
Add Wants=xdg-desktop-autostart.target to systemd target 2024-05-28 10:59:29 -06:00
Jeremy Soller
d8ff9791b0
Use cosmic-store to handle appstream: 2024-05-20 10:14:26 -06:00
Ryan Brue
5613bc6606 fix: set cursor theme to COSMIC 2024-05-03 23:45:11 +02:00
Jeremy Soller
54c0955516
Use cosmic-files for inode/directory 2024-04-19 14:17:16 -06:00
Jeremy Soller
05b6720446
Add default association for rust 2024-03-04 13:02:49 -07:00
Jeremy Soller
b97723b1a6
Assign cosmic-edit to text/markdown 2024-03-04 12:57:59 -07:00
Jeremy Soller
371751d8c8
Fix mimeapps assignment of cosmic-edit 2024-03-04 12:04:25 -07:00
Jeremy Soller
5c948cfb81 Use popsicle for disk images 2024-03-04 11:45:25 -07:00
Jeremy Soller
368adf2d72 Add cosmic-mimeapps.list, derived from gnome-mimeapps.list 2024-03-04 11:45:25 -07:00
Victoria Brekenfeld
e05814291c
Merge pull request #30 from jokeyrhyme/23-use-preferred-shell
fix: use preferred SHELL in login shell mode
2024-01-09 13:49:43 +01:00
Ron Waldon-Howe
bc87ac9918 fix: check before using systemctl 2024-01-09 15:50:00 +11:00
Ron Waldon-Howe
9f256004e7 fix: use preferred SHELL in login shell mode 2024-01-09 15:33:33 +11:00
Ashley Wulber
93ee7861e4
chore(nix): update nix flake 2023-12-22 16:34:47 +01:00
Victoria Brekenfeld
5de89ffb81
Update start-cosmic 2023-12-19 21:50:47 +01:00
Victoria Brekenfeld
ba52fc1be4
Allow xcb QT_QPA_PLATFORM as a fallback 2023-12-19 20:41:44 +01:00
Jeremy Soller
1ff63fbea3
Force QT apps to run with wayland 2023-10-11 10:17:04 -06:00
Ashley Wulber
8d8ac26d7b
refactor: X is supported by Cosmic 2023-01-25 11:07:56 -05:00
Ashley Wulber
9a9861f8e3
feat: additions for optional experimental X support via wayland-proxy-virtwl 2022-10-24 14:03:45 -04:00
Jeremy Soller
667b5e6c19 Only require profile to be a file 2022-09-23 13:15:08 -06:00
Jeremy Soller
91debd1729 Source user profile 2022-09-23 13:15:08 -06:00
Lucy
b33efc83df
🩹 Don't nest user dbus sessions 2022-07-13 12:04:48 -04:00
Lucy
bc07650f01
Add start-cosmic script; cosmic-session.target 2022-07-12 11:55:53 -04:00
Lucy
de3ab99743
🩹 Fix debbuild; session .desktop file 2022-07-07 17:15:03 -04:00
Lucy
a67a677a1a
📦 ♻️ Refactor a bunch of stuff; debian packaging 2022-07-07 16:45:17 -04:00