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

tigger on wsl #145

Open
landmanbester opened this issue Jul 14, 2022 · 4 comments
Open

tigger on wsl #145

landmanbester opened this issue Jul 14, 2022 · 4 comments
Labels

Comments

@landmanbester
Copy link

I am running wslg under windows 11 and I have some issues with how the app is positioned on the screen. Figure this must be wsl related. Help would be appreciated

@razman786
Copy link
Collaborator

razman786 commented Jul 14, 2022

Please try the following:

Using VcXSrv add the following parameters when launching:

-ac -terminate -lesspointer -multiwindow -clipboard -wgl -dpi auto

Then in Ubuntu set the xserver display in ~/.bashrc

export DISPLAY=$(ip route | awk '{print $3; exit}'):0
export LIBGL_ALWAYS_INDIRECT=1
export XCURSOR_SIZE=16

Then install the xcb dependencies:

sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev

From https://forum.qt.io/topic/127696/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/27

@razman786
Copy link
Collaborator

also:

sudo apt-get install libxkbcommon-x11-dev

@landmanbester
Copy link
Author

Thanks @razman786. Opening a .fits file directly from the command line works as expected. The only remaining issue is that, if I launch tigger without any arguments and then load up an image the window jumps off the screen for me. Otherwise it's all running smoothly. Running master branch in a python3.8 venv

@razman786
Copy link
Collaborator

Note to self: Check when using 'load image' menu the screen re-centre coords after the new QWT plot is loaded.

@razman786 razman786 added the bug label Jul 14, 2022
razman786 added a commit that referenced this issue Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants