Insomnia flatpak on Silverblue/Bluefin
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
Insomnia works on Project Bluefin
### Actual Behavior
Insomnia does not boot on Project Bluefin
### Reproduction Steps
1. Install Project Bluefin OS
2. Install Insomnia from Flathub
3. Try to launch Insomnia
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Which sync method do you use?
- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [ ] Local only
### Additional Information
I am running the immutable OS Project Bluefin (basically Fedora Silverblue).
When download Insomnia over flathub, it won't boot.
In terminal I get:
```
❯ flatpak run rest.insomnia.Insomnia
[2:1128/141931.614868:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
14:19:31.904 › Running version 10.0.0
LaunchProcess: failed to execvp:
xdg-settings
14:19:31.908 › [electron client protocol] FAILED to set default protocol 'insomnia://'
14:19:31.909 › [electron client protocol] the current executable is not the default protocol for 'insomnia://'
14:19:31.911 › [electron client protocol] the default application set for 'insomnia://' was not found
(insomnia:2): Gdk-WARNING **: 14:19:56.926: Settings portal not found: Error calling StartServiceByName for org.freedesktop.portal.Desktop: Timeout was reached
[2:1128/141956.953573:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1128/141956.953590:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
14:19:56.979 › [fix] Running database repairs
14:19:57.127 › [db] Initialized DB at /var/home/max/.var/app/rest.insomnia.Insomnia/config/Insomnia/insomnia.$TYPE.db
14:19:57.127 › [db] Init responses DB
14:19:57.127 › [db] Init websocket-responses DB
14:19:57.136 › [localstorage] Initialized at /var/home/max/.var/app/rest.insomnia.Insomnia/config/Insomnia/localStorage
14:19:57.149 › [main] Loading file:///app/main/resources/app.asar/index.html
14:19:57.155 › [main] Registering the hidden window restarting handler
14:19:57.156 › [updater] Not supported on this platform linux
[2:1128/141957.203786:ERROR:wayland_event_watcher.cc(43)] libwayland: [destroyed object]: error 7: failed to import supplied dmabufs: Could not bind the given EGLImage to a CoglTexture2D
```
I tried setting `-enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto` but that doesn't change anything.
Is this a bug or intended behavior?
### Insomnia Version
10.0.0
### What operating system are you using?
Other Linux
### Operating System Version
Project Bluefin
### Installation method
flathub
### Last Known Working Insomnia version
_No response_
Contributor guide
Research direction
Start by reproducing the launch failure with `flatpak run rest.insomnia.Insomnia` on Project Bluefin and compare the reported D-Bus, portal, xdg-settings, and Wayland errors. Done means identifying the cause and making the Flathub installation launch successfully on the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100