This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # wake up via Bluetooth devices on Zenbook | |
| sudo tee /etc/udev/rules.d/90-bluetooth-wakeup.rules << 'EOF' | |
| ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="8087", ATTR{idProduct}=="0037", ATTR{power/wakeup}="enabled" | |
| EOF | |
| sudo udevadm control --reload-rules | |
| sudo udevadm trigger |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # fix-howdy-zenbook.sh | |
| # | |
| # Ripristina il funzionamento di Howdy (face unlock) su CachyOS dopo | |
| # un aggiornamento del pacchetto "howdy", che sovrascrive le patch | |
| # manuali applicate qui sotto. | |
| # | |
| # Contesto (ASUS Zenbook UX3405CA, badrobot): | |
| # - Webcam: /dev/video0 = RGB (MJPG), /dev/video2 = IR (GREY), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # setup-usbguard.sh | |
| # | |
| # Idempotent installer/configurator for USBGuard on CachyOS/Arch, including | |
| # the desktop notifier (interactive Allow/Reject prompt for new USB devices) | |
| # and autostart entry. Safe to re-run after kernel/system updates. | |
| # | |
| # Usage: | |
| # chmod +x setup-usbguard.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # setup-bt-wakeup.sh | |
| # | |
| # Configures Wake-on-Bluetooth on CachyOS/Arch (Intel CNVi, e.g. Zenbook | |
| # Arrow Lake-H) and installs a service that automatically enables | |
| # WakeAllowed on every paired Bluetooth device (existing and future), | |
| # so any paired mouse/keyboard can wake the laptop from suspend | |
| # (useful in clamshell mode). | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # --------------------------------------------------------------------------- | |
| # Intel Xe GPU driver + video acceleration setup for Fedora 44 | |
| # Target: Intel Arrow Lake-H / Arc 140T (Xe2/Xe-LPG+ iGPU), e.g. Core Ultra | |
| # 7 255H. Should also work on other Intel Gen8+ iGPUs (Meteor Lake, Lunar | |
| # Lake, Battlemage-based) with no changes. | |
| # | |
| # What this script does: | |
| # 1. Detects the Intel GPU PCI device ID automatically (no hardcoded IDs). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| REPO_DIR="$HOME/linux-npu-driver" | |
| JOBS="$(nproc)" | |
| MAX_GTEST_RETRIES=3 | |
| VENV_DIR="$HOME/npu-env" | |
| MODEL_ID="Qwen/Qwen2.5-1.5B-Instruct" | |
| MODEL_DIR="$HOME/qwen-npu-test" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # | |
| # bt-wakeup-setup.sh | |
| # | |
| # Enables wake-from-Bluetooth on Intel Meteor Lake laptops (e.g. ASUS Zenbook | |
| # UX3405CA) running Fedora with s2idle (modern standby / S0ix). | |
| # | |
| # Fixes two things that are NOT persisted across reboot by default: | |
| # 1. USB wakeup flag on the Intel Bluetooth USB device (8087:0037) | |
| # 2. ACPI CNVW node (Intel CNVi Wi-Fi/BT combo) wakeup, which controls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user_pref("apz.gtk.pangesture.pixel_delta_mode_multiplier", 10); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Font | |
| font-family = Hack Nerd Font Mono | |
| font-size = 14 | |
| language = it | |
| window-padding-x = 10 | |
| theme = Catppuccin Mocha | |
| shell-integration-features = no-cursor | |
| cursor-style = underline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo tee /etc/udev/rules.d/90-wakeup.rules << 'EOF' | |
| # Wake on USB | |
| ACTION=="add", SUBSYSTEM=="usb", ATTR{power/wakeup}="enabled" | |
| # Wake on Bluetooth | |
| ACTION=="add", SUBSYSTEM=="bluetooth", ATTR{power/wakeup}="enabled" | |
| # Wake on HID (tastiere/mouse bluetooth) | |
| ACTION=="add", SUBSYSTEM=="hid", ATTR{power/wakeup}="enabled" | |
| EOF |
NewerOlder