Spyke

Posts

flutter·Flutterbyjayemar

Script for Flutter Doctor to recognize Android Studio flatpak

cross-posted from: https://lemm.ee/post/56160274

I install Android Studio via flatpak, and this can cause flutter doctor to not be able to determine the version or to not recognize the installation at all. I've managed a hacky fix for this by running a few commands that I run as a simple script that I'm sharing here. If you use this, just close Android Stuido after it is opened; it seems to just need to be opened once in order to be recognized by flutter doctor.

#!/bin/bash

flutter config --android-studio-dir=/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio

/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio/bin/studio

flutter config --android-studio-dir=""

flutter doctor
View original on lemm.ee
6
flutter·Flutterbyjayemar

Script for Flutter Doctor to recognize Android Studio flatpak

I install Android Studio via flatpak, and this can cause flutter doctor to not be able to determine the version or to not recognize the installation at all. I've managed a hacky fix for this by running a few commands that I run as a simple script that I'm sharing here. If you use this, just close Android Stuido after it is opened; it seems to just need to be opened once in order to be recognized by flutter doctor.

#!/bin/bash

flutter config --android-studio-dir=/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio

/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio/bin/studio

flutter config --android-studio-dir=""

flutter doctor
View original on lemm.ee
1
gopro·GoProbyjayemar

Why do GoPro cameras use a different mount?

I recently got my first GoPro and am learning about the various mounting options, but this does make me wonder why they don't use a traditional tripod mount. (I know that the Hero 12 added one.) I was hoping to find an article from GoPro describing the pros and cons of their mount and how they came to the decision to use their mount, but I've been unable to find anything like that. Does anyone have any information any this decision and the history of the GoPro mount?

View original on lemm.ee
3
obsidianmd·ObsidianMDbyjayemar

Emacs-style up/down with ctrl-p/ctrl-n in menus

Has anyone managed to get ctrl-p/ctrl-n working to move the selection up and down in menus? This works when editing notes in a file, but not from a menu. For example, I'd like to bring up the command menu and move up and down using ctrl-p and ctrl-n instead of the arrow keys.

I've tried various plugins but none of them seem to provide this functionality. I'm tempted to try writing my own, but before I start down that rabbit hole I figured I'd ask here as I'm sure I'm the only one who'd appreciate this functionality. Thanks.

View original on lemm.ee
3

You reached the end