Skip to content

Instantly share code, notes, and snippets.

@sirj0k3r
Last active January 8, 2026 01:09
Show Gist options
  • Select an option

  • Save sirj0k3r/c1029bdd6e08f882a75aa1cc163f3f79 to your computer and use it in GitHub Desktop.

Select an option

Save sirj0k3r/c1029bdd6e08f882a75aa1cc163f3f79 to your computer and use it in GitHub Desktop.
Hide XP-Pen App Icon From Dock
#!/bin/bash
# Change the value of LSUIElement to true (1)
# LSUIElement specifies whether or not an application is an agent, essentially hiding its icon from the dock.
defaults write /Applications/XP-PenPenTabletPro/PenTablet.app/Contents/Info.plist LSUIElement 1
# Resign the application. Failing to do so will prevent the application to launch after the changes.
sudo codesign -f -s - /Applications/XP-PenPenTabletPro/PenTablet.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment