hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.29k stars 802 forks source link

Macbook COMMAND key #5789

Open linc01 opened 4 months ago

linc01 commented 4 months ago

Description

Hello, I have a fresh install hyprland + arch on a macbook pro, but the SUPER key binding not work. There's no windows key but a COMMAND key. I change the conf binding from SUPER to COMMAND but it's not work with an error "COMMAND is not a void mod". How to replace SUPER key to COMMAND?

tchofy commented 4 months ago

Try getting the right name with wev, run it, press it a couple times and see what shows up on the log on the "sym: " section.

Makrennel commented 3 months ago

The "Command" key IS the "Super" key on Linux. These are all just different names for the same key on the backend, but by convention people call it "Super" (or sometimes "Meta") on Linux, "Windows" on Windows, and "Command" on Mac.

linc01 commented 3 months ago

Try getting the right name with wev, run it, press it a couple times and see what shows up on the log on the "sym: " section.

Thanks, but I can't open a terminal to do the test.

linc01 commented 3 months ago

The "Command" key IS the "Super" key on Linux. These are all just different names for the same key on the backend, but by convention people call it "Super" (or sometimes "Meta") on Linux, "Windows" on Windows, and "Command" on Mac.

got it , but the default binding SUPER(COMMAND)+Q not work, it's just a fresh installation. SUPER(COMMAND)+Q works fine on my PC with the Windows key.

sungyoonc commented 3 months ago

@linc01 Maybe you can add this to the config and do the testing

exec-once = <terminal of your choice>
tchofy commented 3 months ago

I wonder if the issue is that they don't have kitty installed 🤔

linc01 commented 3 months ago

@linc01 Maybe you can add this to the config and do the testing

exec-once = <terminal of your choice>

I did, not work, seems that all key binding related functions are not work, or may be the keyboard not work as soon as hyprland loaded.

linc01 commented 3 months ago

I wonder if the issue is that they don't have kitty installed 🤔

Kitty and alacritty are installed. It's not only the terminal apps out of order, but everything related with the keyboard bindings.

linc01 commented 3 months ago

@linc01 Maybe you can add this to the config and do the testing

exec-once = <terminal of your choice>

autogenerated = 1 # remove this line to remove the warning

Only this works in hyprland.conf