mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
1.2k stars 95 forks source link

[BUG] Flatpak apps don't run #495

Closed matheusmelo18 closed 2 days ago

matheusmelo18 commented 4 days ago

Describe the bug Apps Flatpak don't open To Reproduce Steps to reproduce the behavior:

  1. Go to 'Apps'
  2. Click on 'Discord "flatpak"
  3. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Distribution (please complete the following information):

Additional context Add any other context about the problem here.

mylinuxforwork commented 3 days ago

@matheusmelo18 Thanks for testing. Can you open the apps from the command line?

matheusmelo18 commented 3 days ago

Disabling updates already done Discord 0.0.74 [6:1130/091751.008783:ERROR:wayland_connection.cc(198)] Failed to connect to Wayland display: Arquivo ou diretório inexistente (2) [6:1130/091751.008837:ERROR:ozone_platform_wayland.cc(264)] Failed to initialize Wayland platform [6:1130/091751.008844:ERROR:env.cc(258)] The platform failed to initialize. Exiting. /app/bin/com.discordapp.Discord, linha 27: 6 Falha de segmentação (imagem do núcleo gravada)env TMPDIR=$XDG_CACHE_HOME zypak-wrapper /app/discord/Discord --enable-speech-dispatcher "${FLAGS[@]}" "$@" 2024/11/30 09:17:52 socat[4] W exiting on signal 15 happens on discord and other apps

PerfMonk commented 3 days ago

Same for me on Fedora 41. The script that start the browser should be modified to run a flatpak . "flatpak run one.ablaze.floorp" in my case. It can be changed in custom configuration=>Default Applications=>Browser. It just not that easy to find if your are not familiar with the project (wich is my case). Congratulations! I like it very much this Hyprland rice ;=)

mylinuxforwork commented 3 days ago

@PerfMonk Thank you. You have explained it perfectly.

feikedonia commented 2 days ago

I can reprecate the problem on EndeavourOS.

However: I have installed other flatpakapps, namely Signal Messenger, which runs fine

matheusmelo18 commented 2 days ago

I found a temporary solution using flatseal and going to discord for example and activating all wayland options and it worked

mylinuxforwork commented 2 days ago

@feikedonia I would say it is not a dotfiles issue. It's coming obviously from wayland and electron apps.

That's why I will close the issue for now because I cannot fix it through the dotfiles.