Preparing for the countdown...


ClockworkCoder

Chaotic Neutral
Joined
Jan 21, 2016
Messages
1,913
Location
Menzoberranzan
1. I copied my i3 configuration and modified it to suit pyra.

...

"call" and "sms" will be replaced with actual commands that pyra os provides, I hope they are scriptable.

Good stuff. I've moved back to using i3 again and most likely will want to use it on the Pyra. Little curious what you're customising that would be specifically different with the i3 config?
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
548
Age
39
Location
India
I changed keybindings for pyra. With my laptop I use Mod4 ( WinKey ) for most keybinds.
Imagine using Win+F2 in pyra. ( pyrakey+functionkey+2 )
In pyra I thought the PyraKey may not be ideal for key combinations as it will involve using both thumbs while holding the pyra. So I changed it to Alt key, which can be pressed with right index while thumbs can press other keys. While pyra key is left exclusively for opening menu(rofi).
 
Last edited:

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,407
One of the shoulder buttons will be Mod4 I believe. So you shouldn't need to do that.

I like your phone script thing. I don't plan to use rofi as a launcher, but I might have to install it for using your script. How do you plan to monitor for incoming calls and SMSes?
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
548
Age
39
Location
India
You can use dmenu inplace of rofi, just replace "rofi -dmenu" with "dmenu" in the script.
Monitoring incoming calls and SMSes will need some demon running in backgroun which shall come with pyra OS. I may write some bash wrapper scripts but I can't do that before I get pyra.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
In pyra I thought the PyraKey may not be ideal for key combinations as it will involve using both thumbs while holding the pyra. So I changed it to Alt key, which can be pressed with right index while thumbs can press other keys. While pyra key is left exclusively for opening menu(rofi).

One of the shoulder buttons will be Mod4 I believe. So you shouldn't need to do that.

All of which should be 'chordable'. I.e. you do not have to fixate on a single modifier key - and each modifier key can be seen unique and should be chordable even with it's own counterpart.

So, you could use shoulder buttons to Shift+Alt+Ctrl+Pyra+key for a binding that you need to have present but do not want to hit by accident for example.
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
13,724
Location
Somewhere off the coast of the EU
True, but in i3 you want something you're not going to hit too easily by accident, but still doesn't require much muscle memory expended since you'll probably end up using it quite often.
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
548
Age
39
Location
India
All of which should be 'chordable'. I.e. you do not have to fixate on a single modifier key - and each modifier key can be seen unique and should be chordable even with it's own counterpart.

I plan to use uniform key combinations for i3-wm, that will have one common modifier (e.g., Alt), so Alt+f -> file manager, Alt+Return -> terminal Alt+1 -> workspace 1 etc.,. Using pyra key as modifier makes keypresses difficult to press as compared to using Alt due to location of those keys. I will reserve other modifier for non-wm keybindings.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
I plan to use uniform key combinations for i3-wm, that will have one common modifier (e.g., Alt), so Alt+f -> file manager, Alt+Return -> terminal Alt+1 -> workspace 1 etc.,. Using pyra key as modifier makes keypresses difficult to press as compared to using Alt due to location of those keys. I will reserve other modifier for non-wm keybindings.
As noted above - the 'Pyra Key' exists twice - once in the center and once on a shoulder button.
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
548
Age
39
Location
India
Where on the shoulder button ? AFAIK keys of shoulder button are "shift,Ctrl, Alt and AltGr"
Keyboard.png
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
13,724
Location
Somewhere off the coast of the EU
I was under the impression that one of the shoulders additionally was a finger chordable fn key, to make accessing the orange letters easier. Although I note that image includes japanese glyphs on the keys which I've not seen in any production shots, so I think that's not the final design personally.
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
548
Age
39
Location
India
I am not sure, I found this image while surfing some old thread, and just copied to my collection of pyra images.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
Where on the shoulder button ? AFAIK keys of shoulder button are "shift,Ctrl, Alt and AltGr"
View attachment 32477
I'm not sure where you got that picture of a layout, but it isn't remotely similar to the real/final one.

I was under the impression that one of the shoulders additionally was a finger chordable fn key, to make accessing the orange letters easier. Although I note that image includes japanese glyphs on the keys which I've not seen in any production shots, so I think that's not the final design personally.

