Kirsle.net logo Kirsle.net

Welcome to Kirsle.net!

This is the personal homepage of Noah Petherbridge, and it's where I keep my web blog and various creative projects.

I blog about anything I find interesting, and since I have a lot of varied interests, my blog entries are kind of all over the place. You can browse my tags to sort them by topic and see which ones I frequently write about, or the archive has a complete history of my posts, dating back to 2008!

Besides my blog, I have pages for my creative projects, which are linked to on the navigation bar.

I write a lot about Linux and Android, Minecraft, and I like to rant about stuff. Generally anything that makes me curious. Also check out my Bookmarks for all sorts of cool websites about various topics I'm interested in.

For the geeks: this website respects your privacy and doesn't run any third party ads or analytics. This site speaks HTTP and doesn't require any JavaScript to work.

Meaning of Kirsle
October 19, 2022 by Noah

Anonymous asks:

What does your sites name kirsle come from/ what’s the meaning?

The short answer is that Kirsle is just an AOL screen name I came up with back in middle school and doesn't mean anything; and it turned out to be such a unique name (that most all Google results for it were about me), that I decided to keep it around forever.

The longer answer is that it was originally inspired by a videogame character on the game NiGHTS: Into Dreams for the Sega Saturn. One of the baddies in the game was named Kircle, with a C, but when I read it I thought the C should've been pronounced like an S but anyway my screen name was based on Kircle for a time. But after multiple people (including text-to-speech programs) were "mispronouncing" it, I swapped the C out for an S and in doing so found a very unique username for myself.

Also, fun trivia: kirsle.net was the first ever domain name I registered, back in 2005 when I was in high school (my mom had to buy the domain for me!) I took the ".net" extension instead of ".com" because I thought "kirsle.com" didn't roll off the tongue very well; and because I didn't have a bank account to just buy my own domain names, but I already had several different websites, I thought a ".net" suffix would go well to put a bunch of subdomains beneath ".kirsle.net" to host all my various sites on one domain name! (Before kirsle.net, my other sites were hosted on random free subdomains I could find online, also had a few free .tk domains back in the day!) I do now have kirsle.com and kirsle.org and they just redirect to kirsle.net because that name still sounds the best to me!

Tags: 1 comment | Permalink
Sketchy Maze v0.12.0
March 28, 2022 by Noah

It's been a while since I posted an update about my videogame project, Sketchy Maze but I've still been working on it and had released a handful of updates since my last post about v0.7.1 and my game is starting to get interesting. 😉

Sketchy Maze is a drawing-based maze game where you can draw your own levels freehand (like MS Paint) and make them look like anything you want. You can draw a castle, a cave or a giant boat, and then play it as a 2D platformer game. You can drag and drop some "doodads" such as buttons, keys, doors and enemies into your level to make it exciting. And as for those doodads? You can also create your own, too, and program them in JavaScript to do whatever you want. The game also includes a built-in Story Mode of example levels to simply play and/or learn from.

v0.12.0-title.png

Since my last update about v0.7.1 the game has got:

  • 8 new levels (now 12 in total across three built-in levelpacks)
  • 15+ new doodads, including: Anvil, Electric Trapdoor, pushable Box, Thief, Azulians, Checkpoint Flags, and a handful of technical (invisible) doodads for things like a custom Goal Region or Checkpoint Region if you don't want the flags.
  • Scoring and progression system, and hostile enemy creatures you need to dodge.
  • Controls added for touch screens and Xbox-style game controllers including Switch Pro Controllers.
  • Proper platformer physics with velocity, acceleration and jumping.
  • New drawing tools for the editor: Text Tool, Flood Fill/Paintbucket, Zoom in/out.
  • A much more capable JavaScript API for custom doodad scripts to enable more interesting behaviors.
  • Many user interface improvements.
  • 32-bit Windows and Linux support added.

The full change log is always available on the Guidebook for more details.

If you haven't seen my game yet, check it out! It's still in beta so it may be buggy or crash sometimes, but any feedback is welcome!

