Skip to content

Instantly share code, notes, and snippets.

# Firejail profile for pidgin
# Description: Graphical multi-protocol instant messaging client
# This file is overwritten after every install/update
# Persistent local customizations
include pidgin.local
# Persistent global definitions
include globals.local
mkdir ${HOME}/.purple
noblacklist ${HOME}/.purple
# Firejail profile for meld
# Description: Graphical tool to diff and merge files
# This file is overwritten after every install/update
# Persistent local customizations
include meld.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.local/share/meld
$ pacman -Q systemd
systemd 241.67-1
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
$ pacman -Q systemd
systemd 241.67-1
$ strace -s 500 -o log getent ahosts rsync.archlinux.org
execve("/usr/bin/getent", ["getent", "ahosts", "rsync.archlinux.org"], 0x7ffc15f16fa0 /* 38 vars */) = 0
brk(NULL) = 0x55e2fde49000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc20738d10) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=32741, ...}) = 0
$ pacman -Q systemd
systemd-git 242.rc4.2-1
$ strace -s 500 -o log getent ahosts rsync.archlinux.com
execve("/usr/bin/getent", ["getent", "ahosts", "rsync.archlinux.com"], 0x7ffc2e307a40 /* 38 vars */) = 0
brk(NULL) = 0x561067b65000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffe9724a070) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=32741, ...}) = 0
Updating repo...
Already up to date.
==> Making package: libotr-ng-git 2270.2d718c6-1 (2019-04-12T17:45:38 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating libotr-ng git repo...
Fetching origin
From https://github.com/otrv4/libotr-ng
- [deleted] (none) -> origin/47-phi
_pkgname=do-agent
pkgname="${_pkgname}-bin"
pkgver=3.16.2
pkgrel=1
pkgdesc="Collects system metrics from DigitalOcean Droplets - binary version"
url="https://github.com/digitalocean/do-agent"
arch=(x86_64)
license=(Apache)
options=(!strip)
provides=(do-agent)
# Firejail profile for meteo-qt
# Description: System tray application for weather status information
# This file is overwritten after every install/update
# Persistent local customizations
include meteo-qt.local
# Persistent global definitions
include globals.local
noblacklist ${HOME}/.config/autostart
noblacklist ${HOME}/.config/meteo-qt
#!/bin/env python3
#
## sort options with multi-item values in firejail files
#+ based on https://gist.github.com/rusty-snake/a1010a3daf3c54e93dfe03f2f5ce3d96
#+ requirements: python >= 3.6
from sys import argv
def fix_caps(line):
filenames = line[10:].split(",")
filenames.sort(key=lambda s: s.casefold())
--- a/other__default-settings.patch
+++ b/other__default-settings.patch
@@ -1,19 +1,15 @@
diff --color -U 5 -r -Z -B ./org/gtk/gtkscrolledwindow.c ./mod/gtk/gtkscrolledwindow.c
--- ./org/gtk/gtkscrolledwindow.c 2017-10-02 18:00:49.000000000 +0200
+++ ./mod/gtk/gtkscrolledwindow.c 2017-10-30 21:18:17.203646016 +0100
-@@ -4408,11 +4408,11 @@
- GtkScrolledWindowPrivate *priv = scrolled_window->priv;
- gboolean use_indicators;
+@@ -4448,7 +4448,7 @@