Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: cleanups and updates #17

Merged
merged 6 commits into from
Apr 17, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 18 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,49 @@
# Fedora Cosmic Atomic
### Fedora Silverblue-based Atomic Desktop with the Pre-Alpha Cosmic Desktop Environment Included!
### Fedora Silverblue-based Atomic Desktop with the Pre-Alpha Cosmic Desktop Environment included!
boredsquirrel marked this conversation as resolved.
Show resolved Hide resolved

> NOTE: These images are not associated with System76! If you have issues, please understand they might be COSMIC related, OR they might be related to this image.
> NOTES:
> These images are not associated with System76! If you have issues, please understand they might be COSMIC related, OR they might be related to this image.
> The COSMIC Desktop Environment is still PRE ALPHA. Do not daily drive this image on your main workstation unless you know what you're doing.

Like Fedora? Want to try the latest from the work in progress Cosmic Desktop Environment? Want to help find bugs and/or contribute to Cosmic development, but don't want to work in a VM or install Pop!_OS? None of the above things but something else??!?

Go ahead and try one of the ostree images I've created here!

### Quick Installation

Install an rpm-ostree based desktop, like [Fedora Silverblue](https://fedoraproject.org/atomic-desktops/silverblue/) (aka atomic desktops)
Install a Fedora Atomic Desktop, best [Fedora Silverblue](https://fedoraproject.org/atomic-desktops/silverblue/).
boredsquirrel marked this conversation as resolved.
Show resolved Hide resolved

#### Warning
This image requires disabling SELinux. This is NOT recommended for production and is a temporary situation until this work is finished in upstream Fedora.
This image requires disabling SELinux. **This is NOT recommended for production** and is a temporary situation until this work is finished in upstream Fedora.

Edit `/etc/selinux/config`, set from `enforcing` to `permissive`
sudo setenforce 0 && getenforce
boredsquirrel marked this conversation as resolved.
Show resolved Hide resolved

> Note: Rebase to an unsigned image before rebasing to the signed cosmic images below!
You can view the selinux config in `/etc/selinux/config`
boredsquirrel marked this conversation as resolved.
Show resolved Hide resolved

```
$ sudo rpm-ostree rebase ostree-unverified-registry:ghcr.io/ublue-os/cosmic-base:40-amd64
```
#### Variants
- `cosmic-base`: Just the COSMIC Desktop
- `cosmic-silverblue`: Recommended, Fedora Silverblue with COSMIC Desktop added
- `cosmic-kinoite`: Fedora Kinoite with COSMIC Desktop addded

Run this command to rebase onto the signed image:
> NOTE: Rebase to the signed image, the unsigned image is only needed during the transition

```
$ sudo rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/cosmic-base:40-amd64
```
Rebase to the temporary unsigned image

Or this command if you're running an arm device:
rpm-ostree rebase --reboot ostree-unverified-registry:ghcr.io/ublue-os/VARIANT:40-amd64

```
$ sudo rpm-ostree rebase ostree-image-signed:docker://ghcr.io/ublue-os/cosmic-base:40-arm64
```
Rebase to the signed image

Reboot

systemctl reboot
rpm-ostree rebase --reboot ostree-image-signed:docker://ghcr.io/ublue-os/VARIANT:40-amd64

### Enabling the display manager

Log in with your username and password, then run:

sudo systemctl enable cosmic-greeter.service
sudo systemctl enable --now cosmic-greeter.service

### Neofetch
![Neofetch of COSMIC desktop in Fedora](./screenshot/cosmic-neofetch.png)

### Issues

For issues with the containers, feel free to submit an issue on this repo. For COSMIC related issues, please see https://github.com/pop-os/cosmic-epoch

> Note: The COSMIC Desktop Environment is still PRE ALPHA. Do not daily drive this image on your main workstation unless you know what you're doing.