~sicelo

Recent activity

[PATCH sxmo-utils] sway: drop nomod mode 5 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

91d4319df559 ("sway: add config for Nokia N900") added a new sway mode
to cater for the limitations imposed by the Nokia N900's physical
keyboard. At least one user reported a conflict with their keybinds.
Drop the mode and its binding from the global configuration. It can be
moved to a device-specific configuration, and be stored under
/etc/sway/config.d/* per sway's default/global include directive

Fixes: 91d4319df559 ("sway: add config for Nokia N900")
Fixes: https://lists.sr.ht/~mil/sxmo-devel/patches/53195

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 configs/appcfg/sway_template | 18 ------------------
 1 file changed, 18 deletions(-)
[message trimmed]

[PATCH sxmo-utils] omap3-n900: provide touchscreen id 6 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

Define TOUCHSCREEN_ID so the touchscreen can be reliably disabled when device
is in locked state. When undefined, in some cases it does not get disabled,
causing wakeups.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
index 08ab216..2545be9 100644
--- a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
@@ -5,6 +5,7 @@
[message trimmed]

Re: Volume Keys Instantiate Menu Only Once On Nokia N900 with dwm 6 months ago

From Sicelo to ~mil/sxmo-user

Fix merged

Issue can be closed now.

[PATCH sxmo-utils] omap-n900: restore the use of virtual keyboard 6 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

While the N900 has a hardware keyboard, it only has a few keys. A virtual keyboard is still very useful to have. Some symbols, especially emoji, cannot be typed easily from hardware keyboard. Hence, restore access to the virtual keyboard using the VolDown key.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
index fb686c6..08ab216 100644
--- a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
@@ -15,6 +15,5 @@ export SXMO_ROTATE_DIRECTION="left"
export SXMO_KEYBOARD_SLIDER_EVENT_DEVICE="/dev/input/by-path/platform-gpio_keys-event"
export SXMO_KEYBOARD_SLIDER_CLOSE_EVENT="*code 10 (SW_KEYPAD_SLIDE), value 0*"
[message trimmed]

[PATCH sxmo-utils] omap3-n900: set number of lines in dmenu 6 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

default dmenu lines are too long for N900's tiny screen. reduce to fit

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
index ef0d81f..b61895f 100644
--- a/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh
@@ -9,6 +9,8 @@ export SXMO_SWAY_SCALE="1.5"
#on N900 these two are swaped
export SXMO_BEMENU_LANDSCAPE_LINES="10"
[message trimmed]

[PATCH sxmo-utils] rename SXMO_NO_KEYBOARD to make purpose clear 6 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

Commit 4913fac4ee0a ("Cleanup virtual keyboard management") introduced
SXMO_NO_KEYBOARD environment variable to disable virtual keyboard. Rename so
this purpose is clear/obvious from the name.

Drop the variable on Nokia N900, since virtual keyboard is still useful on it,
e.g. for emoji.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 configs/default_hooks/sxmo_hook_inputhandler.sh             | 6 +++---
 scripts/core/sxmo_keyboard.sh                               | 2 +-
 scripts/deviceprofiles/README.md                            | 2 +-
 scripts/deviceprofiles/sxmo_deviceprofile_desktop.sh        | 2 +-
 .../deviceprofiles/sxmo_deviceprofile_nokia,omap3-n900.sh   | 1 -
[message trimmed]

[PATCH sxmo-utils] sway_template: add more keybindings for 'nomod' mode 6 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

Add more key bindings so the N900 can access as many features as devices with
regular full keyboards.

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 configs/appcfg/sway_template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/configs/appcfg/sway_template b/configs/appcfg/sway_template
index f188cbf..a8c4b18 100644
--- a/configs/appcfg/sway_template
+++ b/configs/appcfg/sway_template
@@ -50,6 +50,24 @@ mode "nomod" {
    bindsym f fullscreen; mode "default"
[message trimmed]

[PATCH sxmo-dwm] grabkeys: Avoid missing events when a keysym maps to multiple keycodes 6 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

Backport upstream commit 89f9905714c1 ("grabkeys: Avoid missing events
when a keysym maps to multiple keycodes"). [0]

This fixes a volume key handling bug that affects the Nokia N900 [1].

[0] https://git.suckless.org/dwm/commit/89f9905714c1c1b2e8b09986dfbeca15b68d8af8.html
[1] https://lists.sr.ht/~mil/sxmo-user/%3CZiaP8OQQHGZBOL5H@tp440p.steeds.sam%3E

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
---
 dwm.c | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/dwm.c b/dwm.c
[message trimmed]

[PATCH sxmo-utils v3] autorotate: switch to iio-sensor-proxy 7 months ago

From Sicelo A. Mhlongo to ~mil/sxmo-devel

iio-sensor-proxy abstracts iio (and sensors exposed in other kernel
subsystems). it can simplify the autorotate script, removing the need for
variables such as ROTATION_GRAVITY.

it also makes it possible to use the same code to support 'non-standard'
accelerometers, such as those on SDM845 devices.

prerequisites:
    - `iio-sensor-proxy must` be installed and be running on the system (it
        provides `monitor-sensor`)
    - a PolicyKit rule to permit the regular user to claim sensors must be
        installed in `/etc/polkit-1/rules.d/01-sensor-claim.rules`, containing
        the following:
[message trimmed]