You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially I observed issues with icons as part of #763 and #765
Recently, I was able to get COSMIC icons to work on macOS:
(Notice the checkmark in the menu, the delete icon in the search bar, and the close icon in the notification).
Without modifying cosmic-freedesktop-icons or libcosmic I have achieved the following by:
I wanted to start a discussion regarding how we could proceed forward with getting icons to work on macOS:
Would you approve/encourage distributing cosmic-icons via macOS package mangers (similar to how it is distributed for various Linux package managers)?
We should not be setting $XDG_DATA_DIRS on macOS.
Assuming cosmic-icons will be distributed, would you be willing to add some additional lookup paths for macOS?
EDIT 1:
After compiling the application, and launching it from outside the terminal, XDG_DATA_DIRS were not inherited.
It is possible to set the environment variable to be inherited by GUI applications by launching a LaunchAgent:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I was not able to raise an issue or a discussion at https://github.com/pop-os/freedesktop-icons, so I assume this is the second best place to do so.
Initially I observed issues with icons as part of #763 and #765
Recently, I was able to get COSMIC icons to work on macOS:

(Notice the checkmark in the menu, the delete icon in the search bar, and the close icon in the notification).
Without modifying
cosmic-freedesktop-icons
orlibcosmic
I have achieved the following by:/opt/homebrew/share/Cosmic
).I wanted to start a discussion regarding how we could proceed forward with getting icons to work on macOS:
cosmic-icons
via macOS package mangers (similar to how it is distributed for various Linux package managers)?$XDG_DATA_DIRS
on macOS.Assuming
cosmic-icons
will be distributed, would you be willing to add some additional lookup paths for macOS?Other icon themes on macOS (https://formulae.brew.sh/formula/adwaita-icon-theme, https://formulae.brew.sh/formula/hicolor-icon-theme) also create symlinks at
/opt/homebrew/share/icons
.EDIT 1:
After compiling the application, and launching it from outside the terminal,
XDG_DATA_DIRS
were not inherited.It is possible to set the environment variable to be inherited by GUI applications by launching a LaunchAgent:
EDIT 2:
A slightly streamlined LaunchAgent (which is being used by my custom homebrew cask https://github.com/vkhitrin/homebrew-tap/blob/main/Casks/cosmicding.rb):
Beta Was this translation helpful? Give feedback.
All reactions