SolDoesTech / HyprV4

497 stars 142 forks source link

no other workspaces #3

Closed karomba closed 1 year ago

karomba commented 1 year ago

so in my hyprland i only have 1 workspace and if a try to create another one it does nothing,it's been happening with every wm and it's never happened before.

JesseKoldewijn commented 1 year ago

so in my hyprland i only have 1 workspace and if a try to create another one it does nothing,it's been happening with every wm and it's never happened before.

Did you try switching workspaces with META+2 (or 3, 4, 5 etc) where META is the windows key or command (I believe) if using a macos keyboard.

karomba commented 1 year ago

so in my hyprland i only have 1 workspace and if a try to create another one it does nothing,it's been happening with every wm and it's never happened before.

Did you try switching workspaces with META+2 (or 3, 4, 5 etc) where META is the windows key or command (I believe) if using a macos keyboard.

yes i have tried that but it doesn't work

JesseKoldewijn commented 1 year ago

did you come from a clean install or one of the previous HyprV revisions?

karomba commented 1 year ago

i did a clean install

JesseKoldewijn commented 1 year ago

weird, maybe remove the HyprV and hypr directory in your ~/.config directory uninstall hyprland-nvidia go into a tty and re-run the set-hypr script

karomba commented 1 year ago

this is how it looks https://github.com/SolDoesTech/HyprV4/assets/115472913/7749bc19-31cf-4dbc-a741-39a2468eebe2

JesseKoldewijn commented 1 year ago

And nothing happends when you click on windows-key + 2 or something? If so, it kinda more sounds like you have a mismatched keyboard layout

karomba commented 1 year ago

And nothing happends when you click on windows-key + 2 or something? If so, it kinda more sounds like you have a mismatched keyboard layout

yes nothing happens when i press it

karomba commented 1 year ago

i use a azerty keyboard so maybe that's problem

karomba commented 1 year ago

it works with a us keyboard

JesseKoldewijn commented 1 year ago

the default setup is configured to use the us keyboard layout (qwerty) so I think it my not understand the windows/meta key with your current config. You can change the keyboard layout in the hypr config.

karomba commented 1 year ago

swappy-20230518_142602 this is my current config for the keyboard

JesseKoldewijn commented 1 year ago

can you check the output of hyprctl keyword input:kb_layout fr

JesseKoldewijn commented 1 year ago

and can you have a look at what happend if you keey variant and model empty (quoted out using the '#' tag)

karomba commented 1 year ago

hyprctl keyword input:kb_layout fr the output says ok

JesseKoldewijn commented 1 year ago

hyprctl keyword input:kb_layout fr

it says ok

I expect if you do hyprctl keyword input:kb_variant azerty it wont say ok

karomba commented 1 year ago

hyprctl keyword input:kb_variant azerty

it does say ok

JesseKoldewijn commented 1 year ago

aight, tbh I've never really used a azerty layout on any system so forgive these possibly useless troubleshooting steps.

have you tried the config if you quote out the kb_variant and kb_model line?

ps. in between these types of changes in the config it could be possible you'll need to reload hyprland manually. this can most practically be done through a system reboot but sometimes a logout does the trick. I noticed some config settings can be sort of sticky with regards to instant config refresh.

karomba commented 1 year ago

like this image

JesseKoldewijn commented 1 year ago

like this image

Yes

aleksandar-code commented 1 year ago

so in my hyprland i only have 1 workspace and if a try to create another one it does nothing,it's been happening with every wm and it's never happened before.

Hello @karomba , i had the same problem as an azerty user. The solution is to use keycodes for binding workspaces.

To find out what your keycodes are for keys, install the package wev, and then you'll be able to see any event happening in a window created by wev script.

then put the desired keycodes in your ~/.config/hypr/hyprland.conf

Here is my config but your keycodes might differ as french keyboards aren't all equal.

I hope this solves your issue and it can get closed! :smile:

image

karomba commented 1 year ago

so in my hyprland i only have 1 workspace and if a try to create another one it does nothing,it's been happening with every wm and it's never happened before.

Hello @karomba , i had the same problem as an azerty user. The solution is to use keycodes for binding workspaces.

To find out what your keycodes are for keys, install the package wev, and then you'll be able to see any event happening in a window created by wev script.

then put the desired keycodes in your ~/.config/hypr/hyprland.conf

Here is my config but your keycodes might differ as french keyboards aren't all equal.

I hope this solves your issue and it can get closed! smile

image

i knew the solution but i forgot to close this issue,by the way for my solution i just found some keybinding for the number row in the sway github.

karomba commented 1 year ago

goodbye