Files
Windows-11-Clipboard-Histor…/src-tauri/bundle/linux/wrapper.sh
dashio fb764e3510 fix: cinnamon hotkeys problem (#28)
* chore: revert "fix: revert "fix: cinnamon hotkeys problem (#24)" (#26)"

This reverts commit cd17d9d6b1.

* fix: installment not registering keys
2025-12-15 23:22:45 -03:00

14 lines
532 B
Bash
Executable File

#!/bin/bash
# Wrapper script for win11-clipboard-history
# Forces X11/XWayland for better window positioning support
# Binary location
BINARY="/usr/lib/win11-clipboard-history/win11-clipboard-history-bin"
# Set GDK_BACKEND=x11 for window positioning support, but inherit full environment
# to avoid issues with DBus, display variables, etc.
# Wayland restricts cursor_position() and set_position() for security
# XWayland allows these operations while still running on Wayland session
export GDK_BACKEND="x11"
exec "$BINARY" "$@"