Sxmo - Simple X Mobile Released for the Pinephone (new minimalistic UI & image)
#27
(05-25-2020, 02:22 AM)saba Wrote:
Quote:So I did away with the one-finger-up and one-finger-down gestures. Here's what seemed to make sense to me:

one finger swipe left -- change desktop (as original)
one finger swipe right -- menu
two finger swipe down -- close app
three finger swipe up -- keyboard
three finger swipe down -- close keyboard

I didn't need any of dwm's app-switching features, because I like apps to take up the full screen, so I'm essentially using the desktops like webOS cards, one app per desktop. I just flip through them with left-to-right gestures.

Since I have access to the menu at any time via the right-to-left gesture, I changed the key bindings (much reduced) to reflect my likely needs.

Here's that section:

  /* PP */
    {1,  0,  XF86XK_AudioRaiseVolume, spawn, SHCMD("sxmo_vol.sh up") },
    {1,  0,  XF86XK_AudioLowerVolume, spawn, SHCMD("sxmo_vol.sh down") },
    {1,  0,  XF86XK_PowerOff, spawn, SHCMD("sxmo_screenlock") },

I didn't touch anything else, so the power key triggers the screenlock. Hold the volume up key to turn off the screen. Click the power key a few times to unlock. I'll probably simplify that more later, if I can.

With this setup, can you still use the volume keys to scroll in dmenu? 

Also, is there some way to scroll in st? My first preference would be to use a gesture, but I'd be ok with volume up/down for that.

I took the scroll-by-key commands out, but you could do anything you wanted to -- it's completely customizable, which is the great thing. If you examine the config.def.h files for both sxmo-dwm and lisgd, you can figure out how they work quite easily, and then start making changes in your config.h files. You can even transfer functions from one to the other (from keys to gestures or vice-versa). I made a list of how I wanted the interface to work first, and then made the alterations.

I don't have any trouble selecting the menu items by touch, but I am going to figure out to make them even larger, so that the interface is even more touch friendly.


Messages In This Thread
RE: Sxmo - Simple X Mobile Released for the Pinephone (new minimalistic UI & image) - by visiblink - 05-25-2020, 07:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PostmarketOS sxmo pinephone keyboard keymaps? afwtioane 2 2,112 09-11-2022, 04:37 AM
Last Post: manubert
  sxmo pim nextcloud Uturn 8 6,246 02-22-2022, 03:23 PM
Last Post: TRS-80
  Battery life on sxmo xark 1 2,135 02-12-2022, 10:07 AM
Last Post: TRS-80
  Official Channels for Sxmo Support anjanmomi 2 3,134 02-12-2022, 09:50 AM
Last Post: TRS-80
  sxmo & php --- 2 1,835 01-31-2022, 01:45 PM
Last Post: ---
  sxmo improvements unrealb2 7 5,853 11-17-2021, 06:43 AM
Last Post: fdlamotte
  SXMO on Debian IVp 0 2,216 08-21-2021, 02:33 PM
Last Post: IVp
  Megi's multiboot sxmo image aithal 1 2,226 06-14-2021, 08:07 AM
Last Post: fdlamotte
  SXMO svkbd with joypad layout [for basic dosbox play] streak 0 1,512 05-27-2021, 08:47 AM
Last Post: streak
  Sxmo on Arch IVp 4 6,538 05-19-2021, 03:18 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)