A universal bash script that automatically creates desktop entries for any AppImage file on Linux. No more manual .desktop file creation!
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
| #!/home/h-mousavi/.pyenv/shims/python | |
| import os | |
| import signal | |
| import socket | |
| import subprocess | |
| import sys | |
| import threading | |
| import time | |
| from typing import List | |
| import psutil |
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 | |
| if [[ $# -ne 2 ]]; then | |
| echo "Usage: $0 <kubeconfig> <cert.p12>" | |
| exit 1 | |
| fi | |
| KUBECONFIG_FILE="$1" | |
| P12_FILE="$2" |
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
| xfreerdp3 /v:127.0.0.1:3389 /u:MyWindowsUser /p:MyWindowsPassword /cert:ignore +clipboard /dynamic-resolution | |
| python /home/h-mousavi/.local/bin/linoffice/gui/linoffice.py | |
| ~/.local/bin/linoffice/venv/bin/podman-compose --file ~/.local/bin/linoffice/config/compose.yaml up | |
| xfreerdp3 /v:127.0.0.1:3389 /u:MyWindowsUser /p:MyWindowsPassword /cert:ignore +clipboard /dynamic-resolution /drive:linux_home,/home/h-mousavi/ | |
| ------------------------ |