lbonn / rofi

Rofi: A window switcher, run dialog and dmenu replacement - fork with wayland support
Other
876 stars 35 forks source link

[BUG] drun entries invisible #135

Closed jDmacD closed 4 weeks ago

jDmacD commented 1 month ago

Rofi version (rofi -v or git commit in case of build issue)

Version: 1.7.5+wayland3

Configuration

https://gist.github.com/jDmacD/a7643781c519b03a50ba8199aad30a26#file-config-rasi

Theme

https://gist.github.com/jDmacD/a7643781c519b03a50ba8199aad30a26#file-theme-css

Timing report

https://gist.github.com/jDmacD/a7643781c519b03a50ba8199aad30a26#file-timing-log

Launch command

rofi -show drun

Step to reproduce

Expected behavior

rofi should render a list of applications

Actual behavior

20240614121130

rofi only displays rofi and rofi theme selector

Additional information

ls ~/.nix-profile/share/applications

Permissions Size User Name
lrwxrwxrwx     - root code-url-handler.desktop -> /nix/store/k38y7zrf56g14vwk0kayhdmdihndmxcr-vscode-1.90.0/share/applications/code-url-handler.desktop
lrwxrwxrwx     - root code.desktop -> /nix/store/k38y7zrf56g14vwk0kayhdmdihndmxcr-vscode-1.90.0/share/applications/code.desktop
lrwxrwxrwx     - root discord.desktop -> /nix/store/s7bmbx9y6mv825kdkl6kz0kzs665zhsv-discord-0.0.54/share/applications/discord.desktop
lrwxrwxrwx     - root firefox.desktop -> /nix/store/pkqh0pddz268mvh55p8x3snpjz3ia8gk-firefox-127.0/share/applications/firefox.desktop
lrwxrwxrwx     - root kitty-open.desktop -> /nix/store/g12sr3hfc19gx5scp7mhgfipg0yalwbd-kitty-0.34.1/share/applications/kitty-open.desktop
lrwxrwxrwx     - root kitty.desktop -> /nix/store/g12sr3hfc19gx5scp7mhgfipg0yalwbd-kitty-0.34.1/share/applications/kitty.desktop
.r--r--r--  5.4k root mimeinfo.cache
lrwxrwxrwx     - root nvim.desktop -> /nix/store/c52rbjc2z4l2g0y2bd4skd7wqijy1wfh-neovim-0.9.5/share/applications/nvim.desktop
lrwxrwxrwx     - root org.eduvpn.client.desktop -> /nix/store/jd4lcgr9741fn6w7aswif2l6m4vxcnly-eduvpn-client-4.2.1/share/applications/org.eduvpn.client.desktop
lrwxrwxrwx     - root org.letsconnect-vpn.client.desktop -> /nix/store/jd4lcgr9741fn6w7aswif2l6m4vxcnly-eduvpn-client-4.2.1/share/applications/org.letsconnect-vpn.client.desktop
lrwxrwxrwx     - root rofi-theme-selector.desktop -> /nix/store/435xb3rkg4dj4ilpzgqxww30v5sav3d9-rofi-1.7.5+wayland3/share/applications/rofi-theme-selector.desktop
lrwxrwxrwx     - root rofi.desktop -> /nix/store/435xb3rkg4dj4ilpzgqxww30v5sav3d9-rofi-1.7.5+wayland3/share/applications/rofi.desktop
lrwxrwxrwx     - root teams-for-linux.desktop -> /nix/store/vh6vm9msdfyyvbmhiq8jadiqmsgx9nc1-teams-for-linux-1.4.27/share/applications/teams-for-linux.desktop
lrwxrwxrwx     - root vlc.desktop -> /nix/store/04r91fcilm3b9h7pj6ls1lpwhrzmds5a-vlc-3.0.20/share/applications/vlc.desktop

Using wayland display server protocol

I've checked if the issue exists in the latest stable release

jDmacD commented 4 weeks ago

Turns out there was an env var setting in hyprland that was clobbering XDG_DATA_DIRS. Setting it to this fixed the problem

XDG_DATA_DIRS,${config.home.homeDirectory}/.local/share:${config.home.homeDirectory}/.nix-profile/share:$XDG_DATA_DIRS