Qutebrowser: Set PATH in config for OSX

by Aaron Crowder on

I have recently started using Qutebrowser (again, lol). I wanted to write / use some simple user scripts to add some functionality, but on OSX I was having some issues with things not being in my PATH. I didn't realize why / what was happening so I asked in the issues of Qutebrowser on github and quickly got my answer.

It turns out that for GUI apps on OSX they don't inheirit the path that you set in your shell profile. I decided to fix that by adding the missing things to my PATH when Qutebrowser starts in by editing it in my config.py. Now it looks something like this at the start:

"""Qutebrowser configuration."""
import platform
import os
from os.path import expanduser

system = platform.system()
home_dir = expanduser('~')

if system == 'Darwin':
    # Add things to PATH so userscripts work
    path = os.environ['PATH']
    path += os.pathsep + home_dir + '/.pyenv/shims'
    path += os.pathsep + home_dir + '/.pyenv/plugins/pyenv-virtualenv/shims'

Now I can add things to the PATH as needed for OSX!


Mobian: Day 3

by Aaron Crowder on

Today was day three of running Mobian as a "daily-driver" on my Braveheart Pinephone. Much like day two, it was fairly uneventful. I chatted a bit with folks on Twitter/Mastodon and one question I got was what app I was using for Podcasts. I hadn't tried a Podcasting app yet, so I figured I would try a couple today.


This was the first app I tried. It was reccomended to me, and I think it would probably work really well except that it wasn't scaled to work well on mobile. From what I could tell it has lots of good features though, so I hope there are improvements made on this front.



I found this app on both flathub and the Mobian wiki. It looked fairly simple and I decided it was worth a try. I am glad I did. It works really well looks great on a mobile screen. You can add your podcasts feeds (just the RSS feed of the Podcast) and download / play them. It doesn't have a search feature, or some of the other things that one might expect, but it does what it claims to do and does it well.



I only tried these two apps, but I can say for sure that Podcasts will do the job well. Tomorrow I am going to tackle music streaming services. I look forward to more development on this front!

#pinephone #mobian #Week Challenge

Mobian: Day Two

by Aaron Crowder on

Day two with Mobian on my Pinephone was honestly fairly uneventful. I was able to pick the phone up and use it for the most part. There are still rough edges on the software (both Phosh and various apps), but nothing that prevented me from being able to do what I wanted.


I was worried that installing Anbox would be a difficult task, but it was actually fairly easy with the instructions from the Mobian Wiki.


I did find that I needed to enable / increase the available z-ram. Again, it was as simple as following the instructions on the wiki. I increased my z-ram percentage from 50 to 200 and rebooted. I haven't had any issues with this, but beware that you might encounter some (as I may down the line). Android is RAM hungry and this helps apps open without hanging.


There are a number of issues listed on the Linux On Mobile Blog post about running Anbox on Mobian. The one that's preventing me from using Android apps more beyond simply opening and closing them is that the keyboard doesn't work... at all. There are some software workaround, but I decided to go the hardware route. I don't have a bluetooth keyboard, so I decided to order a mini one off of Amazon. I will be getting it tomorrow and if I like it I'll link it in a later post. This is mainly a stopgap until Pine64 comes out with a keyboard case (one is in development).

NewsFlash vs Feeds

I mentioned that I was trying out NewsFlash and Feeds yesterday. I am now leaning more towards NewsFlash because instead of trying to open posts in a full browser it fetches the content and displays it in a "readable" format. I have it synced with Feedly right now because it's not compatible with TinyTinyRSS. I have already been considering switching from TT-RSS to Miniflux so this might be the push I needed.


Anbox NewsFlash

#pinephone #mobian #Week Challenge

Mobian: Day One

by Aaron Crowder on

Today was day one. I feel like today the learning was really steep. I had to figure a lot of things out. While there's still lots to figure out, I was able to get to a point where I can do most of the basic things.

Note: I don't have a sim card for my Pinephone, so no SMS or voice calls. However, I am doing chat and email and social media.


I have all my email accounts and NextCloud configured through Settings->Online Accounts. This allows me to have my email in my Email Client app (Geary) and browse my NextCloud files in Files.


I had toyed around with the pinephone off and on before today so I had some apps already installed. Others though I discovered today. Here's a list of some of the apps I used most today:

Firefox ESR I'm using Firefox ESR after testing a number of other browsers. It ended up being the smoothest experience available. I would like to try regular Firefox but there's an issue with a broken dependency that I idn't have time to fix.

Both Firefox ESR and Firefox support opening windows without any decorations. I made several desktop shortcuts to try and get app-like experiences from a few sites. Instagram, Facebook, and Twitter have pretty good web apps that work well on mobile. With window decorations off they almost feel like native apps. I was also able to make a shortcut for Android messages for web, and was able to use that for texting, though it wasn't as good of an experience as just using Telegram.

Telegram Desktop Telegram is a decent option for messaging. It's widely used (as evidenced by the fact that my Grandma uses it). Though, Telegram relies on having a system tray to keep the app running in the background if you close it. Phosh doesn't support this, so I followed the instructions on the Mobian Wiki to create a background service. That keeps Telegram running so I can get notified of messages, even if I don't have the app currently open.

Tootle Tootle is a fairly good Mastodon client. I did run into an issue though where it would crash when I would try to click on media attachments (like a picture). I discovered an issue on GitHub and someone mentioned that you have to create the ~/Downloads/Tootle folder, because Tootle doesn't create it for you... it just crashes. This may have been fixed, but it wasn't in the version I installed from flathub.


AppsDefault AppsLollypopInstagram


Today every time I picked up the Pinephone I felt like I was having to figure something out. Tomorrow though, I feel like I'm going to be able to actually use the damn thing without having to figure everything out. There are still a few pain points, and I feel like they will be the more difficult to solve problems. But I'm excited for the challenge and ready to dive back in!

#pinephone #mobian #Week Challenge

Mobian: One Week Of Use

by Aaron Crowder on

I'm setting out on a goal: use my Braveheart edition PinePhone every day for a week. Use it as much as possible, only picking up my Pixel 2 XL if I have to. To prove my dedication I'm writing this from my PinePhone!

I expect there will be bumps along the road. My hope though, is that there will be very few show stoppers. I suspect that stability and slowness will be my two biggest issues. Another will be lack of apps. Lastly, the camera is pretty much potato quality.

I will be documenting my experience daily here on this blog. I will try to write as much of it as I can from my PinePhone, though I will likely have to use my laptop for a more thorough write-up.

My journey starts now!