Skip to content

Instantly share code, notes, and snippets.

glitsj16

Block or report user

Report or block glitsj16

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View strace_securefs_5.3.13.log
execve("/usr/bin/securefs", ["securefs", "mount", "/home/glitsj16/.007/.stash_sfs", "/home/glitsj16/.007/lab16.007"], 0x7ffcb0ea5a18 /* 142 vars */) = 0
brk(NULL) = 0x56273c581000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffc87ce6360) = -1 EINVAL (Invalid argument)
access("/etc/ld.so.preload", R_OK) = 0
openat(AT_FDCWD, "/etc/ld.so.preload", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
close(3) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=213958, ...}) = 0
mmap(NULL, 213958, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f72355ef000
View autofocus_urlbar.uc.js
(function() {
//if (location != "chrome://browser/content/browser.xul") return;
const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
Cu.import("resource://gre/modules/Services.jsm");
var AutoFocusUrlbar = {
cs: Services.console, // nsIConsoleService
View PKGBUILD.patch
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@
# Optionally select a sub architecture by number if building in a clean chroot
# Leaving this entry blank will require user interaction during the build
# which will cause a failure to build if using makechrootpkg. Note that the
-# generic (default) option is 27.
+# generic (default) option is 30.
#
# Note - the march=native option is unavailable by this method, use the nconfig
View gnome-pie-focused
#!/bin/sh
#
## wrapper for calling gnome-pie with a hotkey, Wayland-safe
#+ use this in the 'command' box when setting up GNOME custom
#+ keybindings adding the preferred pies number, e.g. 'gnome-pie-focused 123'
## IMPORTANT #######################################
#+ uses gnome-pie-focus-helper in Xwayland mode to supply the needed
#+ previously focused Xwayland app for Gnome-Pie to function properly
#+ see https://github.com/Schneegans/Gnome-Pie/issues/172
View gnome-pie-focus-helper.vala
// Create an invisible maximized window (covering the desktop) to use as focused Xwayland overlay
// valac -X -lm --pkg gtk+-3.0 --pkg cairo --pkg gdk-3.0 gnome-pie-focus-helper.vala
using Gtk;
using Cairo;
public class CairoTransparent : Gtk.Window {
private Surface event_mask;
View gnome-pie.xwayland.patch
Patches against Gnome-Pie 0.7.2 to run on X11/Xwayland by default.
The Wayland display server is only used if the user explicitly starts
Gnome-Pie with the environment var GDK_BACKEND set to "wayland".
See https://github.com/Simmesimme/Gnome-Pie/issues/172
--- a/src/daemon.vala
+++ b/src/daemon.vala
@@ -38,7 +38,7 @@
public static string version;
View gnome-pie.patch
These patches are intended to make Gnome-Pie use Xwayland by default.
This returns full functionality to the application when running a Wayland session.
--- a/src/utilities/bindingManager.vala
+++ b/src/utilities/bindingManager.vala
@@ -82,7 +82,8 @@
/// Used to identify wayland sessions.
/////////////////////////////////////////////////////////////////////
- private bool wayland = GLib.Environment.get_variable("XDG_SESSION_TYPE") == "wayland";
View gtk3-mushrooms.patch
--- 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 @@
View firejail.fix.sorting
#!/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())
View meteo-qt.profile
# 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
You can’t perform that action at this time.