Skip to content

device-nokia-n900: various fixes and improvements to the user experience in i3wm

Administrator requested to merge device-nokia-n900-improving-i3wm into master

These changes are aimed at minor improvements and fixes to the user interface in i3wm:

  1. Fixing WiFi signal quality in i3blocks (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/e3a9b867ae6180ce1226a5493353d6de864aa716).

    /proc/net/wireless no longer exists in the system. I don't know exactly when this happened. On my device it disappeared when I switched from kernel 5.* to 6.*. Now you can get the same information from nmcli.

  2. Added battery temperature information to i3blocks (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/e7c5eca2c345097b13256fc1a124b4f3ab1c9ac0).

    I think this is useful, so you can see at least some information about the heating of the device.

  3. Added volume control in alsamixer using the volume buttons via i3wm (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/a060096b4abe8b614e9ae11aff29f133aa4486b9).

    I tied the volume buttons to amixer set PCM 5%+ and amixer set PCM 5%-.

  4. Added hotkeys to create a screenshot with imagemagick via i3wm (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/35007eaefd0e471634c74aad9294234ceed260ae).

    I wrote a simple script screenshot.sh that uses import from imagemagick and creates a screenshot of the entire display in the Screenshot folder in the user's home directory. This script also takes as parameters a different path to save the screenshot, as well as the display number of the X server. This is tied to Shift+Ctrl+p.

  5. Added hotkeys to change the brightness of the display backlight and keypad LEDs via i3wm (https://gitlab.com/DvaMishkiLapa/pmaports/-/commit/968293603a3d55d1380fdff34d4c89d8bcd00bda).

    I have written simple scripts screen_brightness.sh and kb_brightness.sh that take as an argument the brightness intensity offset for the display and for the keyboard LEDs. Although these scripts are almost identical, I decided to separate them so that each of them would be responsible for its own function. This works through a separate mode "brightness" where w and s are responsible for the brightness of the display and e and d are responsible for the brightness of the keyboard LEDs.

Merge request reports

Loading