regolith-linux / regolith-i3

An unofficial fork of an unofficial fork (i3-gaps) of i3-wm.
Other
29 stars 16 forks source link

toggle vertical/horisontal layout does not work #4

Closed kschulz-samsung closed 5 years ago

kschulz-samsung commented 5 years ago

the default config contrains $mod+BackSpace to do split toggle, but nothing happens when pressing theis key combo. I looked at the i3 docs and it seems like the format of the command should be bindsys $mod+BackSpace layout split toggle but that does not seem to work either. Other key combos seems to work fine.

kgilmer commented 5 years ago

Hmm, odd! To help narrow down the root-casue, did you install from the LiveCD or PPA? What version of Ubuntu? What keyboard layout do you have (US)?

kschulz-samsung commented 5 years ago

installed from PPA on Ubuntu 18.04. Keyboard layout is Danish (ISO) but I tried changing they keybinding to $mod+v without any difference.

kgilmer commented 5 years ago

You're editing ~/.config/i3-regolith/config? Are you reloading i3 after each change?

On Sat, Jun 15, 2019 at 5:06 PM kschulz-samsung notifications@github.com wrote:

installed from PPA on Ubuntu 18.04. Keyboard layout is Danish (ISO) but I tried changing they keybinding to $mod+v without any difference.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/regolith-linux/regolith-i3/issues/4?email_source=notifications&email_token=AAAMEE3KWVLUUVHAIBWHFTDP2V7YLA5CNFSM4HYOEBY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZCJ7I#issuecomment-502408445, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAMEE6WYWKJQSGNRYHGGLDP2V7YLANCNFSM4HYOEBYQ .

kschulz-samsung commented 5 years ago

yes, I have used i3 previously so I am used to the reload scheme (Also I changed default terminal so I know the reload has been successful)

kgilmer commented 5 years ago

Thanks, just asking some sanity questions. Another one: the layout toggle setting is applied to the next window to be open on the current workspace, so if you're expecting to see a change after toggling between horizontal and vertical, you won't. When you said "Other key combos seems to work fine." do you mean that other functions (switch workspaces, etc.) work fine, or that using a different key combo (other than BackSpace) to toggle modes works fine?

I would try creating a test user account to try to isolate the issue to either system or user configuration. All I can think of is if some other program is intercepting the keybinding or that your keymap, being not US, maps the key to another code. This section of the i3wm user guide explains how to verify the key mapping to i3 function.

Let me know if any of this helps or changes your situation, and I'll continue to think about what could be wrong and update if anything comes to mind.

kschulz-samsung commented 5 years ago

other key combos: toggle fullscreen etc. I think you found my problem. Back when I had the i3 installed i had a functionality to toggle the layout of the existing containers between vertical and horizontal. I think I mistakenly mixed that up with the one here that just toggles the next opened container.

kgilmer commented 5 years ago

Ah, yes you're not the first person to encounter this. I should have thought of that sooner. I'll add a thing to the troubleshooting section and close this issue.

kgilmer commented 5 years ago

Add this http://regolith-linux.org/troubleshooting.html#layout-keybinding and reworded the section that covers this keybinding in getting-started to make it more clear how it's supposed to work.