@sodiboo@gaysex.cloud@snacks@netzsphaere.xyz Did not work :( I did spawn-at-startup "command" and logged out and back in, no luck. Have you seen the screenshot of waybar I sent before?
@raccoon@hollow.raccoon.quest@snacks@netzsphaere.xyz not quite sure. i don't have the correct font installed so it looks like missing symbols for me and i don't feel like installing fonts today. but try increasing the padding? L102 has padding: 0 0.25em;, try like doubling or tripling that?
@raccoon@hollow.raccoon.quest@snacks@netzsphaere.xyz i did see the screenshot of waybar yeah. i'm not quite sure what's going wrong there, but it does seem to be more of a css issue than anything related to niri? let me see if i can reproduce
you gotta start it up together with niri , you could either do it with a unit file but who cares just slap spawn-at-startup "xwayland-satellite" ":0" in your niri config , log out and log back in
step 3
breakpoint !! check if everything is working so far . for example , open a terminal and run env DISPLAY=:0 <application> with whatever graphical application you want , and simply check that it opens up
step 4
what comes from here on out has to be rinse and repeated every time u have a x application that isnt running .
do a echo $XDG_DATA_DIRS . these are directories that contain application data , for example , youll find the usr/local/share dir here .
every one of these directories , might contain a application subdirectory . thats where , for example , your menu (fuzzel comes by default wit niri ) is gnna look for .desktop files . the main 2 that interest you are /usr/local/share/applications for system packages and /var/lib/flatpak/exports/share/applications for flatpak apps .
step 5
check whether $HOME/.local/share is in $XDG_DATA_DIRS . it most likely is , but if it isnt , add a export XDG_DATA_DIRS="$HOME/.local/share:$XDG_DATA_DIRS" to your login shell config file , so either .bashrc , .profile , or whatever setup u have . also , create the directory if it doesnt exist , so mkdir -p $HOME/.local/share/applications
step 6
im gonna go on talking about signal but this applies to any app that misbehaves in a similar manner .
signal is installed through flatpak , so its desktop entry is gonna be in that one /var/lib/flatpak/../applications bullshit dir i told u earlier . grab it and copy it to your users local application directory (the one we created earlier ), so in this specific case cp /var/lib/flatpak/exports/share/applications/org.signal.Signal.desktop ~/.local/share/applications/
this is because the users desktop entries have higher priority than the systems ones
step 7
open up that new file we just copied in nvim , look for the Exec= field .
to whatever is there , in the very beginning add env DISPLAY=:0 . this is so that the application runs in the display managed by xwayland-satellite (remember ? that was so long ago lol)
@fiore@brain.worm.pink@snacks@netzsphaere.xyz@sodiboo@gaysex.cloud I will when I'm done and I'm happy with it. By the way, I tried installing signal, through flatpak because it's not in the repo. Works fine on xfce, doesn't start on niri, can you try installing it and letting me know how it goes?