Yeah - no idea where he got that pic. There are thousands of proposed keymat designs out there floating around. So many that it's difficult for me to locate the 'final final has been printed it is even scaled and cropped for my avatar picture' keymat.
 

docbroke

Banned
Joined
Feb 21, 2019
Messages
548
Age
39
Location
India
So which one is the final keymap design esp. with reference to shoulder buttons. I looked at pyra wiki, it shows keymat with shoulder keys similar to what I have posted.
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
So which one is the final keymap design esp. with reference to shoulder buttons. I looked at pyra wiki, it shows keymat with shoulder keys similar to what I have posted.

Sorry - I should have looked closer. I was thinking you were looking for the Fn that appears on both the surface and a shoulder - and the red alternative language red scripts do not appear on any of the keymats I have seen.

The Pyra key DOES have a pair/alternate, but it is NOT easy to get to. It is the lid hall sensor switch. Behind the scenes they are left/right 'super' keys.

Maybe for what you're trying to do, then, chording the right shoulder button's alt+ctrl and pressing the key might be better?
[doublepost=1555527972,1555527220][/doublepost]So I couldn't find a perfect version of the final keymat layout in the online keybaord layout editor tool. So I took one that was 'close to reality' and tried to make it 'closer'.

http://www.keyboard-layout-editor.c...<sup><font color/="#ff4400">◆<sub><sup> <b>Fn
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
13,724
Location
Somewhere off the coast of the EU
This is the only image I can see on the wiki that details the shoulder button mappings: https://pyra-handheld.com/wiki/index.php?title=File:PyraKeymatAndButtonsFunctions.png

It documents the Pyra key as L-Alt and the r1 key as R-Alt. It also lists the FN key as L-Meta and the L1 shoulder key as R-Meta, but the european glyphs look all over the place to me compared to @Grench's photo, so I don't quite know what to believe.

Actually, here's a photo from ED's recent builds:
. I'm not sure what's on FN+tab, looks like a line up or another shift key; the only trouble is there's already one of those to the right and one on the shoulder, and unless they're sharing keycodes, I thought you could only have two of those.
 

Djoga'Ro

moonstruck
Joined
Apr 3, 2016
Messages
1,755
I'm not sure what's on FN+tab, looks like a line up or another shift key; the only trouble is there's already one of those to the right and one on the shoulder, and unless they're sharing keycodes, I thought you could only have two of those.
Shift-Lock maybe?
 

Grench

Forum Addict!
Joined
Oct 3, 2008
Messages
6,623
This is the only image...
Actually, here's a photo from ED's recent builds: .... I'm not sure what's on FN+tab, looks like a line up or another shift key

The image on the wiki site there is a bit dated. F11/F12 are definitely in the top right of the 'attic'.

Fn+tab is Caps Lock. I'm pretty sure everything on this link (same as I posted above) is functionally correct - even though the fonts won't match and some symbols may have been tweaked.

http://www.keyboard-layout-editor.c...<sup><font color/="#ff4400">◆<sub><sup> <b>Fn

It does seem to match up right to the prototype photo - the photo's key mat would be the master at this point. Any discrepancies between the keyboard editor result and the prototype photo should be migrated to the prototype photo's layout/font if anyone has time.
[doublepost=1555530601,1555530375][/doublepost]Oh - and before anyone voices confusion. Screen brightness up/down and keyboard backlight up/down are all on the same button.

press button = screen brightness up.
shift+button = screen brightness down.
Fn+button = keyboard backlight up.
Fn+shift+button = keyboard backlight down.
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
13,724
Location
Somewhere off the coast of the EU
Yes, I had rather forgotten what that orange 'key' meant on the brightness key. It's not a user definable key; those are usr1 and usr2.

And that explains where tilde's got to. I couldn't quite see what was on J in that photo because it's a home key with a bump on it, which distorted the image and made it look a little like the not symbol (¬)*, but I guess that settles it.

I'm still a little hesitant to accept that definition of what's on the shoulders though. And it doesn't explain whether the Pyra key is actually an Alt key, and thus duplicated on that set of shoulders. And even if it does match the other side of the pyra key, it may not have the same function on the Pyra's default start menu thingy. But there's nothing stopping you defining it as your i3 modifier anyway, I guess.

* That key that's on an awful lot of keyboard, but I only learned today while searching for it what it actuay is, and I've never had a proper use for it.
 
Top