Commit graph

14 commits

Author SHA1 Message Date
Sicelo A. Mhlongo
a61c3a3e48
device-nokia-n900: i3wm: use volume keys for audio and display brightness (MR 5012)
Volume keys adjust alsa volume, and Shift + volume keys adjusts display
brightness.

This is a variation of [1] and [2] from from postmarketOS/pmaports!4133.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=a060096b4abe8b614e9ae11aff29f133aa4486b9
[2] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4133/diffs?commit_id=968293603a3d55d1380fdff34d4c89d8bcd00bda

Co-Authored-By: DvaMishkiLapa <thesame.personal@gmail.com>
Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
[ci:skip-build]: already built successfully in CI
2024-04-07 13:33:00 +02:00
Sicelo A. Mhlongo
e67b6e5a06
device-nokia-n900: turn display off after two minutes (MR 4988)
we are not using a screensaver or similar, so let's turn display off when idle,
to save some power
2024-04-03 07:57:52 +02:00
Sicelo A. Mhlongo
d5ee14fc28
device-nokia-n900: improve handling of slidey key (MR 4988)
The handling for the lock key is currently unreliable (racy?). In many cases,
you have to toggle it twice to turn display off. Fix this by handling it via
acpid. Since the scripts currently depend on X11 tools, move them to the x11
subpackage. They can be moved back to the main device package in future when
Wayland support has been implemented.

Block i3 from handling the lock key to avoid additional races.
2024-04-03 07:57:51 +02:00
Sicelo A. Mhlongo
fb01ee1bf9
device-nokia-n900: drop custom wallpaper config (MR 4810)
Wallpaper is now configured globally from the main `postmarketos-ui-i3wm`
package.
2024-02-12 20:17:41 +02:00
Sicelo A. Mhlongo
e12d937c6b
device-nokia-n900: i3wm: use upower for battery status (MR 4397) 2023-09-15 09:05:25 +02:00
Sicelo A. Mhlongo
2e3cd005a4
device-nokia-n900: increase terminal and i3 font sizes (MR 4363)
[ci:skip-build]: already built successfully in CI
2023-08-30 22:55:51 +02:00
Sicelo A. Mhlongo
9c0e8fcc10
device-nokia-n900: do not open terminal for nagbar actions (MR 4320) 2023-08-12 17:01:14 +02:00
Sicelo A. Mhlongo
dbbd4e46ec
device-nokia-n900: let user choose power button action (MR 4312)
Offer user a choice between suspend, shutdown, and reboot when power button
pressed.

[ci:skip-build]: already built successfully in CI
2023-08-08 09:27:16 +02:00
Sicelo A. Mhlongo
61951f08e7
device-nokia-n900: use elogind for suspend (MR 4312)
Since 80ab66cd2a (MR 4179), suspend using `loginctl` works, so drop pm-utils
and the associated sudo rule.
2023-08-08 09:27:16 +02:00
Sicelo A. Mhlongo
e702458223
device-nokia-n900: switch to urxvt terminal (MR 4312)
Switch to urxvt terminal in order to provide a scrollable terminal. Scrolling
is convoluted in st [1], especially when used on a mobile device.

Scrolling is a basic need, e.g. to page through `dmesg` output.

[1] https://git.suckless.org/st/file/FAQ.html#l21
2023-08-08 09:27:10 +02:00
Sicelo A. Mhlongo
7992f29cf9
device-nokia-n900: drop conky (MR 4309)
Save a few CPU cycles by dropping conky. Additionally, the existing config has
not been working for a long time now, and no one missed it.

For completeness, it was no longer displaying on the desktop. Manually starting
it showed:

```
conky: X Error: type 0 Display b5e73620 XID 1302 serial 97 error_code 10 request_code 2 minor_code 0 other Display: b5e73620
```

There are instructions [1] to resolve/workaround it, but we clearly do not have
a pressing need for conky to begin with.

[1] https://github.com/brndnmtthws/conky/issues/1443#issuecomment-1557793718
[ci:skip-build]: already built successfully in CI
2023-08-06 19:38:51 +02:00
Sicelo A. Mhlongo
80ab66cd2a
device-nokia-n900: improve user experience on i3 (MR 4157)
- fix wifi signal quality display, since /proc/net/wireless is no longer
  available in omap kernel
  Suggested-by: DvaMishkiLapa <thesame.personal@gmail.com>

- add `polkit-elogind` so tools like `loginctl poweroff` and `nmtui` do not
  require sudo under i3wm

[ci:skip-build]: already built successfully in CI
2023-06-05 23:50:57 +02:00
Luca Weiss
959bbaaffe
treewide: remove unused files (MR 1731)
These files aren't references by any APKBUILD, delete them.
2020-11-18 11:24:01 +01:00
Martijn Braam
057fa02f90
nokia-n900: move to community (MR 1177) 2020-06-11 14:41:26 +02:00