cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

Automatic switch between light and dark mode is not working

Open bartv42 opened this issue 1 year ago • 9 comments

The theme never switches automatically for me, neither from dark to light nor from light to dark.

bartv42 avatar Jul 18 '24 06:07 bartv42

Could you add a few more details here? What Distro are you running? Which version of the cosmic-packages (ideally commit ids)?

Drakulix avatar Jul 18 '24 12:07 Drakulix

I'm on pop!_os, and I updated my cosmic packages a few hours ago. Is the following what you need?

➜  ~ apt list --installed | grep cosmic

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

cosmic-app-library/jammy,now 0.1.0~1721054203~22.04~3489c53 amd64 [installed,automatic]
cosmic-applets/jammy,now 0.1.0~1721276976~22.04~d4c5cc9 amd64 [installed,automatic]
cosmic-bg/jammy,jammy,now 0.1.0~1720050061~22.04~343410f amd64 [installed,automatic]
cosmic-comp/jammy,now 0.1~1721243320~22.04~0a97147 amd64 [installed,automatic]
cosmic-edit/jammy,now 0.1.0~1721163824~22.04~6e8d212 amd64 [installed,automatic]
cosmic-files/jammy,now 0.1.0~1721224248~22.04~ec4d734 amd64 [installed,automatic]
cosmic-greeter-daemon/jammy,now 0.1.0~1721052517~22.04~59e2eaa amd64 [installed,automatic]
cosmic-greeter/jammy,now 0.1.0~1721052517~22.04~59e2eaa amd64 [installed,automatic]
cosmic-icons/jammy,now 0.1.0~1721234019~22.04~73be037 amd64 [installed,automatic]
cosmic-launcher/jammy,now 0.1.0~1721275594~22.04~c188029 amd64 [installed,automatic]
cosmic-notifications/jammy,now 0.1.0~1721052308~22.04~2caf2fb amd64 [installed,automatic]
cosmic-osd/jammy,now 0.1.0~1721052322~22.04~27fc5e5 amd64 [installed,automatic]
cosmic-panel/jammy,now 0.1.0~1721052062~22.04~05420b2 amd64 [installed,automatic]
cosmic-randr/jammy,now 0.1.0~1721287742~22.04~e214fe9 amd64 [installed,automatic]
cosmic-screenshot/jammy,now 0.1.0~1721052047~22.04~08ac28d amd64 [installed,automatic]
cosmic-session/jammy,now 0.1.0~1721052030~22.04~577a181 amd64 [installed]
cosmic-settings-daemon/jammy,now 0.1.0~1721272193~22.04~54700df amd64 [installed,automatic]
cosmic-settings/jammy,now 0.1.0~1721311726~22.04~e8106a9 amd64 [installed,automatic]
cosmic-store/jammy,now 0.1.0~1721163545~22.04~2d3379d amd64 [installed]
cosmic-term/jammy,now 0.1.0~1721233759~22.04~6d63530 amd64 [installed,automatic]
cosmic-wallpapers/jammy,jammy,jammy,jammy,now 1.0.0~1719415313~22.04~0f2f16d all [installed]
cosmic-workspaces/jammy,now 0.1.0~1721275631~22.04~f12fdcb amd64 [installed,automatic]
gnome-shell-extension-cosmic-dock/jammy,jammy,jammy,jammy,now 72~ubuntu2pop0~1664903880~22.04~6700449 all [installed,automatic]
gnome-shell-extension-cosmic-workspaces/jammy,jammy,jammy,jammy,now 0.1.0~1716422595~22.04~6d90fb4 all [installed,automatic]
pop-cosmic/jammy,jammy,jammy,jammy,now 0.1.0~1706558821~22.04~608a095 all [installed,automatic]
xdg-desktop-portal-cosmic/jammy,now 0.1.0pop1~1721226949~22.04~813352e amd64 [installed,automatic]

bartv42 avatar Jul 18 '24 19:07 bartv42

Me too, also on pop, but i use pl locale. I'm not sure if it's related or not.

