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

Problems on Ubuntu 24.04 on WSL2 in Windows Terminal #44

Open
snth opened this issue Jan 3, 2025 · 2 comments
Open

Problems on Ubuntu 24.04 on WSL2 in Windows Terminal #44

snth opened this issue Jan 3, 2025 · 2 comments

Comments

@snth
Copy link

snth commented Jan 3, 2025

Hi,

This looks nice and I tried to take it for a spin but I encountered a number of problems.

First off I needed to install the following packages:

sudo apt install libpoppler{,-glib}-dev

Then inside tmux it renders but very blocky (see screenshot):

image

If I exit tmux then it just hangs completely and nothing will work (Ctrl-C, Ctrl-Z, ...) and I had to kill the terminal window.

I also tried Wezterm, there I get a "Error: NoFontSize" message and then the process exits.

In Alacritty 0.14 I get the same behaviour as in Windows Terminal, i.e. the process just hangs indefinitely and I need to kill the whole Alacritty window.

@itsjunetime
Copy link
Owner

Hmm, yeah I'm honestly not certain what the issue is here. Just to make sure, were you pulling in from current main when you ran these tests? I pulled in some changes to fix some weirdness with tmux on Jan 1st, so you might've had an old version of the code when you tried this out that could've caused these issues, but I'm not certain.

Alacritty, at least, is acting as expected. It doesn't have support for images, so it shouldn't work. Windows terminal, though, and wezterm should work. I haven't tested this at all on windows, though. #35 was made a bit ago to try to make it work on windows, but this should work for you since you're running it under WSL.

I think raising an issue on the wezterm repo, at least, would be useful. Just letting them know that tdf isn't getting a response for the TIOCGWINSZ command to get the font size, and tagging me on that issue so I could talk with the dev there to try and figure out what's going on.

@ereynolds119
Copy link

I was wondering if there had been any resolution from this. I am running Ubuntu 20.04.6 on wsl2 and any tdf command just hangs whether in tmux or not for me.

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