Skip to content
Snippets Groups Projects

postmarketos-ui-i3wm

Merged Imported Administrator requested to merge feature/postmarketos-ui-i3 into master

This is a work in progress to add i3wm to the desktop environment list in pmbootstrap.

Since i3 is only usable if you have a hardware keyboard I also added a dependency on lxdm instead of starting it through an /etc/profile.d script since lxdm works very well on the n900 and i3 doesn't have a launch script that also sets up xorg like xfce4 has.

Merge request reports

Approval is optional

Merged by avatar (Mar 31, 2025 8:00pm UTC)

Merge details

  • Changes merged into master with 773caff9.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator
  • Administrator
    Administrator @root started a thread on commit 773caff9
  • 30 # Start i3bar to display a workspace bar (plus the system information i3status
    31 # finds out, if available)
    32 bar {
    33 position top
    34 status_command i3status --conf ~/.config/i3/i3status.conf
    35 colors {
    36 background #000000
    37 statusline #ffffff
    38 separator #009900
    39 focused_workspace #009900 #009900 #ffffff
    40 inactive_workspace #003300 #003300 #dddddd
    41 urgent_workspace #990000 #990000 #fffff
    42 }
    43 }
    44
    45 exec_always --no-startup-id feh --bg-scale ~/.config/i3/wallpaper.jpg
    • Author Owner

      Created by: ollieparanoid

      How about depending on i3 and creating a i3-on-n900 specific pmOS wallpaper, that shows the keybindings, and shipping that with the device-nokia-n900-i3wm package? You could install that wallpaper to /usr/share/... and create a symlink in /etc/skel that points to it. That way people could directly start using i3 on the n900, even if they don't know the bindings yet. :tada:

      By * postmarketOS Bot on 2018-02-20T09:12:43

      Edited by Ghost User
  • Administrator
    Administrator @root started a thread on commit 773caff9
  • 1 #!/bin/sh
    2
    3 # Enable the login manager on boot
    4 rc-update add lxdm default
    • Author Owner

      Created by: ollieparanoid

      It would also be possible without lxdm, even if there's no startx wrapper, by providing an .xinitrc file. With that being said, I don't think using lxdm is a bad idea since we want to have a display manager anyway (#656 (closed)). So no need to change anything here in my opinion.

      By * postmarketOS Bot on 2018-02-20T09:12:43

      Edited by Ghost User
  • Administrator
  • Administrator
  • Administrator
  • Author Owner

    Created by: ollieparanoid

    LGTM. Should we merge this as initial version? (Also I'd be interested on your opinion about shipping a custom wallpaper, see above.)

    By * postmarketOS Bot on 2018-02-14T20:27:05

  • Author Owner

    Created by: ollieparanoid

    @MartijnBraam: I've tested this and it works with Qemu. Added a wiki article. However, the device-nokia-n900 package doesn't build quite yet:

    install: can't stat '/home/pmos/build/src/i3wm/i3wm.conf': No such file or directory

    https://travis-ci.org/postmarketOS/pmbootstrap/builds/343456822#L1208

    Could you please fix that? Apart from that I'd say it's ready to go.

    By * postmarketOS Bot on 2018-02-19T22:07:52

  • Please register or sign in to reply
    Loading