Several runit/artixlinux tips. Android .ab uncompress

This commit is contained in:
lhark 2019-05-12 00:14:15 -04:00
parent 1330d9ab86
commit ec04665150
2 changed files with 35 additions and 0 deletions

14
how_to
View file

@ -478,3 +478,17 @@ Better Bibtex, Zotero:
ImageMagick:
crop to aspect ratio
convert in.png -gravity center -crop 4:3 out.png
Bumblebee runit fix:
sed -i 's/Driver=$/Driver=nvidia/' /etc/bumblebee/bumblebee.conf
Uncompress android .ab backup files:
# https://stackoverflow.com/questions/18533567/how-to-extract-or-unpack-an-ab-file-android-backup-file
( printf "\x1f\x8b\x08\x00\x00\x00\x00\x00" ; tail -c +25 backup.ab ) | tar xfvz -
Fix: Failed to activate service 'org.freedesktop.login1': timed out:
If dbus has been restarted, don't forget to restart elogind/systemd-logind
Artilinux steam lib32-systemd fix:
https://forum.artixlinux.org/index.php/topic,633.msg7437.html
[Attached file]: resources/lib32-systemd-dummy.pkgbuild

View file

@ -0,0 +1,21 @@
_spkgrel=1
_repo=http://mirror.cedille.club/archlinux/multilib/os
pkgname=lib32-systemd-dummy
pkgver=242.16
pkgrel=1
arch=('x86_64')
license=('GPL2')
url="http://www.freedesktop.org/wiki/Software/systemd"
source=("$_repo/x86_64/lib32-systemd-$pkgver-${_spkgrel}-x86_64.pkg.tar.xz")
sha256sums=('7631640f74539f99feb9ce5b06fbf05aae5c1402303b646da58ad99059487dba')
pkgdesc="systemd client libraries without udev; systemd compatibility package"
#provides=("lib32-systemd=${pkgver}" 'lib32-systemd.so') # conflicts with lib32-eudev
depends=('lib32-glibc' 'lib32-libcap' 'lib32-libgcrypt' 'lib32-xz' 'lib32-eudev')
conflicts=('lib32-systemd' 'eudev-systemdcompat')
package() {
install -d $pkgdir/usr/lib32
for f in usr/lib32/libsystemd*.so*;do
mv -v $f $pkgdir/usr/lib32
done
}