Kong / Kong/insomnia

Insomnia crashes immediately on startup on Arch Linux with Hyprland window manager and rofi app laucher

Open
#6,481 3 comments 0 reactions 0 assignees View on GitHub
B-bug O-linux S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

I expect Insomnia to start without crashing

### Actual Behavior

Upon launching from an application launcher such as `rofi`, Insomnia freezes and then crashes. This happens twice, after which Insomnia launches normally. Insomnia launches normally if started from the command line.

### Reproduction Steps

1. Open app launcher (in my case `rofi`)
2. Run Insomnia (Desktop file runs `/opt/Insomnia/insomnia %U --enable-features=UseOzonePlatform --ozone-platform=wayland`)

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

I am running Arch Linux on Wayland, using Hyprland as my window manager.

### Insomnia Version

2023.5.8

### What operating system are you using?

Other Linux

### Operating System Version

Linux 6.4.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000 x86_64 GNU/Linux

### Installation method

Arch User Repository

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the desktop-file command `/opt/Insomnia/insomnia %U --enable-features=UseOzonePlatform --ozone-platform=wayland` and compare launching it from rofi with launching Insomnia from the command line. Reproduce the two freezes and crashes on Arch Linux with Hyprland, then verify that the launcher path starts normally without those failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, linux, typescript
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.