Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No windows appear in xrdesktop in LXDE #3

Open
happysmash27 opened this issue Jul 19, 2022 · 3 comments
Open

No windows appear in xrdesktop in LXDE #3

happysmash27 opened this issue Jul 19, 2022 · 3 comments

Comments

@happysmash27
Copy link

When launching SteamVR and then ./target/release/picom-xrdesktop-companion, no windows appear. Laser dots exist and the menu can be opened and interacted with, but nothing happens when any of the buttons are pressed other than them being indicated as being pressed and sometimes changing icons. My log, after opening and closing the menu a bunch of times and trying to see if the buttons do anything, is as follows:

 % ./target/release/picom-xrdesktop-companion
ClientMode::Overlay
Load manifest path /home/happysmash27/.cache/xrdesktop.openvr/actions.json
Added controller for origin Right Hand Vive Controller Raw for action /actions/wm/in/hand_pose
Added controller for origin Left Hand Vive Controller Raw for action /actions/wm/in/hand_pose
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Window 0 does not exist!
Window 0 does not exist!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Window 0 does not exist!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
Initializing buttons!
Destroying buttons!
^C

I believe this is a bug but am not quite sure. Maybe I am just doing something wrong and need to do something to make the windows appear. Launching a new Alacritty does not appear to make them appear in xrdesktop. In the process of debugging I also opened up an instance of Firefox which did not appear either, as well as xrd-settings.

I am using LXDE and have Picom as the first auto-launch program in ~/.config/lxsession/LXDE/autostart, as:
@picom --dbus -b

Running:
dpy=$(echo -n "$DISPLAY" | tr -c '[:alnum:]' _)

And then:

service="com.github.chjj.compton.${dpy}"
interface='com.github.chjj.compton'
object='/com/github/chjj/compton'
type_win='uint32'
type_enum='uint32'

And then:
dbus-send --print-reply --dest="$service" "$object" "${interface}.list_win"

Correctly lists an array of windows as uint32.

So it looks like everything is working theoretically, yet, no windows actually appear.

@happysmash27
Copy link
Author

Running examples/client from xrdesktop seems to work so I think this indeed is most likely an issue with picom-xrdesktop-companion or the way I set it up.

@yshui
Copy link
Owner

yshui commented Jul 19, 2022

Did you use the git version of picom? As stated in the README:

For now, only the latest git version of picom is supported.

@Da-Boom
Copy link
Contributor

Da-Boom commented Aug 30, 2022

if youre running picom on arch - use picom-git from the AUR

Also it appears this issue is older than the issue i created and solved (issue #5)

try running git pull to download the latest code before rebuilding the software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants