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

How does wlmaker lock tty access? #6

Open
markusbkk opened this issue Jan 4, 2024 · 4 comments
Open

How does wlmaker lock tty access? #6

markusbkk opened this issue Jan 4, 2024 · 4 comments
Labels
question Further information is requested

Comments

@markusbkk
Copy link

Just curious since I can't find anything in the code.
I noticed that when I launch wlmaker through /usr/share/wayland-sessions (in GDM3) I cannot switch between ttys with the usual CTRL + ALT + F-Key

How is this achieved?

@phkaeser
Copy link
Owner

phkaeser commented Jan 4, 2024

Huh, that's interesting. Also: Unexpected and unintended! Will have to look into it.

FYI, just in case ctrl+window+alt Q should exit wlmaker. So that you're not stuck in that particular tty.

@markusbkk
Copy link
Author

Huh, that's interesting. Also: Unexpected and unintended! Will have to look into it.

FYI, just in case ctrl+window+alt Q should exit wlmaker. So that you're not stuck in that particular tty.

Yea. CTRL + Super + ALT + Q works.

I wonder if the TTY thing is related to the function modifier on my laptop?
I need to press CTRL + ALT + FN + F3 to switch to the next TTY.

Does your compositor maybe grab them for something else?

@phkaeser
Copy link
Owner

wlmaker doesn't do anything specific on the tty; it just uses libseat and libwlroots keyboard functions. It does (re)set the keymap, though.

I strongly suspect this may have reset the function modifier on your laptop on the particular TTY.

Have you used other wlroots based compositors, and seen the same issue? (eg. https://labwc.github.io/ or https://swaywm.org/). That would help me triage the issue.

  • if other wlroots-based compositors have the same issue, it's something with wlroots.
  • if not, I can walk through the code there and learn how their keyboard initialization differs.

@markusbkk
Copy link
Author

wlmaker doesn't do anything specific on the tty; it just uses libseat and libwlroots keyboard functions. It does (re)set the keymap, though.

I strongly suspect this may have reset the function modifier on your laptop on the particular TTY.

Have you used other wlroots based compositors, and seen the same issue? (eg. https://labwc.github.io/ or https://swaywm.org/). That would help me triage the issue.

* if other wlroots-based compositors have the same issue, it's something with wlroots.

* if not, I can walk through the code there and learn how their keyboard initialization differs.

I just got a Framework 13 AMD Edition the other day. Will test other wlroots compositors on both my old and new device as well as wlmaker on my new device, as soon as I'm off work and back home. I'll try to provide a comprehensive user report then.

@phkaeser phkaeser added the question Further information is requested label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants