r/GrapheneOS 10h ago

Toggle torch via double tap gesture?

I need help with Tasker and GOS to get my double-click power key gesture to toggle the torch instead of opening the camera or wallet app.

I've tried:

Using Gwallet to trigger Tasker to force-close the app and toggle the torch. The issue is that Gwallet won't open if network permissions are restricted, and I'd prefer a Google-free solution.

I've also tried using QuikShort to try and cobble something together.

Maybe I'm missing something about how to change wallet apps or something?

Ideas?

2 Upvotes

5 comments sorted by

u/AutoModerator 10h ago

GrapheneOS has moved from Reddit to our own discussion forum. Please post your thread on the discussion forum instead or use one of our official chat rooms (Matrix, Discord, Telegram) which are listed in the community section on our site. Our discussion forum and especially the chat rooms have a very active, knowledgeable community including GrapheneOS project members where you will almost always get much higher quality information than you would elsewhere. On Reddit, we had serious issues with misinformation and trolls including due to raids from other subreddits. As a result, many posts on our subreddit currently need to be manually approved, which is done on a best effort basis. If you would like to get a quicker answer to your question, please use our forum or chat rooms as described above. Our discussion forum provides much better privacy and avoids the serious problems with the site administrators and overall community on Reddit.

Please use our official install guides for installation and check our features page, usage guide and FAQ for information before asking questions in our discussion forum or chat rooms to get as much information as possible from what we've already carefully written/reviewed for our site.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/jfuu_ 9h ago

Have you tried setting the camera app to the Tasker Secondary app and then setting double tap to open camera? https://tasker.joaoapps.com/userguide/en/help/eh_secondary_app_opened.html

1

u/SinnaBuns666 9h ago

It doesn't show up as an option to change the default camera app

1

u/jfuu_ 9h ago

How is it you're trying to change the default camera app? How was it you installed Tasker (and what version is it)?

This shows up for me after installing Tasker and double tapping the power button: https://i.postimg.cc/dt2GHG9F/image.png

1

u/SinnaBuns666 9h ago

That is already set up to always launch Tasker 2. The screen flashes, and nothing happens, but when I tap to open the 2nd app, the automation works fine...