The future is here

To see the future, run in a terminal:

$ wget https://sdk.gnome.org/nightly/keys/nightly.gpg
$ flatpak remote-add --gpg-import=nightly.gpg gnome-nightly-apps https://sdk.gnome.org/nightly/repo-apps/

$ flatpak remote-add --gpg-import=nightly.gpg gnome-nightly https://sdk.gnome.org/nightly/repo/
$ flatpak install gnome-nightly org.gnome.Platform master
$ flatpak install gnome-nightly-apps org.gnome.Nautilus master
$ killall nautilus # No running instance has to be present
$ flatpak run org.gnome.Nautilus

*for Ubuntu look at the end of the post.

Results in:

nautilus-flatpak.png

Nautilus from master, updated everyday, parallel installable, in less than 3 minutes. I cannot believe this is possible. Note that due to be sandboxed with no permission handling there are things that are not working, like opening with an application.

For someone not aware of the whole platform and the Linux desktop, it’s difficult to see how many implications this bring to us and the changes that will allow in the upcoming months. This truly changes the game for GNOME (and any other desktop) as a project and platform, including 3rd party developers and companies using Linux desktops or that want to support it.

Amazing job Alex Larsson!  Flatpak is the big step we needed.

In case of using Ubuntu, flatpak is still not in main repositories, it should arrive soon. In the meantime do:

$ sudo add-apt-repository ppa:alexlarsson/flatpak && sudo apt update && sudo apt install flatpak

And then run the commands at the start of the post.

Advertisements

32 thoughts on “The future is here

  1. Hi Carlos
    When I run “flatpak install gnome-nightly org.gnome.Platform master” terminal says “error: Remote “gnome-nightly” not found”

    1. sorry, seems if I update from “Visual” tab instead of “Html” it brings back the issue. Should be fixed now again. Can you try?

      1. Thank you Carlos.
        Nautilus nightly is installed now \o/. I noticed two bugs with touchscreen under Wayland: back/forward buttons on top dont work and is not possible select files/folders dragging the finger on screen. When I try open any file nautilus says “unknown file”.

    2. Yeah, just edited my blog post to explain that the application is sanboxed, so it cannot open any file if we don’t use the portals for permissions (and we don’t yet). About the wayland bugs, I will take a look, report them please, since it’s important for us for the 3.22 version 🙂

  2. I installed a couple of apps, however the shell doesn’t pick them up because the .desktop files are in `/var/lib/flatpak/exports/share/applications` and not `/usr/share/applications` where it expects. Any idea how to configure things so that the additional flatpak folder is searched?

    1. That shouldn’t be necesary. I asked flatpak developers and the flatpak package should update the default environment depending on the distro mechanism e.g. adding a file in /usr/share/gdm/env.d/ or /etc/profile.d/.
      You can take a look at how fedora does it, adding a file in /etc/profile.d/ that sets the env var. This is necesary until someone standardises the way environments are set up, like systemd-etc.

  3. Better not release a old Flatpak of Nautilus people might never upgrade, I still miss typeahead – I guess that’s why I use the AUR package that hacks it back in, otherwise everything is cozy except the file operations box locks up hard even when moving say 40 files on a SSD

  4. Hi Carlos
    Today I updated my nautilus and now I can select folders/files using my touchscreen under Wayland and back/forward buttons on top are working. Thanks to all Gnome Team for theses fixes.

    1. afaik no, it requires the portals. Otherwise would be like not having flatpak at all. Although we already have holes in the flatpak specified in the manifest for access to several things, this one would be too much and it’s not possible.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s