Skip to content

Instantly share code, notes, and snippets.

@Mel34
Mel34 / bindings.xml
Last active February 2, 2018 15:38 — forked from hensm/bindings.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bindings>
<bindings xmlns="http://www.mozilla.org/xbl">
<binding id="tabs-scroll" extends="chrome://global/content/bindings/scrollbox.xml#scrollbox">
<handlers>
<handler event="wheel"><![CDATA[
// Preserve original behaviour if meta (Windows) key is held
if (event.metaKey) return;
if (event.deltaY < 0) {
@Mel34
Mel34 / sway.log
Created April 21, 2019 10:37
Sway log
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] Linux loonix 5.0.9-arch1-1-ARCH #1 SMP PREEMPT Sat Apr 20 15:00:46 UTC 2019 x86_64 GNU/Linux
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:169] Contents of /etc/lsb-release:
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] LSB_VERSION=1.4
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] DISTRIB_ID=Arch
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] DISTRIB_RELEASE=rolling
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] DISTRIB_DESCRIPTION="Arch Linux"
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:169] Contents of /etc/os-release:
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] NAME="Arch Linux"
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] PRETTY_NAME="Arch Linux"
2019-04-21 12:33:15 - [sway-1.0/sway/main.c:153] ID=arch
@Mel34
Mel34 / wayland_debug_client.txt
Created April 21, 2019 11:03
WAYLAND_DEBUG=client sway log
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] Linux loonix 5.0.9-arch1-1-ARCH #1 SMP PREEMPT Sat Apr 20 15:00:46 UTC 2019 x86_64 GNU/Linux
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:169] Contents of /etc/lsb-release:
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] LSB_VERSION=1.4
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] DISTRIB_ID=Arch
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] DISTRIB_RELEASE=rolling
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] DISTRIB_DESCRIPTION="Arch Linux"
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:169] Contents of /etc/os-release:
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] NAME="Arch Linux"
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] PRETTY_NAME="Arch Linux"
2019-04-21 13:01:19 - [sway-1.0/sway/main.c:153] ID=arch
@Mel34
Mel34 / gist:d9439469feac683ce083e4f82af69425
Created April 21, 2019 11:09
Running mpv with WAYLAND_DEBUG=client
~ ▶ WAYLAND_DEBUG=client mpv --player-operation-mode=pseudo-gui> wayland_debug_mpv.txt
mpv: /usr/lib/libsmbclient.so.0: no version information available (required by mpv)
[1640358.581] -> wl_display@1.get_registry(new id wl_registry@2)
[1640358.628] -> wl_display@1.sync(new id wl_callback@3)
[1640358.710] wl_display@1.delete_id(3)
[1640358.727] wl_registry@2.global(1, "wl_shm", 1)
[1640358.742] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[1640358.761] wl_registry@2.global(2, "zwp_linux_dmabuf_v1", 3)
[1640358.771] wl_registry@2.global(3, "wl_drm", 2)
[1640358.783] wl_registry@2.global(4, "wl_compositor", 4)
2019-09-01 18:22:50 - [sway/main.c:152] Linux loonix 5.2.11-zen1-1-zen #1 ZEN SMP PREEMPT Thu Aug 29 08:09:35 UTC 2019 x86_64 GNU/Linux
2019-09-01 18:22:50 - [sway/main.c:168] Contents of /etc/lsb-release:
2019-09-01 18:22:50 - [sway/main.c:152] LSB_VERSION=1.4
2019-09-01 18:22:50 - [sway/main.c:152] DISTRIB_ID=Arch
2019-09-01 18:22:50 - [sway/main.c:152] DISTRIB_RELEASE=rolling
2019-09-01 18:22:50 - [sway/main.c:152] DISTRIB_DESCRIPTION="Arch Linux"
2019-09-01 18:22:50 - [sway/main.c:168] Contents of /etc/os-release:
2019-09-01 18:22:50 - [sway/main.c:152] NAME="Arch Linux"
2019-09-01 18:22:50 - [sway/main.c:152] PRETTY_NAME="Arch Linux"
2019-09-01 18:22:50 - [sway/main.c:152] ID=arch
~ ▶ coredumpctl gdb sway
PID: 21867 (sway)
UID: 1000 (anon)
GID: 1000 (anon)
Signal: 11 (SEGV)
Timestamp: Sun 2019-09-01 18:22:59 CEST (4min 20s ago)
Command Line: sway -d
Executable: /usr/local/bin/sway
Control Group: /user.slice/user-1000.slice/session-7.scope
Unit: session-7.scope
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
~ ▶ coredumpctl gdb sway
PID: 3675 (sway)
UID: 1000 (anon)
GID: 1000 (anon)
Signal: 11 (SEGV)
Timestamp: Sun 2019-09-01 19:01:35 CEST (23s ago)
Command Line: sway -d
Executable: /usr/local/bin/sway
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
2019-09-01 19:01:30 - [sway/main.c:152] Linux loonix 5.2.11-zen1-1-zen #1 ZEN SMP PREEMPT Thu Aug 29 08:09:35 UTC 2019 x86_64 GNU/Linux
2019-09-01 19:01:30 - [sway/main.c:168] Contents of /etc/lsb-release:
2019-09-01 19:01:30 - [sway/main.c:152] LSB_VERSION=1.4
2019-09-01 19:01:30 - [sway/main.c:152] DISTRIB_ID=Arch
2019-09-01 19:01:30 - [sway/main.c:152] DISTRIB_RELEASE=rolling
2019-09-01 19:01:30 - [sway/main.c:152] DISTRIB_DESCRIPTION="Arch Linux"
2019-09-01 19:01:30 - [sway/main.c:168] Contents of /etc/os-release:
2019-09-01 19:01:30 - [sway/main.c:152] NAME="Arch Linux"
2019-09-01 19:01:30 - [sway/main.c:152] PRETTY_NAME="Arch Linux"
2019-09-01 19:01:30 - [sway/main.c:152] ID=arch
[3826196.274] -> wl_display@1.get_registry(new id wl_registry@2)
[3826196.296] -> wl_display@1.sync(new id wl_callback@3)
[3826196.348] wl_display@1.delete_id(3)
[3826196.355] wl_registry@2.global(1, "wl_shm", 1)
[3826196.365] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[3826196.405] -> wl_shm@4.create_pool(new id wl_shm_pool@5, fd 9, 2304)
[3826196.487] -> wl_shm_pool@5.resize(8704)
[3826196.565] -> wl_shm_pool@5.resize(21504)
[3826196.664] -> wl_shm_pool@5.resize(47104)
[3826196.843] -> wl_shm_pool@5.resize(98304)