JaKooLit / Debian-Hyprland

Automated Hyprland installer for Debian 13 Trixie and Debian SID (unstable)
GNU General Public License v3.0
682 stars 64 forks source link

rofi not showing any Flatpak apps #72

Closed olterman closed 3 months ago

olterman commented 3 months ago

Bug Report

Description

[Provide a clear and concise description of the bug.] rofi -show drun #not showing any Flatpak apps

Steps to Reproduce

  1. SUPER - D
  2. No Flatpak apps shown

Expected Behavior

that the flatpak apps woould show in dmenu

Actual Behavior

can't see them, have to bind a whole lot of flatpak run kommands

Screenshots

Environment

JaKooLit commented 3 months ago

log out and relogin or reboot

olterman commented 3 months ago

Oh I have many times ... they wont show up

JaKooLit commented 3 months ago

are you using rofi or rofi-wayland?

rofi from debian repo does not support wayland.. that could be the reason why

olterman commented 3 months ago

hmm, I installed from your script so was assuming, I was using the right one. --- edit

Checked now and no rofi debian package installed

JaKooLit commented 3 months ago

hmm, I installed from your script so was assuming, I was using the right one. --- edit Checked now and no rofi debian package installed

Thanks just covering the bases....

I dont use flatpak but when I added discord - flatpak to my debian, it shows the discord ok

olterman commented 3 months ago

As I said on one of my two debian machines it works fine, trying to understand what the difference is .... So far no luck.

JaKooLit commented 3 months ago

did you install the zsh?

if can you try to install zplug? its plugin for zsh

olterman commented 3 months ago

Your script installed my zsh ... I have now installed zsh plugin ... dont know what to do with it or how to use it though

JaKooLit commented 3 months ago

So I want to give you update here

I have added this

flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

instead of flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Notice the --user

and then when I install something from flathub,

it will give me option wether to install on user or system ...

on my test if I choose user, it wont show on rofi... if I choose system, it will show on rofi...

olterman commented 3 months ago

All my flatpaks where installed as system .... I have now solved it by adding: env = XDG_DATA_DIRS,/usr/local/share/:/usr/share/:/var/lib/flatpak/exports/share to ENVariables.conf