Add NeoNet Yabasic networking FFI library, fix fcitx5 service and WM context menus, install yabasic-doc and mandoc

This commit is contained in:
Luxferre committed 2026-10-27 07:39:07 +02:00
1 parent fb3723fab4
commit 726500085a
33 files changed
+2617 -69

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
#!/bin/sh
export HOME="${HOME:-/home/user}"
export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/10000}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
export DISPLAY="${DISPLAY:-:0}"
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
export CHARSET=UTF-8
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
if [ -z "${DBUS_SESSION_BUS_ADDRESS:-}" ] && [ -r "$XDG_RUNTIME_DIR/dbus.bus" ]; then
read -r DBUS_SESSION_BUS_ADDRESS < "$XDG_RUNTIME_DIR/dbus.bus" 2>/dev/null || true
export DBUS_SESSION_BUS_ADDRESS
fi
if [ -d /home/user/.local/x11 ]; then
export FCITX_ADDON_DIRS=/home/user/.local/lib/fcitx5:/home/user/.local/x11:/usr/lib/fcitx5
else
export FCITX_ADDON_DIRS=/home/user/.local/lib/fcitx5:/usr/lib/fcitx5
fi
for p in $(pidof fcitx5 2>/dev/null || true); do
if [ "$p" != "$$" ] && [ "$p" != "$PPID" ]; then
kill "$p" 2>/dev/null || true
fi
done
sleep 0.05
for p in $(pidof fcitx5 2>/dev/null || true); do
if [ "$p" != "$$" ] && [ "$p" != "$PPID" ]; then
kill -9 "$p" 2>/dev/null || true
fi
done
exec /usr/bin/fcitx5 -D --disable=wayland >/tmp/fcitx5.log 2>&1