Skip to content

Commit

Permalink
refactor: cleanups and updates (#17)
Browse files Browse the repository at this point in the history
* cleaned up the readme

rpm-ostree doesnt need sudo, added complete arm commands, some minor fixes

* added variants, small refactoring

* refactor: remove ARM instructions

* refactor: capitalization, wording

---------

Co-authored-by: trytomakeyouprivate <[email protected]>
  • Loading branch information
boredsquirrel and boredsquirrel authored Apr 17, 2024
1 parent 4dc47ea commit 56255b8
Showing 1 changed file with 18 additions and 23 deletions.
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!

> 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, like [Fedora Silverblue](https://fedoraproject.org/atomic-desktops/silverblue/).

#### 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

> Note: Rebase to an unsigned image before rebasing to the signed cosmic images below!
You can view the SELinux config in `/etc/selinux/config`

```
$ 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.

0 comments on commit 56255b8

Please sign in to comment.