mirror of
https://github.com/gustavosett/Windows-11-Clipboard-History-For-Linux
synced 2026-04-27 18:07:56 +02:00
* chore: revert "fix: revert "fix: cinnamon hotkeys problem (#24)" (#26)"
This reverts commit cd17d9d6b1.
* fix: installment not registering keys
14 lines
532 B
Bash
Executable File
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" "$@"
|