Tags: 0 comments | Permalink
Week 2 of daily driving the Pinephone
November 15, 2021 (updated December 15, 2021) by Noah

About two weeks ago I again put my SIM card into my Pinephone to see whether I can make it a daily driver device. The last time I tried this was nearly a year ago so I have that benchmark to compare it to as well as some new information now.

The stack:

  • Operating system: Mobian with the Phosh UI.
  • Carrier: T-Mobile (US)

The highlights:

  • I have MMS messaging sorta working: I can receive picture and group chat messages perfectly fine, but I can not send out an MMS myself. I can reply to a picture message as SMS but for group chats, if I need to respond, I can just pick somebody and send them an SMS out-of-band if need be.
  • Battery life is okay - not great, but given how often I actually use my phone, it's not bad either. Every other night I'll plug in my Pinephone or my Pixel 3 to charge, and my Pinephone gets me thru the day and then some (I can leave it not charging overnight, and it doesn't suffer too much for it).
  • Reliability for incoming phone calls while the phone is deep sleeping seem to be improved since last year. My Pinephone was sitting on my desk one day, removed from power, sleeping, and it rang and I answered it.
  • Other cell phone functionality all working OK: calls, SMS, 4G LTE data, and hotspot sharing over WiFi all working.
  • Waydroid seems more stable on Mobian and it runs my Android apps okay, and with KDE Connect I can get notifications from Android apps in my Phosh UI.
  • GPS location accuracy may be a challenge to sort out.

The details:

Read more...

Tags: 2 comments | Permalink
Waydroid on the Pinephone is a game changer
September 24, 2021 (updated October 11, 2021) by Noah

This week, some news about Waydroid made its way to the r/linux subreddit and in the comments I saw a Pinephone owner write about their experience with Waydroid and none of his complaints had anything to do with it being slow or clunky or broken, which is about what my experience was the last time I tested out Anbox about a year ago.

So it prompted me to check Waydroid out, and... it works remarkably well! It really surprised me. Waydroid makes use of containers to run Android directly on your own Linux kernel, without emulation, and so it performs very well -- some Android apps even run more smoothly than their native Linux counterparts!

I wasn't expecting that the Pinephone was ever going to be able to run Android apps smoothly on a GNU/Linux system, but now that it does, and does so this well, this is a game changer in terms of the Pinephone being "daily driver" ready. Finally, I have a way to use Slack and Discord from my Pinephone, something that was basically not possible at all before!

Screenshot of Discord (Android) running on Mobian

Now, to be clear: even without Android, there are a very good collection of Linux apps that already work well on the Pinephone. Having the option of Android for the odd proprietary app like Slack or Signal is nice to have. Read on to the full blog post for how Waydroid works right now, what are some of its pain points still, and a few screenshots of my Phosh app drawer showing everything I have installed on my Pinephone.

Read more...

Tags: 12 comments | Permalink
Developing a game from scratch
July 21, 2021 by Noah

For the past few years, on and off (sometimes more off than on), I've been working on a videogame called Sketchy Maze and had been taking screenshots of it along the way. This blog post will be a bit of a retrospective and a series of screenshots showing it from its very first prototype up to the state that it's in now.

I wasn't even sure I was going to get very far on this project. I had once attempted programming a game in Perl and lost steam after barely having a working prototype. I had dabbled a few times getting started programming a game but then decided my brilliant idea of an RPG game wasn't worth all the programming. Stubbornly, I never wanted to just use a game engine like Unity or Unreal but wanted to program it all myself. And programming from scratch is considerably the harder way to go, so your game idea had better be worth it in the end!

The game idea that won out is a personal and nostalgic one. Back in the 90's when I was growing up with videogames like Sonic the Hedgehog and Super Mario Bros., I would often draw my own "mazes" or levels like on a 2D platformer game, with pencil and paper and then "play" it with my imagination. I'd imagine the player character advancing through my maze, collecting keys that unlock doors, pushing buttons that activate traps somewhere else on the page. I'd write little annotations about which button did what, or draw a dotted line connecting things together. My mazes borrowed all kinds of features from videogames I liked, all your standard platformer stuff: buttons, trapdoors, conveyor belts, slippy steep slopes, spikes and water and whatever I wanted.

So my game concept was basically:

  • Players can draw their own mazes completely freehand, with w/e colors they want
  • Players can drag 'doodads' like buttons and keys into their level, and link buttons to devices, etc.
  • And it should be mod-friendly af: players can make custom doodads with custom behavior (programming)

See the full blog post to read how I even got this started and see screenshots of progression between the "Before and After" pictured below. My first target goal was just a stupid simple white window that I can click on to turn pixels black and save it as a PNG image. If I could get that far, I could do all the rest.

Before and After

Read more...

Tags: 0 comments | Permalink
Sketchy Maze v0.7.1
July 11, 2021 by Noah

It's been a while since I last wrote about my videogame project, Project: Doodle, which has now been given a proper name: Sketchy Maze. There have been a few releases of the game since I last wrote about version 0.4.0 and they bring some exciting new features!

Screenshot of the title screen of Sketchy Maze

Read more...

Tags: 0 comments | Permalink
"Just compile it yourself!" and other misguided security suggestions
June 9, 2021 by Noah

On forums like r/privacy people often discuss the role of open source software when it comes to privacy and end-to-end encrypted messaging applications. The general consensus is: a privacy focused app must be open source so that people can get their eyes on the source code and audit it for security vulnerabilities, verify it's doing what it says in the tin and without any secret government backdoors built in that would undermine the security and reveal peoples' private chats.

These are all well and good: if the source code is not open, you can't verify the code isn't doing something sneaky like uploading your encryption keys to the service provider or whatever. But, open source alone isn't a silver bullet to help guarantee the security of the app:

  • Just because the code is readable and somebody could audit it for bugs, doesn't actually mean anybody does. Some vendors of such software may hire security firms to deliberately audit their code, but for random small projects that haven't been formally audited, "open source != automatically secure" -- but still, it is better than closed source where nobody can audit the code.
  • Just because the source code is available doesn't mean the program you download from the App Store is built on exactly the same code. Google Chrome, for example, is built on top of the open source Chromium browser but after Google injects a few proprietary services and features; the Chrome program released by Google has features not found in the Chromium source code. This can be helped by so-called "reproducible builds" and I'll cover that below, but reproducible builds do not come "for free."

In this post I'll address a few common tired things I hear people on r/privacy say in regards to this topic and how it's never quite that simple.

Read more...

Tags: 0 comments | Permalink
Blockchain in a nutshell
May 9, 2021 by Noah

Have you ever wondered basically how blockchains work and what it means to "mine a Bitcoin" and why it's a time-consuming (and energy-intensive) process to mine one? In this blog post I'll summarize what basically drives blockchains and how they work, from my understanding of them anyway.

If you're anywhere close to a novice web developer or have ever hashed a password in your life, you already know the basic technology at play here. And even if you haven't, I think I can get you caught up pretty quickly.

The explanation I give below is surely super simplified and is based on my reading of how these work, along with several "Create your own blockchain in under 200 lines of code" type of tutorials which you could find for Python, or JavaScript or anything. It doesn't cover how the decentralized networking aspects work or any of those details, but just the basics on the cryptography side.

Read more...

Tags: 0 comments | Permalink
Visual perception and peeking thru the veil
April 2, 2021 (updated February 24, 2024) by Noah

Among my many diverse interests, one thing that fascinates me is to contemplate the nature of the universe and what Reality is made of, or at least, what my perception of Reality is made of and how the inner mind works.

To that end, topics such as quantum physics, simulation theory, and esoteric writings from the world's oldest religions like Hinduism and Gnosticism are interesting to me, and I like to talk crazy about that sort of thing from time to time.

In this post, though, I'm going to write strictly about visual perceptions that I've experienced at different times in my life. Many are related to psychotropic compounds, including cannabis, but now I'm able to experience some crazy things just by meditating while sober too.

I learned how to meditate my way into tripping balls, sober.

The other day, quite by accident, I learned how to enter a fully "tripping balls" state of mind, while completely sober, purely by meditating and staring blankly out into space.

All I was trying to do was meditate, and keep my mind shushed and quiet, for as long as I could manage to, and push to set a new personal record for myself. I'd been practicing meditation for a couple of years, since my spiritual awakening in 2018. So I was just focused on keeping my mind still, but kept my eyes open, and was staring blankly out at the walls of my apartment, which had a complex surface to them.

Complex surface? By this I mean, my walls had a sort of "sprayed on" finish to them, similar to ceilings in many homes, so instead of a smooth finish or tiles or w/e, the wall is 'chaotic' and messy, with ridges and dents and lines and complexity. Any complex surface will do.

So I was just staring, focused on a single point on the wall, mind still, and I kept this up even while my visual perception began to fall apart (as it does due to the sensory tolerance of staring at the same image for so long -- this much I knew would happen even from my early childhood when I'd zone out and daydream while staring at trees or things). It is a bit hard to pull off, I get a strong urge to blink or move my eyes when my perception begins to fall apart, but with some practice you can power through this part.

What happened next is where it started to get interesting.

You know those "closed eye" visuals you get when your eyes are shut? Random colors and blobby shapes and so on. Well, I began to see these same sorts of visuals while my eyes were open. They were overlaid on top of the image of the wall I was staring at. Only then, instead of the colorful blobs doing their own thing, they started to "play off of" the patterns on the wall; they'd cling to the ridges and edges, and make the details on the wall begin to wiggle a bit, interacting with it instead of the blobs simply doing their own (usual) thing over top.

Eventually from the colored visuals emerged some fractal-like patterns, and before too much longer, the visuals came to reach full-on 'tripping balls' territory, like the peak of a psychedelic trip on mushrooms or similar. Rainbow colors washing over the wall, every little detail is wiggling and dancing around, fractal patterns, and even these tiny details I didn't even notice were there emerged and those were wiggling and moving around too. If you've dabbled in psychedelics, you know what I'm talking about, only no such substances were necessary: I meditated my way into seeing this stuff. I didn't even expect this was possible!

And as soon as I'd look away? Gone. Back to normal, nothing wiggling around anymore, Reality is back in its place.

Now, the first time I pulled this off, I had smoked a single hit of cannabis, as I do many days of the week (it's legal for adults in Oregon). But when I pulled this off, nothing about the experience felt related to the weed in particular, and that I should be able to do this while completely sober, and can bring on these visualizations at will any time I choose.

The next day I tested exactly this: no weed, no nothing, just laid on my bed and stared at my ceiling while meditating and waited for the visuals to come on.

Try it yourself, I'm curious if others can turn up the same results.

  1. Meditate, trying to keep your mind quiet, turn off noisy chatter. This may take some practice. If you're a beginner, just meditate by focusing on your breath, and breathe in and out; don't control your breath, just watch it, and if your mind wanders, and you realize you've wandered, just come back to your breath and keep trying, don't beat yourself up for it.
  2. Do this while staring at a fixed point in the room, preferably on a complex surface. Don't blink or look away even while your visuals begin to do weird things; power through it.
  3. Don't focus on seeing trippy visuals as a goal; when I thought too much about seeing visuals, they wouldn't come on, I'd have to just focus on keeping my mind quiet, and the visuals happen naturally.

While I was "meditation tripping," I thought to myself, "is this what people mean when they talk about 'flashbacks' where you get psychedelic visuals later in life after you've used these substances once before?" -- it fully, 100% looked like height-of-the-trip visuals. But, they were completely under control, in that I willed myself into it, and they were gone like *snap* as soon as I looked away.

The visuals were always my favorite part of psychedelics, anyway, and I can do without the "ego death" and the "impressionable mind" aspects of a trip. As I continue my meditation practice, now I know how I can give myself a laser light show to watch while at the same time extending my tolerance for keeping my mind still and quieted.

Hexagonal 2D pattern overlaid on 3D reality

This story is related to the above which will become clear after a while.

So, I'd been using cannabis since about 2016 and all was normal and fine for a while, but in the last couple of years especially, very often after I'd smoke I would start to see a sort of "hexogonal pattern" emerge over my view of Reality.

It was like a 2D honeycomb texture overlaid on top of all the 3D things I was seeing in my space; sort of like the pixels you see if you look really closely at a computer screen. Or like, it was as though 3D reality was actually a projection onto a flat 2D surface and that this hexogonal honeycomb pattern were the "pixels" that make Reality function.

They were especially noticeable when I'd look at a bright white computer screen, like the background of most web pages, because the solid white color removes all visual distraction and I could see the honeycomb pattern the most clearly.

I can't really say what color the hexagon pattern is, as the whole thing seems to flash colors like red and blue, like TV static, but the static is structured and organized into a clear pattern.

If I was reading some text on my screen, the letters would wiggle and interact with the hexagons where the letter touched a border between two cells. It's pretty reliable for me to see this pattern pretty much any time I smoke weed now.

One of the first times I noticed this pattern, I was curious about it and tried to focus and see it more clearly and figure out what it was. I was staring at my white computer screen as it was the easiest to distinguish the pattern on, and as I focused on it, it was like the veil of Reality began to disintegrate and fall apart, like "holes" appeared in my monitor and I could see "through" reality to get a better look at what was behind it.

What I began to see, though, frightened me and I stopped. I had seen it, in all its terrifying glory, once before in my life - story below.

How it relates to meditating myself into tripping? The earlier parts of the visuals I was seeing started out much the same as this hexogonal pattern, before it changed and became fractals and making the wall dance around. I feel the two are the same phenomenon in different forms.

The infinite grid of colorful spheres

So, going all the way back to my very first time smoking weed, in 2013 or 2014 or so. I tried it the first time, and I fully tripped balls and left reality all together, with full-visual hallucinations and I was gone from Earth.

This is not a usual reaction people have to weed. I haven't tried DMT or other hard psychedelics like that, but this story is the closest I've come to something similar.

This guy I was seeing at the time got me to try weed, and he had just a small bong (water pipe) and I took a few hits, wasn't really feeling much yet from it. But then his friend comes over, and he brings this huge bong, one of the 2-foot tall kinds and they had ice cubes in it and everything, and we started passing that around.

I didn't even take a full drag off this thing, I just cleared the smoke in it left by the other guy. Instantly I felt nauseous, and then after that, I was just gone.

What I was seeing in front of my eyes was an infinite 3D grid of colorful spheres, tiled out as far as I could see. I didn't have a body. I could see, but I couldn't move my "head", my vision was locked and staring at this grid of spheres. I could feel my eyes and knew the difference between opening and closing them, but it didn't matter, I was seeing these spheres all the same whether my eyes were opened or not. The real world was just gone, I was in this place now.

I immediately got some crazy ideas in my head, like: the simulation has ended, the Earth has been destroyed, and what I was seeing now were a bunch of other simulations, each sphere being its own separate universe. And that the people who were running these simulations were now studying the end results of ours that had just ended.

Occasionally I'd see a "screen" appear, a window where I could look through and see the real world, and I saw my friends looking in at me and asking "Are you okay? Do you need some water?", again and again on a loop. I interpreted this to be like video clips being pulled from the simulation for study by whoever it is that was running the simulation; that it wasn't "real" anymore, just a video clip, and it was repetitive with my friends asking me over and over again.

I could not speak out loud.

I could think to myself, and I could hear my thoughts just fine, but I just could not talk out loud. At least not on purpose. Occasionally I would manage to say something, and I could feel my throat vibrate and hear my voice, but I never knew when it would happen, and what I'd say would be just whatever random train of thought I was currently on in my head.

Sometimes I could manage to scream, and this would finally get a reaction out of my friends, who would finally say or do something different instead of just repeating the same questions over and over again.

When I'd struggle to get out of that place, I'd get to see the real world, only it was spinning in front of my eyes quickly as though I were shitfaced drunk on alcohol, and when I'd give up and relax I'd be back in colorful land seeing this grid of spheres once again.

It felt like I was there for an eternity.

I would've eventually just given up, relaxed, accepted my fate, etc., except there was a constant auditory tone that was ringing in my ears the entire time which kept me on edge and I couldn't fully just relax into it.

Eventually, I started to come down. I saw the spinning world again, only this time it was sticking around longer than before, and I started to remember how I had gotten myself into this situation. At this point I realized I was now standing on my feet and twirling in circles to keep up with my spinning world. I still could not speak, but I raised a finger in the air as if to signal "ah ha!" and that I realized my situation and that I'm on my way back down to Earth. Earlier in this 'trip', my friends had me pinned on the ground for my own safety and I scratched one of their arms for not believing they were even real during the trip.

Crazy stuff! The closest visual to this I've seen on the Internet is Indra's Net but really I've never seen anything else quite like it since.

I've never had such a reaction from weed since then, and tbh it kinda scared me off trying it again for another couple of years. By that stage all I'd ever tried was alcohol and I never contemplated such crazy ideas of simulations or things before this.

So when I studied the hexogonal patterns I see on weed now, what started to emerge from "behind the veil" looked an awful lot like the infinite grid of spheres and I noped right back to reality instead.

The time I lost my depth perception and saw reality in 2D

Unrelated to the above stories, but an interesting story nonetheless.

One day I was in a car driving down the highway, and I was chiefing on a weed vape pen, when suddenly I lost my depth perception to a certain degree.

The other cars on the road ahead of me started to appear as flat, 2D cardboard cut-outs, like those you might find at a shooting gallery. The cars still had reflections, highlights and shadows, to convey the illusion of 3D depth, only the car as a whole looked like a flat 2D sprite.

The 2D cards did still have relative depth compared to others, like, I could tell the difference between a car further ahead on the road compared to one closer to me; just each individual car, itself, was a flat sprite to my eyes with no localized depth to it.

I found it rather interesting and studied the rest of my visual perception to understand how it all worked. Like, way way off in the distance, there were some mountains covered in trees, only the whole mountain looked like a flat painting. It was so far away, that there was no panoramic effect as the car drove closer, it all just looked flat, like it was painted on, like the skybox of a videogame.

The cars nearby had relative depth, but far away, the horizon was flat. I thought, "where is the dividing line at? How far out do things stop having depth to them and it all looks flat on the horizon?" I estimated the line to be about 60 feet in front of me. Cars closer by than 60 feet, I could tell how far each car was from me and from the other cars; further out than that, everything may as well just be a flat matte painting on a wall, there's no more depth perception to be had at that distance.

I continued to study my perception in this state of mind and came up with the following ways to describe it:

  • Imagine a cylindrical room; the walls are a circle and there's a floor and a ceiling, and the room has a diameter of about 60 feet from one side to the other.
  • Poke a hole in the wall of the room, and imagine that your eyeballs are in this hole, looking into the room but you and your body are 'outside' the room. Your visual perception then is basically right on the wall of the room.
  • The "far away horizon", the mountain with trees, the things so far off that they no longer have local depth perception... these are painted on to the walls of the room.
  • In the middle of the cylindrical room are where actors and stage props appear. For me, these were the cars and other local objects (street signs, lights, nearby trees and things). The actors all have local depth to them because they're all physical objects inside the cylindrical room. But 60+ feet out, and it's a flat painting on the wall instead.

And then imagine you have never left this room your entire life. You've never moved from that location, you've never turned your head. Instead, the paintings on the walls change and the actors come and go and change shape and form to make up your immediate environment. This was more or less what it "seemed" like in this moment.

I don't "believe" ANY of this stuff!

I've written a lot of crazy stuff above, but don't worry, I don't take any of it too seriously! In my normal daily life I'm still a skeptical, science-minded kind of guy, and I even considered myself an Atheist for a good 10 years of my life, in between being raised a Christian from childhood and then re-discovering God in my own way in 2018.

All I know about the Universe is that I don't know anything about the Universe.

I like to dabble and explore my mind, and I fully acknowledge that this may be all it is, is my brain chemistry playing tricks. I can't make any claims that we're in a simulated universe or that gods or angels exist, or any kind of external magick like that.

Even from a material science perspective: our brains never see the Real Reality. We have eyes and ears and senses which feed electrical signals to our brain, and our brain does its best to simulate what might be going on in the external world. In that regard, we all do live in our own tiny little realities, and our own brains simulate our universes and no two people could ever know, for sure, whether what they call "red" is the same color as the other person.

There are surely some real dangers for your mental health if you delve into this kind of thing unprepared, or without the mental framework to handle it. Personally, I've always handled psychotropic drugs well, even during a "bad trip" where my external reality gets scary and out of control, I never lost sight of how I got there and I knew it was all mental and it too would pass and I'd be back to normal.

If there's interest I can talk about some psychedelic trip reports, too, though the above blog post is not really the same as "trip reports" and proper trip reports tend to be so random and chaotic, they don't even make sense to the reader, much like when somebody tells you about the crazy dream they had last night. Hopefully the above stories make some sense, though, and I explained some of it well.

Disclaimers: don't do drugs, etc., but if you do do them anyway, do your research and partake safely. Erowid is a good resource for that.

They say, of all drugs, that all they do is activate features in your brain that it's already capable of, oftentimes playing with your dopamine, serotonin or cannibinoid receptors, and that seasoned Buddhist monks (for example) can play in that space purely through meditation, just that it takes a while to master and drugs are a fast shortcut. A psychedelic trip can give you a peek through the veil and give you a glimpse at the nature of your perception of reality, but beware of unearned wisdom, and it's much safer to take the slower path there so you don't risk turning yourself completely crazy.

“The psychotic drowns in the same waters in which the mystic swims with delight.”

-Joseph Campbell.

Tags: 5 comments | Permalink
VNC Server for Pinephone
April 1, 2021 (updated July 24, 2021) by Noah

I didn't find this documented very many places but it's possible to get a VNC server running for "remote desktop" to access and control your Pinephone display from your laptop.

Quick list of related technologies:

  • To take screenshots of your Pinephone, use the grim command.
  • To record videos of your Pinephone's screen, use wf-recorder.
  • To run a VNC Server, use wayvnc.

Mobian already packages grim and wf-recorder so these are just an apt install away, and these are documented on Mobian's wiki. But wayvnc is not yet packaged in Mobian and you gotta build it from source code yourself.

Follow the directions on the git repo, including cloning down the neatvnc and aml dependencies. The README has instructions to build it for Fedora and Arch but the Debian instructions are missing! I found by trial-and-error the dependencies I needed to install to build this program for Debian:

sudo apt install gcc meson ninja-build pkg-config libpixman-1-dev \
  libdrm-dev libxbcommon-dev libwayland-dev

I ran the built binary like wayvnc 0.0.0.0 to start the server and connected with the TigerVNC client from my desktop.

It has a couple of quirks to watch out for:

  • The mouse cursor only appears on the Pinephone's screen, but not in the VNC viewer window, making some UIs hard to work with (the lock screen in particular). Edit: use -r --render-cursor options to get the cursor to work. Thanks, anonymous commenter!
  • The Pinephone display was "too tall" to fit on my screen when in portrait orientation. My desktop monitor is 1920x1080 but the Pinephone display is 720x1280 so it ran off the bottom of my screen by 200 pixels. Switching the display to Landscape fit better.

wayvnc.png

Tags: 3 comments | Permalink