VandaLHJ avatar Jul 28 '24 20:07 VandaLHJ

I have the same issue, here are my packages:

apt list --installed | grep cosmic

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

cosmic-app-library/jammy,now 0.1.0~1724867842~22.04~db4a96e amd64 [installed]
cosmic-applets/jammy,now 0.1.0~1725375368~22.04~0b53634 amd64 [installed]
cosmic-bg/jammy,now 0.1.0~1725199523~22.04~876987a amd64 [installed]
cosmic-comp/jammy,now 0.1~1725475842~22.04~79ae56c amd64 [installed]
cosmic-edit/jammy,now 0.1.0~1725374069~22.04~868dee2 amd64 [installed]
cosmic-files/jammy,now 0.1.0~1725401857~22.04~b968bc0 amd64 [installed]
cosmic-greeter-daemon/jammy,now 0.1.0~1724903468~22.04~cd9fc48 amd64 [installed]
cosmic-greeter/jammy,now 0.1.0~1724903468~22.04~cd9fc48 amd64 [installed]
cosmic-icons/jammy,now 0.1.0~1723836643~22.04~ea9e3b8 amd64 [installed]
cosmic-launcher/jammy,now 0.1.0~1724339595~22.04~0a3e3f4 amd64 [installed]
cosmic-notifications/jammy,now 0.1.0~1722531142~22.04~e9abef5 amd64 [installed]
cosmic-osd/jammy,now 0.1.0~1721052322~22.04~27fc5e5 amd64 [installed]
cosmic-panel/jammy,now 0.1.0~1723223917~22.04~e184d10 amd64 [installed]
cosmic-randr/jammy,now 0.1.0~1722404448~22.04~71fabbb amd64 [installed]
cosmic-screenshot/jammy,now 0.1.0~1721939965~22.04~031eb66 amd64 [installed]
cosmic-session/jammy,now 0.1.0~1725300296~22.04~39c7f93 amd64 [installed]
cosmic-settings-daemon/jammy,now 0.1.0~1725474506~22.04~1ed6880 amd64 [installed]
cosmic-settings/jammy,now 0.1.0~1725454356~22.04~544da2b amd64 [installed]
cosmic-store/jammy,now 0.1.0~1725457363~22.04~b13eed4 amd64 [installed]
cosmic-term/jammy,now 0.1.0~1725375785~22.04~a71f0dc amd64 [installed]
cosmic-wallpapers/jammy,jammy,now 1.0.0~1719415313~22.04~0f2f16d all [installed]
cosmic-workspaces/jammy,now 0.1.0~1723068086~22.04~70d6c41 amd64 [installed]
gnome-shell-extension-cosmic-dock/jammy,jammy,now 72~ubuntu2pop0~1664903880~22.04~6700449 all [installed,automatic]
gnome-shell-extension-cosmic-workspaces/jammy,jammy,now 0.1.0~1716422595~22.04~6d90fb4 all [installed,automatic]
pop-cosmic/jammy,jammy,now 0.1.0~1706558821~22.04~608a095 all [installed,automatic]
xdg-desktop-portal-cosmic/jammy,now 0.1.0pop1~1724783238~22.04~e0458ec amd64 [installed,automatic]

oschijns avatar Sep 08 '24 07:09 oschijns

This is also happening for me. It has not worked on my stock and fresh install of Cosmic or with the latest packages. Here is what I have currently installed.

