I have installed flatpak
to install gimp
on Ubuntu 16.04:
flatpak install https://flathub.org/repo/appstream/org.gimp.GIMP.flatpakref
After the installation was done I couldn't find any application on my system, it also did not appear on my Desktop. Where to look for it?
UPDATE:
Searching for gimp
did not give me the right result, anyway by searching for GNU Image Manipulation Program
gave me the right result
In short: Reboot or log out and log in after installing the
flatpak
package to see flatpak apps in the launcher.Explanation:
Flatpak collects all
.desktop
files of system-wide installed applications in/var/lib/flatpak/exports/share/applications
and of per-user applications in~/.local/share/flatpak/exports/share/applications
.[1]Application launchers search for apps in
$XDG_DATA_HOME
directory (default~/.local/share
) and$XDG_DATA_DIRS
colon-separated list (default/usr/local/share/:/usr/share/
).[2][3]flatpak
Ubuntu package installs/etc/profile.d/flatpak.sh
script that adds the aforementioned flatpak export directories toXDG_DATA_DIRS
on startup. And just running the script after install won't help, it has to be done before the desktop starts because it reads that environment variable only when starting.To run Gimp:
But AFAIK there is a desktop file somewhere, I have a
~/.local/share/applications/org.gimp.GIMP.desktop
with:The real installation is in
/var/lib/flatpak/app/org.gimp.GIMP/
If you are used to "native" Gimp, be aware of some restrictions:
~/.var/app/org.gimp.GIMP/config/GIMP/2.10/
Edit>Preferences>Folders
to setup folders in more "visible" directories for your brushes, patterns, scripts and pluginsTo make Flatpak applications available in CLI, you can use a simple script like: