šŸ’¾ Archived View for thatit.be ā€ŗ 2022-12-09-06-41-04.gmi captured on 2023-11-04 at 11:50:00. Gemini links have been rewritten to link to archived content

View Raw

More Information

ā¬…ļø Previous capture (2023-09-28)

āž”ļø Next capture (2023-11-14)

šŸš§ View Differences

-=-=-=-=-=-=-

2022-12-09 - PinePhone UI Customization

PinePhone UI Customization

Since tweaking the on-screen keyboard, my phone has been a lot more usable. Iā€™ve actually removed the hardware keyboard to force myself to make more useful additions to the UI because it was awkward to use it without a physical keyboard.

Initial Setup

Hereā€™s the initial setup I created for it:

Hardware buttons:

The up button would run whatever is in the script Iā€™m experimenting on. For example, Iā€™m customizing keyboard layouts, so I was using this to launch rofi with a menu to choose the keyboard to launch.

Lisgd (libinput synthetic gesture daemon) gestures:

On-screen Keyboard:

The setup now

Same as the initial setup, but adds:

Removed the keyboard opening swipe and replaces it with a urxvt opening swipe:

On-screen Keyboards:

Changed the hardware buttons around, too:

Hardware buttons:

I just discovered that if I disable the touchscreen, lisgd can still use it for gestures. So I changed the physical buttons around. The volume buttons are used for toggling between the touchscreen for interacting with applications or supporting the use of gestures. So the up and down buttons do the same thing, but the down button also opens the software keyboard.

When the keyboard is open I turn off gestures and can interact with whatever is on the screen just like a typical touchscreen. When the keyboard is closed, touching the screen only does gestures. Because there are situations where these modes may need to be mixed, pressing the top button simply toggles between gestures or touchscreen

Iā€™ve also updated the script that turns the screen off to disable gestures.

The trickier bits and what else is neededā€¦

In the future it will set a timer and put the phone to sleep. Then wake the phone up every X minutes long enough to reconnect and re-download IP-based messages. Anything coming over the cell modem will wake the phone immediately. So Iā€™ll need to account for this and put the device back to sleep after some timeout.

I also need to debug an issue where it seems rofi is eating hardware button events such that I canā€™t toggle the software keyboard when Iā€™m using rofi to display menus. This is frustrating, but Iā€™m sure Iā€™ll figure it out.

Oh, and Iā€™ll need to make something for all the apps I used to have on the original Pine Phoneā€¦

This was a more focused continuation of UI elements of a messier enumeration of other stuff.

a messier enumeration of other stuff

Tags

#index

#pinephone

Navigation

index

tags

updated: 2023-09-17 15:38:35 -0400

generated: 2023-10-05