Closed askiiart closed 11 months ago
The dependency check for STL is separate from the check ProtonUp-Qt performs, you can see the code for it here: https://github.com/DavidoTek/ProtonUp-Qt/blob/main/pupgui2/resources/ctmods/ctmod_steamtinkerlaunch.py#L164-L204
I think for the xwininfo check, we can perform host_which('xwininfo') or host_which('xwinfo')
.
However, STL itself does expect xwininfo
. If running xwininfo
doesn't work, then STL will not work. The SteamTinkerLaunch AUR package also lists xorg-xwininfo
as the dependency, not xwinfo
. So it may be best to link or add an alias for xwinfo
.
It seems like xwinfo
is an AUR package and not a standard Arch Linux package either, at least yay
is only showing it as an AUR package.
I don't think this is bug per-se but given that STL expects specific names for its internal dependencies, it may not be a good idea for ProtonUp-Qt to go against this.
The internal program names STL expects are as follows:
GIT="git"
PGREP="pgrep"
PIDOF="pidof"
PKILL="pkill"
TAR="tar"
UNZIP="unzip"
WGET="wget"
XDO="xdotool"
XPROP="xprop"
XRANDR="xrandr"
XWININFO="xwininfo"
XXD="xxd"
ProtonUp-Qt matches these names too, we made sure of this when writing the SteamTinkerLaunch ctmod. So if there is a strong case to made for allowing xwinfo
it would have to be done on the SteamTinkerLaunch side first.
@sonic2kk Thanks! In that case, can you update the dependencies screen to show xwininfo
instead of xwinfo
?
No problem, I got a PR up for it at #301 :-)
If in doubt as well, always double-check the SteamTinkerLaunch dependencies section on the installation guide. ProtonUp-Qt only enforces the hard dependencies so STL can function, but there are several optional dependencies as well. I don't see any further discrepancies between ProtonUp-Qt's list and SteamTinkerLaunch's. The ctmod description also makes note of this:
SteamTinkerLaunch has a number of Optional Dependencies which have to be installed separately for extra functionality. Please see the Optional Dependencies section of the SteamTinkerLaunch Installation guide on its GitHub page.
And this is a little off-trackk, but just to echo something I say on the STL repo as well, make sure you're using SteamTinkerLaunch-git. There is currently no change in hard dependencies between old and git :-)
Please fill out following when reporting a new bug:
Describe the bug
When installing SteamTinkerLaunch, ProtonUp-Qt displays
xwinfo: missing
despite it being installed.To Reproduce Steps to reproduce the behavior:
Expected behavior
SteamTinkerLaunch should just install.
Screenshots
Desktop (please complete the following information):
yay -S protonup-qt
Additional context
N/A
Terminal output
Just from some quick googling, it seems that
xwinfo
andxwininfo
are the same thing, and copying/usr/bin/xwinfo
to/usr/bin/xwininfo
seems to work. So just tryingxwininfo
and falling back toxwinfo
if that's not available might work, though I'm not sure if that's an issue with SteamTinkerLaunch itself as well.