Closed soloturn closed 1 month ago
All those packages (except maybe fonts eventually, but not yet) are necessary to have a functional desktop. You can't install e.g. GNOME without workspaces, the top bar, or a way to launch apps. cosmic-session can't really do much by itself. Its job is to start and restart processes as necessary. cosmic-greeter is used for the lock screen (which is why it's required), as well as a display manager if configured.
i tried it without coxmic-greeter, and it does not work. logging in from gdm starts cosmic, and it tries to start cosmic-greeter, cannot, and fails altogether. having cosmic greeter installed lets me lauch cosmic, but lock screen does not work. why one would need to have coscmic-screenshot installed as mandatory component. or why would one need a panel or dock? what i really love to have is some way to stop cosmic after starting it.
The lock screen not working currently is a known issue.
why one would need to have coscmic-screenshot installed as mandatory component
While not strictly mandatory, it is a part of the DE (same as how GNOME has a built in screenshot tool), and it makes sense to have some kind of screenshot functionality built-in. But that can certainly be changed in Arch, once it is officially packaged.
why would one need a panel or dock?
That's a core package, without which you wouldn't be able to easily use any applet. If you don't want the Dock appearing, it can be turned off in Settings, and the Panel can be turned off with COSMIC Tweaks.
@soloturn I honestly don't understand the point here. I already answered your question before you asked and you've been able to reproduce it as you mentioned above.
As a packager, I follow upstream as best I can. As far as the dependencies for the cosmic-session-git
AUR package, I based the dependencies on the Debian control file.
Technically, it might not be difficult to modularize all of this, but I think a lot of things are currently hard coded, so I would recommend to install all of the package for now
We probably do want to make this more modular and configurable, but exactly how remains an open question.
Cosmic-comp tries to use standard Wayland protocols where possible, so it should be possible to use a third-party lock screen, panel, etc.
Imo there should be a meta-package for the whole desktop. On Pop!_OS this currently is cosmic-session
, which also provides the equally named binary. Currently that isn't the worst model, given cosmic-session isn't skipping over missing components gracefully. I consider that a bug, but until that is fixed there really is no reason to split cosmic-session
. Other components however shouldn't extensively depend on each other, e.g. cosmic-comp
can be used standalone.
ah, if the lock screen is just a bug, than all is clear, and if it follows wayland standard protocols, its perfect. having the dependencies to cosmic session makes a lot of sense to me.
i was just searching for a way to make the switch over from gnome or other desktop easy - which means leave the display manager in place in a first step, and later offer to switch it. for screenshot i was searching for something which does screen recording and remove the one which does not (yet).
we close the ticket, at least my questions are answered?
@yochananmarqos retired the cosmic-epoch arch linux package in favor of single packages, which is great. now one can install cosmic-session, and it has dependencies. the mandatory dependeny list seems to be excessive with below packages, it would be really cool to shift most of them to optional dependencies:
which ones of above are really mandatory, and why? without cosmic-greeter cosmic fails to start: