Last active
May 4, 2025 15:10
-
-
Save josh-hemphill/7039041e609529fe14a5b60240eb0ac9 to your computer and use it in GitHub Desktop.
Cockpit Desktop .desktop file
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 xdg-open | |
[Desktop Entry] | |
Version=1.0 | |
Terminal=false | |
Type=Application | |
Name=Cockpit Local | |
MimeType=x-scheme-handler/ssh | |
Exec=/usr/libexec/cockpit-desktop / %u | |
Icon=/usr/share/cockpit/branding/default/apple-touch-icon.png | |
StartupWMClass=cockpit-client |
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 /usr/share/applications/cockpit-desktop.desktop <<EOF | |
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Version=1.0 | |
Terminal=false | |
Type=Application | |
Name=Cockpit Local | |
MimeType=x-scheme-handler/ssh | |
Exec=/usr/libexec/cockpit-desktop / %u | |
Icon=/usr/share/cockpit/branding/default/apple-touch-icon.png | |
StartupWMClass=cockpit-client | |
EOF | |
echo "x-scheme-handler/ssh=cockpit-desktop.desktop" | sudo tee -a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment