Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Macbook COMMAND key

Open linc01 opened this issue 10 months ago • 9 comments

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?

linc01 avatar Apr 28 '24 22:04 linc01

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.

tchofy avatar Apr 28 '24 23:04 tchofy

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.

Makrennel avatar Apr 30 '24 07:04 Makrennel

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 avatar Apr 30 '24 09:04 linc01

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.

linc01 avatar Apr 30 '24 10:04 linc01

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

exec-once = <terminal of your choice>

sungyoonc avatar Apr 30 '24 11:04 sungyoonc

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

tchofy avatar Apr 30 '24 12:04 tchofy

@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 avatar Apr 30 '24 14:04 linc01

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 avatar Apr 30 '24 14:04 linc01

@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

linc01 avatar Apr 30 '24 14:04 linc01