More useful terminal key layout for phosh's squeekboard - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +--- Thread: More useful terminal key layout for phosh's squeekboard (/showthread.php?tid=9633) |
More useful terminal key layout for phosh's squeekboard - Boern - 04-10-2020 I didn't like how I had to switch to numbers or functions to press numbers or the tab key, respectively. So I changed the terminal layout a bit. Numbers are now available at the top and at the bottom are tab and the arrow keys. Switching the view reveals del, escape, home, end, pgup and pgdown. The keys are now a little bit smaller but I think they are still easy enough to hit. I based it off of the German layout and added the F-keys to the umlaut-view. Only thing missing are the modifier keys. Unfortunately they need a new squeekboard version to properly work. Just add the fileĀ terminal.yaml to the directory ~/.local/share/squeekboard/keyboards/ (create if necessary) and it should be picked up for the terminal layout. For the modifier keys (Ctrl and Alt) to work you need at least squeekboard 1.9.1. As of now I think only Debian phosh has that version. RE: More useful terminal key layout for phosh's squeekboard - nas - 04-11-2020 The keys are a little short for my fingers but I can see how more buttons could be handy. A side effect of moving the space bar is less accidental task switcher presses - it's one way to deal with that design flaw. I enter most input on my other phone via a ssh app - much smaller screen but layout works very well. squeekboard.jpg (Size: 63.01 KB / Downloads: 1,073) juicessh-keyboard.png (Size: 52.14 KB / Downloads: 988) RE: More useful terminal key layout for phosh's squeekboard - Boern - 04-11-2020 Yeah, it's a shame that we can't make squeekboard taller. RE: More useful terminal key layout for phosh's squeekboard - newton688 - 04-19-2020 I'm trying out your recipe by copying the terminal.yaml to my ~/.local/share/squeekboard/keyboards but it doesn't seem to show up in my keyboard. I've tried rebooting the phone to restart squeekboard, but it still seems to be the same. Maybe I'm missing something obvious? I'm on debian+phosh at the moment and it's the version from last week. I wonder if I can get cut/copy/paste into the keyboard somehow via ctrl-x, ctrl-c and ctrl-v somehow. That would really accelerate some of my workflows. Thanks! RE: More useful terminal key layout for phosh's squeekboard - Boern - 04-19-2020 You have to select "terminal" by clicking on the small globe thingy. RE: More useful terminal key layout for phosh's squeekboard - newton688 - 04-19-2020 (04-19-2020, 09:29 AM)Boern Wrote: You have to select "terminal" by clicking on the small globe thingy. Thanks, when I select the globe and then "terminal" it looks the same as I had for the terminal mode when I installed the OS. It seems to be no different. I had renamed the file to terminal2.yaml but it didn't seem to add another item in the globe menu. RE: More useful terminal key layout for phosh's squeekboard - Boern - 04-19-2020 I think to add completely new keyboards you have to recompile squeekboard. RE: More useful terminal key layout for phosh's squeekboard - nas - 04-20-2020 (04-19-2020, 01:51 PM)newton688 Wrote: Thanks, when I select the globe and then "terminal" it looks the same as I had for the terminal mode when I installed the OS. It seems to be no different. I had renamed the file to terminal2.yaml but it didn't seem to add another item in the globe menu. Rename it to terminal.yaml to make it work. It replaces the keyboard rather than giving you more menu options. RE: More useful terminal key layout for phosh's squeekboard - newton688 - 04-20-2020 (04-20-2020, 01:23 AM)nas Wrote:(04-19-2020, 01:51 PM)newton688 Wrote: Thanks, when I select the globe and then "terminal" it looks the same as I had for the terminal mode when I installed the OS. It seems to be no different. I had renamed the file to terminal2.yaml but it didn't seem to add another item in the globe menu. Thank you, this worked fine. I can see the new keyboard now. Do you know if you can put key sequences in there like Ctrl-C, Ctrl-V? RE: More useful terminal key layout for phosh's squeekboard - nas - 04-20-2020 (04-20-2020, 08:02 AM)newton688 Wrote: Do you know if you can put key sequences in there like Ctrl-C, Ctrl-V? It was on purism's to-do list about a month ago. |