-
Notifications
You must be signed in to change notification settings - Fork 85
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
can't get wtftw to run #109
Comments
When running in Xephyr, did you capture input?
…On Thu, May 18, 2017, 14:49 Philipp Keller ***@***.***> wrote:
I'm trying to run wtftw on a fresh ubuntu installation, but I was not
successful so far. Building with cargo build --release on rust nightly
was successful.
Xephyr -screen 800x600 :1 &
DISPLAY=:1 ./target/release/wtftw &
DISPLAY=:1 thunar &
worked without error, but when switching to the window I expect that
Alt+Shift+Enter would do anything. But it does nothing.
Also when putting this into /usr/share/xsessions/wtftw.desktop:
[Desktop Entry]
Name=wtftw
Comment=improved dynamic tiling window manager
Exec=wtftw
TryExec=wtftw
Type=Application
X-LightDM-DesktopName=wtftw
DesktopNames=wtftw
When choosing wtftw at the startup, the nothing happens. The background
pic still shows, linux is frozen, etc. I put wtftw into /usr/bin/.
Some infos about my env:
$ rustup show
Default host: x86_64-unknown-linux-gnu
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
active toolchain
----------------
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.19.0-nightly (75b056812 2017-05-15)
~/oss/wtftw on master! ⌚ 7:47:57
$ uname -a
Linux philipp-ThinkPad-X1-Carbon-4th 4.8.0-49-generic #52~16.04.1-Ubuntu SMP Thu Apr 20 10:55:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#109>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAG0CSWqE2F94rx60kbA_psp6vTEU29yks5r69uxgaJpZM4NewoM>
.
|
Build is also successful for me with rust 1.19-nightly (not using rustup, but mozilla nixpkgs overlay). Running the following:
Results in the following:
Not sure if this is the same problem, but seems like same symptoms - crashes out straight away. If running from shell as |
@Kintaro yes I captured mouse/keyboard with Ctrl+Shift. |
Good news: I am able to reproduce it.
|
I don't think I can be of help debugging here. Or can I? is there a workaround? I'm just about to set up a tiling window manager and would just love to get started somehow with wtftw. The binary in releases is fairly old, is there another binary I could use for the time being? |
Starting it like this does not give me that error. Starting it with
does. But the unresponsiveness it then gives...I need some time to figure that out. If it's an easy fix, I'll try to provide it. If it's more elaborate, I will take note of it, as I'm working on a new version, from scratch, as this one is quite old. Try maybe reverting to older versions and trying these. Still at work, same for this weekend, so it could take some time, sorry. |
Unfortunately I was not successful to get an older version to work. What I tried:
It always throws the same error when trying with Xephyr |
I know that it used to work, that's for sure. My best guess at the moment that it's maybe a problem with a dependency. Really confused by this error. |
Quick update: still no clue what the heck is going on. I tried locking older versions of dependencies, but somehow it still remains. Spooky action at a distance |
I suspect this is a race. As a workaround try adding 100ms of delay -- |
I'm trying to run wtftw on a fresh ubuntu installation, but I was not successful so far. Building with
cargo build --release
on rust nightly was successful.worked without error, but when switching to the window I expect that Alt+Shift+Enter would do anything. But it does nothing.
Also when putting this into
/usr/share/xsessions/wtftw.desktop
:When choosing wtftw at the startup, the nothing happens. The background pic still shows, linux is frozen, etc. I put
wtftw
into/usr/bin/
.I also tried to run wtftw directly in the shell, this blocks. I thought maybe it just takes long because it runs a
cargo build
from~/.wtftw/
so I rancargo build
andcargo build --release
from~/wtftw/
and ran wtftw directly again, it still blocks.Some infos about my env:
The text was updated successfully, but these errors were encountered: