-
Notifications
You must be signed in to change notification settings - Fork 18
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
Cannot change linux ttys #80
Comments
It works for me on Alpine with Cagebreak version 2.3.1. What distro are you running? |
gentoo linux musl, wlroots compiled with vulkan,libinput,drm and x11 backend support |
im running cagebreak 2.2.3 |
i should probably update cagebreak then check |
still occurs on cagebreak 2.3.1 |
We have musl in common. My wlroots version is 0.17.3. |
im running wlroots 0.17.2, il try updating it |
I've actually been switching ttys with those keys a lot recently on my laptop, and it's fast. I'm doing it on my multi monitor desktop and it's a little slow to switch back and forth but it does work. |
Well I should say on the desktop it's fast to switch to a different tty but then a bit slow for the Cagebreak session to reappear when I switch back to tty1. By slow though I only mean about 1-2 seconds. |
still running into that issue |
And sway works ok on the same hardware? |
Did you back out those key bindings from your config? |
yes, on sway i can change with the keys, but on cagebreak i have to manually call it with the chvt command |
Weird. I'm on my laptop now and it's working fine, same component versions as my desktop. |
it apears that it may be the C-A key combination that is not being recognized, as i can change ttys by binding L-[1,2,3] to exec sudo chvt (number) |
Line 511 in ace4ff0
There's a couple if's there, one of which might be false? |
i removed that if statement and im still not able to switch ttys |
I don't know if it matters, but I'm starting cagebreak from tty1 (no login manager) and in my .profile I have:
|
im not running cagebreak with socket or dbus, will try that. |
still no luck |
I'm running out of ideas. Sway seems to use the same function to change vt: But a difference in how the vt number is calculated... not really sure what that's doing. |
evtest for me:
|
then i will copy what sway does |
I guess I should have asked if you started with the example Cagebreak config? Mine has:
|
after applying the logic that sway did, it worked |
Hmmm, and your non working config had the above default key bindings? |
yes |
Hi,
Cheers, |
when pressing ctrl+alt+f1-f6 i cannot switch to a diffirent tty like in other wayland compositors such as sway. i have tried manually adding the bindings in the cagebreak config but it does nothing
The text was updated successfully, but these errors were encountered: