Author: kabouik but all credits to g7
Known issues related to dual-booting, as of 2023-09-10:
- Switching from Droidian to SailfishOS can be done directly on the phone, but from SailfishOS to Droidian requires a computer.
- Nothing else so far, yay.
#!/usr/bin/env bash | |
# This script will install Cutie or Phosh on a device | |
# already running Droidian. This is an alternative to | |
# using one of the Cutie Droidian images that need to | |
# be flashed. | |
# Use at your own risk, odds are it will break things. | |
# Authors: Kabouik (@bouic), Erik (@eriki73) | |
# https://t.me/CutieShellProject |
Recently I had to move my data between two SailfishOS phones.
I don't really like the new Backup application available since 2.0.2, so
I mostly moved things by hand.
This document contains scattered thoughts about this process.
Dumping the image (from recovery)
Facts: VMware Player on Ubuntu 18.04 LTS with the standard Gnome desktop running an AMD WX-2100 graphics card. Both glxinfo and glxgears show 3d acceleration is enabled and working on the host. In addition to VMware Player, the host is also running the qemu-kvm/libvirtd stack from Ubuntu's official repositories. My use case for 3d accelerated graphics in a Windows guest is to occasionally play a Windows-only game.
Issue: Player barks this warning during installation of... anything.
Solution: This askubuntu post, Powered by StackExchange[TM], provides the solution:
check if exist | |
/dev/anbox-binder | |
if it doesn't, anbox-binder don't work | |
sudo apt install anbox-ubuntu-touch | |
sudo wget -q --show-progress -O /home/phablet/anbox-data/android.img http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img | |
touch /home/phablet/anbox-data/.enable | |
chmod -R o+wrx /home/phablet/anbox-data/data |
i3-gaps has some packages that are required for it to work so install these things:
sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev libtool automake
You also need to install libxcb-xrm-dev
, but I got Unable to locate package libxcb-xrm-dev
when trying to install from the apt repositories on Ubuntu 16.04. If this happens to you, just install it from source using these commands:
mkdir tmp
Thanks to /u/zpoo32 for reporting several issues in this list!
space | |
! exclamation mark | |
" quotation mark | |
# number sign | |
$ dollar sign | |
% percent sign | |
& ampersand | |
' apostrophe | |
( left parenthesis | |
) right parenthesis |
wl(){ | |
local ssid | |
local conn | |
nmcli device wifi rescan > /dev/null | |
ssid=$(nmcli device wifi list | tail -n +2 | grep -v '^ *\B--\B' | fzf -m | sed 's/^ *\*//' | awk '{print $1}') | |
if [ "x$ssid" != "x" ]; then | |
# check if the SSID has already a connection setup | |
conn=$(nmcli con | grep "$ssid" | awk '{print $1}' | uniq) |