awakened-poe-trade icon indicating copy to clipboard operation
awakened-poe-trade copied to clipboard

How I get trade macro pricing overlay running on linux (Nobara, Wayland) with 2 monitors.

Open nabanaa opened this issue 7 months ago • 3 comments

Discussed in https://github.com/SnosMe/awakened-poe-trade/discussions/1383

Originally posted by nabanaa July 21, 2024 Hi, first of all, I'm a newbie when it comes to linux family systems so pls, don't eat me alive for blunders that might occur later in this post (pointing out mistakes is appreciated tho :smile: ). Below is a list of steps I took to achieve desired outcome.

  1. Right off the bat, pricing overlay wasn't working at all, general overlay was working fine. That made me think the issue might be with security features of Wayland.
  2. I swapped display protocol on whole system to X11 in SDMM menu. That resolved problem with pricing overlay but it was displayed on second monitor instead of on top of poe
  3. Then I switched back to Wayland and tried to force run poe and awakened trade on x11. You can do that in /home/username/.local/share/applications/ folder by altering/creating .desktop file for game and program. You need to add "env GDK_BACKEND=x11" in Exec line. Example: [Desktop Entry] Name=Path of Exile Comment=Play this game on Steam Exec=env GDK_BACKEND=x11 steam steam://rungameid/238960 Icon=s team_icon_238960 Terminal=false Type=Application Categories=Game; 4.Previous step resolved the issue with overlay displaying on wrong monitor but then with every check (Ctrl+D) i needed to open main overlay (Shift+Space) so the pricing got shown. 5.Lastly I swapped default bind for pricing with "open without autohide" image

For me that fixed all problems, pricing overlay appears with one shortcut and on correct monitor. I don't know if every step from 3 onward is necessary and don't want to check in fear of breaking already working solution. Hope this post will help someone, feel free to ask questions (maybe I will know the anwser :joy:) or point out mistakes.

nabanaa avatar Jul 21 '24 19:07 nabanaa