cosmic-app-library/jammy,now 0.1.0~1721054203~22.04~3489c53 amd64 [installed,automatic]
cosmic-applets/jammy,now 0.1.0~1721276976~22.04~d4c5cc9 amd64 [installed,automatic]
cosmic-bg/jammy,jammy,now 0.1.0~1720050061~22.04~343410f amd64 [installed,automatic]
cosmic-comp/jammy,now 0.1~1721243320~22.04~0a97147 amd64 [installed,automatic]
cosmic-edit/jammy,now 0.1.0~1721163824~22.04~6e8d212 amd64 [installed,automatic]
cosmic-files/jammy,now 0.1.0~1721224248~22.04~ec4d734 amd64 [installed,automatic]
cosmic-greeter-daemon/jammy,now 0.1.0~1721052517~22.04~59e2eaa amd64 [installed,automatic]
cosmic-greeter/jammy,now 0.1.0~1721052517~22.04~59e2eaa amd64 [installed,automatic]
cosmic-icons/jammy,now 0.1.0~1721234019~22.04~73be037 amd64 [installed,automatic]
cosmic-launcher/jammy,now 0.1.0~1721275594~22.04~c188029 amd64 [installed,automatic]
cosmic-notifications/jammy,now 0.1.0~1721052308~22.04~2caf2fb amd64 [installed,automatic]
cosmic-osd/jammy,now 0.1.0~1721052322~22.04~27fc5e5 amd64 [installed,automatic]
cosmic-panel/jammy,now 0.1.0~1721052062~22.04~05420b2 amd64 [installed,automatic]
cosmic-randr/jammy,now 0.1.0~1721287742~22.04~e214fe9 amd64 [installed,automatic]
cosmic-screenshot/jammy,now 0.1.0~1721052047~22.04~08ac28d amd64 [installed,automatic]
cosmic-session/jammy,now 0.1.0~1721052030~22.04~577a181 amd64 [installed]
cosmic-settings-daemon/jammy,now 0.1.0~1721272193~22.04~54700df amd64 [installed,automatic]
cosmic-settings/jammy,now 0.1.0~1721311726~22.04~e8106a9 amd64 [installed,automatic]
cosmic-store/jammy,now 0.1.0~1721163545~22.04~2d3379d amd64 [installed]
cosmic-term/jammy,now 0.1.0~1721233759~22.04~6d63530 amd64 [installed,automatic]
cosmic-wallpapers/jammy,jammy,jammy,jammy,now 1.0.0~1719415313~22.04~0f2f16d all [installed]
cosmic-workspaces/jammy,now 0.1.0~1721275631~22.04~f12fdcb amd64 [installed,automatic]
gnome-shell-extension-cosmic-dock/jammy,jammy,jammy,jammy,now 72~ubuntu2pop0~1664903880~22.04~6700449 all [installed,automatic]
gnome-shell-extension-cosmic-workspaces/jammy,jammy,jammy,jammy,now 0.1.0~1716422595~22.04~6d90fb4 all [installed,automatic]
pop-cosmic/jammy,jammy,jammy,jammy,now 0.1.0~1706558821~22.04~608a095 all [installed,automatic]
xdg-desktop-portal-cosmic/jammy,now 0.1.0pop1~1721226949~22.04~813352e amd64 [installed,automatic]

DylanMCode avatar Sep 30 '24 05:09 DylanMCode

This is still not working for me in the latest commit at this moment. It would've been better if we could set custom time to automatically switch between light & dark mode.

senntore avatar Mar 15 '25 07:03 senntore

I had the same problem, that happens only on NVIDIA Systems. A work around could be found here: https://github.com/catppuccin/gtk/issues/147

I use the fix with the using this Gnome-Extension: https://extensions.gnome.org/extension/19/user-themes/

worked for me

bitFiedler avatar May 27 '25 07:05 bitFiedler

@bitFiedler This repo is for cosmic de, which isnt based on gnome. Ig there's no way to fix this here

heydoyouknowme0 avatar Jun 19 '25 06:06 heydoyouknowme0

For me it switches when the laptop is active on the time around the dark or light mode switch should happen, in that time if my laptop lid is closed and i open it it will stay to the current dark or light mode

sachinchaudhary1808 avatar Nov 03 '25 13:11 sachinchaudhary1808

In my case, it fails to switch between light and dark modes or it switches them at the wrong time after the system resumes from a long suspend. Edit: I opened a new issue to clearly describe the bug https://github.com/pop-os/cosmic-epoch/issues/2476.

henrychienhy avatar Nov 05 '25 15:11 henrychienhy