Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Some GNOME flatpaks left over from Silverblue installer don't work properly in Vauxite #7

Open
ali1234 opened this issue Feb 8, 2023 · 6 comments

Comments

@ali1234
Copy link

ali1234 commented Feb 8, 2023

To reproduce, open a terminal and run xdg-open /usr/share/backgrounds/default.png

Expected result: the image should open in ristretto, the default image viewer for Xfce, which is in the base image.

Actual result: GNOME Image Viewer opens, but cannot open the file.

image

Opening other types of files with xdg-open seems to work okay, for example the XML file opened in Firefox which had no problem displaying it.

I can go to the Xfce control panel "Default Applications" and change the default for PNG files, like this:

image

After doing this, xdg-open correctly loads ristretto, which is able to display the file.

Two problems in one here:

  1. GNOME Image Viewer shouldn't be installed by default on Xfce. (This will be fixed if/when Vauxite gets its own installer ISO)
  2. If it is installed, it should work. (The reason they don't work remains an open question)

Note: xdg-open is the CLI equivalent of double clicking a file in a file manager, so the same thing happens if you try to open the image with Thunar.

@corpsouth
Copy link

By any chance do you have the flatpak org.gnome.eog installed?

Type in flatpak list | grep gnome and it should come up with all of the gnome applications.

I got rid of that same flatpak and the command provided returned Ristretto Image Viewer.

@ali1234
Copy link
Author

ali1234 commented Feb 8, 2023

Yes, but I do not understand why. I have never installed any flatpaks on this system.

@corpsouth
Copy link

Yes, but I do not understand why. I have never installed any flatpaks on this system.

image

Example of output.

@ali1234
Copy link
Author

ali1234 commented Feb 8, 2023

I mean I don't understand why eog is installed. Presumably it is left over from silverblue default install?

@corpsouth
Copy link

corpsouth commented Feb 8, 2023

I mean I don't understand why eog is installed. Presumably it is left over from silverblue default install?

That's indeed the cause, rebasing doesn't uninstall flatpaks (but only if the build instructions are explicitly told to do so? Don't know if that's practical or worth exploring), and while rebasing to Vauxite I uninstalled most of the flatpaks which were included with Silverblue by default.

@ali1234 ali1234 changed the title By default, xdg-open opens images in GNOME image viewer which does not work GNOME flatpaks left over from Silverblue installer don't work properly in Vauxite Feb 8, 2023
@ali1234 ali1234 changed the title GNOME flatpaks left over from Silverblue installer don't work properly in Vauxite Some GNOME flatpaks left over from Silverblue installer don't work properly in Vauxite Feb 8, 2023
@hyperreal64
Copy link
Collaborator

Yeah, the flatpaks are left over from the Silverblue install. You can uninstall them manually for now. They are not part of the ostree image, so there is nothing that could be done in the build instructions to remove them. I could probably add a justfile to the image and have a script to run the just actions automatically on the first boot after rebasing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants