Skip to content
Snippets Groups Projects

Add package plasma-session-utils to ease shutdown and lockscreen in plasma-mobile.

Closed Pierre Parent requested to merge pparent/pmaports:feature/plasma-session-utils into master
5 unresolved threads

This is very usefully when you really use the device to be able to shut it down and to lock screen easily. This merge request add a package which allows this. This package could be included by default in postmarketos-plasmamobile-ui in a second time.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1 # Contributor: Pierre Parent < m #at* pierre-parent.fr >
2 pkgname=plasma-session-utils
3 pkgver=1.0
4 pkgrel=0
5 pkgdesc="Utilities for plasma session (reboot, lockscreen)"
6 arch="all"
7 license="GPLv3"
8 url="https://postmarketos.org"
9 depends="kscreen kiconthemes sudo"
10 makedepends=""
11 install="plasma-session-utils.post-install"
12 source="lock-screen.desktop plasma-mobile-lockscreen shutdown.desktop"
13 builddir="$srcdir/qt-apps-qtwebbrowser-$pkgver/"
  • Pierre Parent added 1 commit

    added 1 commit

    Compare with previous version

  • 1 # Contributor: Pierre Parent < m #at* pierre-parent.fr >
  • 1 # Contributor: Pierre Parent < m #at* pierre-parent.fr >
    2 pkgname=plasma-session-utils
    3 pkgver=1.0
    4 pkgrel=0
    5 pkgdesc="Utilities for plasma session (reboot, lockscreen)"
    6 arch="all"
    7 license="GPLv3"
  • 1 # Contributor: Pierre Parent < m #at* pierre-parent.fr >
    2 pkgname=plasma-session-utils
    3 pkgver=1.0
    4 pkgrel=0
    5 pkgdesc="Utilities for plasma session (reboot, lockscreen)"
    6 arch="all"
    7 license="GPLv3"
    8 url="https://postmarketos.org"
    9 depends="kscreen kiconthemes sudo"
    10 makedepends=""
  • 1 #!/bin/sh
    • Honestly, I really wonder if this script is really needed. While porting pmOS to the PinePhone devkit, I noticed power management already works fine (e.g. screen turns back on when pressing power button).

      Also, the Plasma Mobile session is being switched to elogind in !379 (merged), so the qdbus command would have to be changed to sudo loginctl unlock-sessions.

    • Please register or sign in to reply
  • Feels like we are beating a dead horse here. The MR has been opened 5 months ago. I am sorry that I did not get more involved here, either towards getting it merged, or towards closing it.

    But now with the elogind change in postmarketos-ui-plasma-mobile, this MR will just not work anymore as-is.

    Let's close it for now, and if we end up still having problems with shutdown and screen locking with elogind, then we can reconsider a solution for that. The best solution would of course be, making this work properly with plasma mobile on postmarketOS, on its own, without an extra launcher that says shutdown/lock screen, and uses sudo.

    @pparent, nevertheless, I highly appreciate that you took the time to make this merge request and everything else you have contributed to postmarketOS so far, it has been a lot!

  • closed

  • Please register or sign in to reply
    Loading