maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [Discussion] Powermenu 2 - Sailfish (https://talk.maemo.org/showthread.php?t=93587)

twinklestar1792 2017-03-02 19:35

Re: [Discussion] Powermenu 2 - Sailfish
 
Quote:

Originally Posted by coderus (Post 1523835)
this is not the question for powermenu thread.

HI,

After OS updated to 2.1.0.9(Using Terminal), PowerMenu2 is not working.

Help me to uninstall and installing steps to make it work.

Thanks in advance.

coderus 2017-03-02 20:03

Re: [Discussion] Powermenu 2 - Sailfish
 
you should download latest powermenu2 version which is compatible with 2.1 release

Mikkosssss 2018-01-02 16:01

Re: [Discussion] Powermenu - Sailfish
 
The flashlight from powermenu isn't working on Xperia X so I made a script for it.

If you want to get flashlight working on Xperia follow the instructions that I quoted by Morpog but replace flash.sh content with:

Code:

#!/bin/bash
# Toggle Flash
dbus-send --type=method_call --print-reply --dest=com.jolla.settings.system.flashlight /com/jolla/settings/system/flashlight com.jolla.settings.system.flashlight.toggleFlashlight

Someone could also test if the dbus method works for other devices if coderus wants to replace control file method.

Quote:

Originally Posted by Morpog (Post 1436217)
Instruction for Flash script:

Create a flash.sh file in /home/nemo/ with content:

Code:

#!/bin/bash
# Toggle Flash
STATUS=$(cat /home/nemo/flash.txt)
if [ $STATUS == "0" ]
        then
        echo 1 > /home/nemo/flash.txt;echo 1 > /sys/kernel/debug/flash_adp1650/mode
        else
        echo 0 > /home/nemo/flash.txt;echo 0 > /sys/kernel/debug/flash_adp1650/mode
fi

Make the script executable:
chmod +x /home/nemo/flash.sh

Create a flash.desktop file in /home/nemo/.local/share/applications/ with content:

Code:

[Desktop Entry]
Type=Application
X-Nemo-Application-Type=no-invoker
Name=Flash
Icon=icon-launcher-default
Exec=/home/nemo/flash.sh

Open powermenu --> configuration --> choose prefered action and set it to "Application" and select Flash app. Works in locked and unlocked state.


Fuzzillogic 2018-06-11 17:10

Re: [Discussion] Powermenu 2 - Sailfish
 
The last few SFOS updates tend to break stuff for PM2. The WLAN and BT toggles were non-functional in previous version of SFOS, but now with 2.2.0.29 the flight mode toggle is inoperative as well.


All times are GMT. The time now is 14:07.

vBulletin® Version 3.8.8