Portal:Aeon

(Redirected from Portal:MicroOS/Desktop)
Jump to: navigation, search

openSUSE Aeon

Icon-warning.png
Warning: On 27th May 2023, openSUSE MicroOS Desktop was renamed to openSUSE Aeon, and the Plasma Desktop version is being renamed to openSUSE Kalpa . Also note that AEON OS is no longer based on MicroOS. It has a separate Release package, separate base pattern, and no overlap with any MicroOS package or patterns whatsoever. Please mind the dust while we migrate everything from MicroOS Desktop to the new names.
openSUSE Aeon provides only a minimal base system with a GNOME Desktop Environment and Basic Configuration Tools ONLY. All Applications, Browsers, Codecs, etc are provided by flatpaks from Flathub.
Icon-warning.png

openSUSE Aeon is still in a Release Candidate stage, please keep that in mind!


Who is openSUSE Aeon for?

It is NOT for everyone. Your highly customizable Tumbleweed & Leap Desktops are safe and will remain the best choice for those who want to tinker with their Desktop.

It should be perfect for lazy developers, who no longer want to mess around with their desktop and just ”get stuff done”, especially if they develop around containers.

It should also appeal to the same audience now more used to an iOS, Chromebook or Android-like experience where the OS is static, automated & reliable and the Apps are the main thing the user cares about.

To deep dive on the origins and the case why some users should use openSUSE Aeon check out the following workshop:

[YouTube] Why you should be running the MicroOS Desktop


Design Goals

Aeon should be reliable, predictable & immutable, just like openSUSE MicroOS.

Aeon should be less customizable than regular openSUSE Tumbleweed/Leap.

Aeon should be small, but not at the expense of functionality. Printing, Gaming, Media Production and much more should all work.

Aeon should just work “out of the box” without the need for additional configuration to get key functionality like software installation and web browsing working. All features offered by default should work - features that don't work shouldn't be offered/visible/available to users.


How to Download and Install

  1. Download the openSUSE MicroOS base ISO image from https://en.opensuse.org/Portal:MicroOS/Downloads
  2. Write the ISO on a USB drive and start the installation process.
  3. Select openSUSE Aeon in the selection screen in the Installer.

Ways to Install Applications in Order of Preference

Now that you have installed Aeon, you probably want to install software.

Because it provides only a minimal base system with a Desktop Environment, it is designed to come with only basic configuration tools by default.

For this reason, All Applications, Browsers, Codecs needed for specific apps, etc are provided by flatpaks from Flathub.

To make this process even easier for users, the Flathub repository of all available flatpaks have been integrated with Gnome Software. This way, you can simply search and find all your favorite apps in a seamless and integrated way.

While there are other ways to install software, it is important to remember that it is STRONGLY recommended to install software in the following order of preference:

  1. Flatpaks from your software center of choice or Flathub
  2. RPM's in a user distrobox distrobox-enter
  3. RPM's in a root distrobox distrobox-enter -r
  4. RPM's via transactional-update -- for drivers, kernel modules, strictly what you need for your host operating system to work.

To reiterate: EVERYTHING should be done via flatpaks or be installed in a Distrobox if a package is not available as a flatpak. Using transactional-update is strictly what you need for your host operating system to work (exotic drivers, specialized vpn services).

Note: Distrobox is shipped by default w/ Aeon. It allows users to install any Linux distribution inside your terminal. For those who want to run GUI apps via a Distrobox can do so with a special export command so that apps feel more native and integrated with the system. Check out the [Distrobox section] to learn more about this convenient way to launch distrobox based apps from your host menu launcher.

An Introduction to transactional-update

openSUSE Aeon does not use zypper like openSUSE Tumbleweed or openSUSE Leap to install RPM packages and use them directly. openSUSE Aeon uses transactional-update with zypper under the hood.

Most of the time, you should not need to use any of these commands interactively, as Aeon has automatic system updates via the transactional-update.service systemd service.

transactional-update - Example Commands

Commands for transactional-update are listed below. NOTE: Remember to reboot after the command is finished to see the changes!

  • sudo transactional-update pkg install package_name install a rpm package
  • sudo transactional-update pkg remove package_name remove an rpm package
  • sudo transactional-update dup perform a system upgrade to the next release
  • sudo transactional-update shell open a shell of the next snapshot (you can use zypper commands there). This should only be used for debugging purposes. Any bug report that can only be reproduced by using transactional-update shell is almost certain to be closed as WONTFIX.
  • sudo transactional-update rollback snapshot_number roll the system back to the numbered snapshot. Use 'last' instead of the snapshot number to roll back to the last working snapshot. Do not use snapper for rollbacks.

transactional-update - Automatic Update

By default transactional-update.timer handles automated system updates. This is set to daily which means that the task will be executed each day at 00:00:00.

In the event this might be at a time when the computer is off, as the timer is set to persistance=true, then the update will then take place the first chance it can.

Some of the reasons why it may not be able to trigger an update could be:

  • the computer was off
  • the internet connection was disturbed - at time it is scheduled to.

This should not cause issues due to the way transactional-update works since the new packages are installed on a new snapshot for which to take effect you must reboot.

To track if transactional-update is able to upgrade, and run correctly you can use journalctl:

 $ sudo journalctl -u transactional-update.service 

You can also use journalctl with the -f flag to tail the logs in real time.

transactional-update - --Final Words About Snapshots and Boot Behavior

By default, each transactional-update command produces a seperate, self-contained, snapshot that includes the changes requested by the transactional-update command.

This snapshot is BASED ON THE LAST KNOWN GOOD/BOOTED SNAPSHOT. The last of the snapshots produced by multiple transactional-update commands then takes effect when rebooting.

In other words sudo transactional-update pkg install $pkg1 followed by sudo transactional-update pkg install $pkg2 and then rebooting results in a system that has $pkg2 installed, but NOT $pkg1.

This is the expected, and sensible default behaviour - Aeon always wants to move from the last known good/booted snapshot to it's new state in the smallest, least disruptive way possible.

This is especially sensible when you think the default/expected behaviour is that Aeon updates itself automatically and most users should not be using transactional-update interactively at all. With transactional-update dup happening regularly in the background automatically, Aeon wants to make sure it's updating only to the latest clean system update state, not some weird hybrid of previous unbooted, unchecked, intermediate transactional-update dup that never got booted.

However, when ignoring this best practice and using transactional-update interactively, there may be times where you wish to run transactional-update against an existing unbooted, unknown-if-good snapshot.

For this use transactional-update --continue

Example:

sudo transactional-update pkg install $pkg1 followed by sudo transactional-update --continue pkg install $pkg2 will install $pkg1, then $pkg2 in the same snapshot that included $pkg1, marking that combined snapshot as the next boot target.

If problems occur however, there is no additional complexity figuring out whether it was $pkg1 or $pkg2 that broke anything, as users will need to rollback to the snapshot before $pkg1 was installed to return to the last known good state.


GNOME Software + Flathub Integration

Gnome is currently in a RC stage.

  • At first boot flatpaks are enabled and some flatpaks are installed by default (Mozilla Firefox, Text Editor, Gnome Calculator and Extension Manager).
  • After the first boot script finishes you can open Gnome Software to install more software from Flathub.

Distrobox

Distrobox can be used like toolbox (which is included on the server version of MicroOS by default), but has some other advantages for desktop usage. Please refer to https://github.com/89luca89/distrobox for all options.

For more documentation, see the Distrobox Page


Troubleshooting

This section describes known issues on openSUSE Aeon and their solutions.

Set hostname

Set your hostname with the following command, as currently it doesn't work from Gnome Settings yet:

  # sudo hostnamectl set-hostname <new name>

Reboot and hostname change will take effect.

Adjust transactional-update.timer

Depending on your daily use case, the Timer may not trigger the automatic update process successfully even with persistent=true because it adds a randomized delay at each boot with RandomizedDelaySec

If you want automatic daily updates to your system, you may find that you need to adjust that delay mentioned.

Edit transactional-update.timer:

  # sudo systemctl edit transactional-update.timer

Add the following lines to create a override.conf (located in /etc/systemd/system/transactional-update.timer.d/override.conf)

   [Timer]
   RandomizedDelaySec=10m

The example above is for a randomized delay of max. 10 minutes. (Default value is 2h)

Change the time to your use case.

Steam Proton, Bottles, WINE, Lutris, not working from flatpaks

If you run into issues using WINE, and WINE based programs in flatpaks, it is likely due to an SELinux issue, and can be checked by running:

  # sudo getsebool selinuxuser_execmod

If that returns 'selinuxuser_execmod --> disabled', you will need to enable it. This can be done temporarily (resets on next boot) with

  # sudo setsebool selinuxuser_execmod 1

Or can be set Persistent with:

  # sudo setsebool -P selinuxuser_execmod 1

The openSUSE Security team is reviewing this default policy, and you are enabling this at your own risk. See https://bugzilla.opensuse.org/show_bug.cgi?id=1206292 for further information.

Steam flatpak opens, but can't start games

In case you run into this issue, where Steam opens, but games are not launching - that otherwise would - make sure that the Steam flatpak is allowed to run in the background:

  # flatpak permission-set background background com.valvesoftware.Steam yes

Team Fortress 2 missing audio

If you run into audio issues with Team Fortress 2, it is likely due to an SELinux issue, and can be checked by running:

  # sudo getsebool selinuxuser_execheap

If that returns 'selinuxuser_execheap --> disabled' you will need to enable it. This can be done temporarily (resets on next boot) with

  # sudo setsebool selinuxuser_execheap 1

Or can be set Persistent with:

  # sudo setsebool -P selinuxuser_execheap 1

Android Studio emulator not working from flatpak

If you run into issues using Android studio emulator in flatpaks, it is likely due to an SELinux issue, and can be checked by running:

  # sudo getsebool selinuxuser_execstack

If that returns 'selinuxuser_execstack --> disabled' you will need to enable it. This can be done temporarily (resets on next boot) with

  # sudo setsebool selinuxuser_execstack 1

Or can be set Persistent with:

  # sudo setsebool -P selinuxuser_execstack 1

The openSUSE Security team is reviewing this default policy, and you are enabling this at your own risk. See https://bugzilla.opensuse.org/show_bug.cgi?id=1206789 for further information.


Reporting Bugs

Please use the following link for reporting bugs: Report a bug for openSUSE Aeon

Please see Submitting Bug Reports for more information on how best to file a bug

Place for questions

As openSUSE Aeon has various places discuss the project

All these channels are bridged together via Matrix, so sending your comments in one, will be seen in the other two.