View Single Post
Posts: 1,746 | Thanked: 1,832 times | Joined on Dec 2010
#102
Originally Posted by minimec View Post
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'.
isn't there a restart HS option in powermenu anyways?
 

The Following 3 Users Say Thank You to m4r0v3r For This Useful Post: