View Single Post
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#101
Lipstick freeze workaround

I do also encounter UI freezes from time to time (once a day seems accurate and NOT during calls). My workaround is the Powermenu2 app in combination with a launcher I created, which basically restarts the lipstick UI. So when the screen is 'on' I can simply 'long press' the power button and lipstick will restart.

Install Powermenu2 from from openrepos.net. 2.0.1.11 Taalojärvi users like me need version 1.0.7-1 (https://openrepos.net/sites/default/...-1.armv7hl.rpm)

I use the nano editor ...
Code:
devel-su pkcon install nano
Create the launcher file
Code:
nano .local/share/applications/liprestart.desktop
Content of liprestart.desktop
Code:
[Desktop Entry]
Type=Application
Name=Run LipRestart
Icon=icon-launcher-component-gallery
Exec=/home/nemo/.local/scripts/liprestart.sh
Comment=Terminal application
Create the 'scripts' directory
Code:
mkdir .local/scripts
Create a file liprestart.sh
Code:
nano .local/scripts/liprestart.sh
Content of liprestart.sh
Code:
#!/bin/bash
systemctl --user restart lipstick
Make it liprestart.sh executable
Code:
chmod +x .local/scripts/liprestart.sh
In the Powermenu2 app, you can now bind 'event3' to the launcher you created and bind the 'long press (display on)' option to 'event3'.
 

The Following 10 Users Say Thank You to minimec For This Useful Post: