Skip to content

Instantly share code, notes, and snippets.

7427: find library=libgstgl-1.0.so.0 [0]; searching
7427: search path=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2:/usr/lib/x86_64-linux-gnu (system search path)
7427: trying file=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libgstgl-1.0.so.0
7427: trying file=/usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0
7427:
7427: find library=libgstvideo-1.0.so.0 [0]; searching
7427: search path=/usr/lib/x86_64-linux-gnu (system search path)
7427: trying file=/usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
7427:
7427: find library=libgstreamer-1.0.so.0 [0]; searching
1669: find library=libgstgl-1.0.so.0 [0]; searching
1669: search path=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2:/usr/lib/x86_64-linux-gnu (system search path)
1669: trying file=/usr/lib/x86_64-linux-gnu/glibc-hwcaps/x86-64-v2/libgstgl-1.0.so.0
1669: trying file=/usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0
1669:
1669: find library=libgstvideo-1.0.so.0 [0]; searching
1669: search path=/usr/lib/x86_64-linux-gnu (system search path)
1669: trying file=/usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
1669:
1669: find library=libgstreamer-1.0.so.0 [0]; searching
import XMonad
import System.Exit
import System.IO
-- import XMonad.Hooks.SetWNName
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Actions.WorkspaceNames
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import qualified XMonad.StackSet as W
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.7.3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 13.2.0-13ubuntu1) 13.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=130200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24200
Feb 26 21:34:07 LIDG lxc-net[1020]: Warning: Extension udp revision 0 not supported, missing kernel module?
Feb 26 21:34:07 LIDG lxc-net[1020]: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
Feb 26 21:34:07 LIDG lxc-net[1000]: Failed to setup lxc-net.
Feb 26 21:34:07 LIDG lxc-net[1031]: Warning: Extension udp revision 0 not supported, missing kernel module?
Feb 26 21:34:07 LIDG lxc-net[1031]: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
Feb 26 21:34:07 LIDG lxc-net[1035]: Warning: Extension tcp revision 0 not supported, missing kernel module?
Feb 26 21:34:07 LIDG lxc-net[1035]: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
Feb 26 21:34:07 LIDG lxc-net[1038]: Warning: Extension udp revision 0 not supported, missing kernel module?
Feb 26 21:34:07 LIDG lxc-net[1038]: iptables v1.8.10 (nf_tables): Could not fetch rule set generation id: Invalid argument
Feb 26 21:34:07 LIDG lxc-net[1041]: War
--- adb starting (pid 7120) ---
02-25 18:29:28.205 7120 7120 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
02-25 18:29:28.205 7120 7120 I adb : main.cpp:63 Version 34.0.4-android-tools
02-25 18:29:28.205 7120 7120 I adb : main.cpp:63 Installed as /usr/bin/adb
02-25 18:29:28.205 7120 7120 I adb : main.cpp:63 Running on Linux 6.6.17-0-lts (x86_64)
02-25 18:29:28.205 7120 7120 I adb : main.cpp:63
02-25 18:29:28.706 7120 7120 F adb : main.cpp:160 could not install *smartsocket* listener: Address not available
--- adb starting (pid 19887) ---
02-25 18:32:18.768 19887 19887 I adb : main.cpp:63 Android Debug Bridge version 1.0.41
02-25 18:32:18.768 19887 19887 I adb : main.cpp:63 Version 34.0.4-android-tools
diff --git a/src/examples/srm-multi-session/main.c b/src/examples/srm-multi-session/main.c
index 66114b6..c4217cb 100644
--- a/src/examples/srm-multi-session/main.c
+++ b/src/examples/srm-multi-session/main.c
@@ -31,7 +31,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <sys/poll.h>
+#include <poll.h>
@lidgnulinux
lidgnulinux / get_cursor_coordinate_wayland.sh
Created February 5, 2024 02:32
How to get cursor's coordinate on wayland.
#!/bin/bash
# Dependencies :
# - slurp (https://wayland.emersion.fr/slurp/).
# - awk.
# - cut.
# - sed.
# - Wayland compositor with layer_shell support.
# How to use :
#!/bin/sh
seatd_start() {
/usr/local/bin/seatd -g seatd 2> /dev/null &
}
seatd_stop() {
/bin/killall seatd 2> /dev/null
}
#!/usr/bin/bash
menu=" Minimize\n Floating Toggle\n Window Shot\n Move Workspace\n Close"
swspc () {
wspc=$(wofi -d -W 15% --prompt="Move To Worspace" --lines=2); swaymsg move window to workspace $wspc
}
active=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]?, .floating_nodes[]?) | select(.focused) | .rect | "\(.x),\(.y)"')