vvv

joined 2 years ago
[–] vvv 9 points 7 hours ago

most shells have a CDPATH which works just like PATH but for directories. set it to $HOME/projects/:$HOME/porn/ or whatever, and you'll get the subdirectories in your cd tab completion, without installing extra stuff

[–] vvv 1 points 2 days ago

I really like this hub: https://www.amazon.com/dp/B0D5VTBG8F

It's the only one I've found that correctly passes display port alt mode through, so I can stick to all usb-c cables.

[–] vvv 4 points 2 weeks ago (2 children)

The & is an indicator to most shells to run this command in "the background". Try and run ( sleep 10; echo hi ) & - you'll see you get your shell prompt back, where you can run more commands, but 10 second later you'll see that 'hi' come through. 'blocking' is the default behavior, if you don't add the & you're still going get the hi in ten seconds, but you don't get a prompt because your shell's execution is blocked until your command is done.

The doc here is indicating that you havea choice between autostart_blocking.sh and autostart.sh, the latter of which would be run with a &. They could have expressed this better.

As for why your script didn't work, I'd try executing it in a terminal to see what error message comes up.

[–] vvv 11 points 1 month ago

As you switch, I would highly recommend you purchase a domain for yourself, and redirect email from it to your new provider. This separates your "identity" from your email host, so you can switch the latter without having to go through this process again.

[–] vvv 3 points 1 month ago (1 children)

both mobile and desktop have the plaintext notes in a sqlite db. they're "easy enough" to export if you're bailing on the app, but not to regularly switch between two different apps

[–] vvv 7 points 1 month ago

don't forget to install gti

[–] vvv 8 points 2 months ago (4 children)

Comparing idioms is fun. "Great minds think alike" has an equivalent which is literally translated as "Idiots have similar thoughts". Kinda reflective of the cultures too: self congratulating vs self deprecating.

[–] vvv 9 points 2 months ago (1 children)

Most REPLs can be closed with Ctrl+D which is the EOF character.

[–] vvv 56 points 2 months ago (2 children)

the macos file browser, Finder, lets you set a background for a folder, move file icons around to arbitrary positions, other shenanigans. in order for this to work across systems on removable storage media and network mounts, they have this.

[–] vvv 2 points 2 months ago

it's mostly fixed now, after convincing fxtec to send me a new USB board, but in the time it took to do that, I've moved on to a flippy razr phone. for now, single handed use beats having the keyboard for me

[–] vvv 1 points 2 months ago

for what it's worth, the screens are very easy to replace and readily available on AliExpress ( search for elephone u screen replacement )

 

Somewhere between API resources, queue workers, repositories, clients and serializers there is a class of ... classes/modules that does the needful. Gun-to-my-head, I would call them "services" but I'm looking for a less overloaded term. Maybe capabilities? Controllers? Pick a term from the business domain? What do you call them?

80
submitted 1 year ago* (last edited 1 year ago) by vvv to c/selfhosted@lemmy.world
 

Hi! I'm swapping my daily android phone for the nth time today and going through my set-up "check-list". As apps are updating/installing, I thought I'd check in with the hive-mind, what are you all doing to make the process easier? Maybe you know of a way to self-host some sort of android profile server? I'll post my process + list of goals & gripes below and if you have any tips or suggestions about what I can do better, I'd love to hear them!!

Current Process

  • flash clean rom
  • walk through the setup process
  • enable developer mode + adb
  • go through default app list disabling/uninstalling crap i don't want
  • use 'fdroidcl' to install all my fdroid apps
  • adb push a gpg private key to import into OpenKeychain
  • generate a ssh keypair in Password Store, put public key on my server via ConnectBot, clone passwords repo
  • log into firefox sync
  • log into joplin
  • configure fairmail
  • configure davx
  • log in to google account
  • download play store apps I was missing
  • go through apps one by one, logging in to accounts + doing configuration
  • deal with fucking whatsapp
  • hold old phone + new phone side by side and made sure i got everything

Goals & Gripes

App Installation

fdroidcl helps a LOT here, i can have a list of my minimal required packages - password management solution, browser, and notes get installed and it solves a lot of bootstrapping problems for me. I never need to do the dance of opening chrome, downloading fdroid, giving chrome install permissions, installing fdroid, etc.

that said, it is /slow/ and obviously limited to installing apps from fdroid repositories. maybe the slowness i can solve with self-hosting an fdroid repo, but i'm still stuck with having to install a bunch of apps manually either through aurora store, or play store.

App configuration

If i could push in arbitrary app configurations i would be sooooo happy. certain apps have config export/import, like my launcher, but that's far from all of them. i've tried a number of "backup" options, like Titanium, but obviously they don't work without root and don't always work /with/ root, especially going across devices. I've vaguely considered using Appium for this but ... ehhhh.

De-googling

Okay, so I can probably solve the apk problem somehow... I can solve the contacts sync... but I really like android auto, and that's a non-starter without a system google account afaik.

Whatsapp

i've never once managed to successfully move whatsapp to another device and not lose my chat history. it starts restoring from a backup, fails, and kicks me into being logged in without any chance of a restore.

Edit: oh and if you have any suggestion that'd make me not hate re-pairing wearos watch... 🥺

 

I've posted this to reddit before, but the post has gotten lost among an automod flurry. I've got some longer travel coming up and this thing has been on my mind again, so I'm looking for some suggestions!

 

An example: https://www.thenextdroid.com/topics/tutorials/root/. This Ellis Gibson person. Very good with the find/replace button.

Maybe you know of a browser extension to hide all these?

view more: next ›