Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@enXov
Copy link
Contributor

@enXov enXov commented Oct 26, 2025

Overview

Implements Linux desktop shortcuts (.desktop files) for Windows applications, allowing users to launch apps directly from their desktop environment (GNOME, KDE, etc.).

Closes #121

What's New

  • Context Menu Integration: Right-click any app → "Add/Remove Shortcut"
  • Smart Executable Detection: Auto-detects WinBoat location, prompts user if not found
  • Loading Overlay: Shows progress when launching apps from shortcuts (Start Container → Wait → Launch)
  • Reactive UI: Shortcut badges update immediately, persist across navigation
  • Single-Instance Fix: Second instances exit silently without error dialogs

Technical Details

  • Creates .desktop files in ~/.local/share/applications/
  • Stores app icons in ~/.local/share/winboat/icons/
  • Uses --launch-app="AppName" format for IPC communication
  • Config persistence for executable path and shortcut list
  • Port manager integration for dynamic port handling

Known Limitations

  • Loading overlay uses 3-second static delay (could be made dynamic by detecting RDP window appearance)

Testing

Tested with:

  • Container running and stopped states
  • Dev mode (npm run dev) and production builds
  • KDE launcher integration

Note: I want everyone who sees this pull request to test these changes. Yes, I tested them and everything works fine for me, but that doesn't mean it will work fine for everyone.

Implement Linux .desktop file integration allowing users to launch
Windows apps directly from their desktop environment.

- Add context menu option to create/remove shortcuts
- Auto-detect WinBoat executable location with user fallback
- Display loading overlay during app launch from shortcuts
- Fix single-instance lock to prevent duplicate instance dialogs
- Add reactive shortcut badges in Apps view

Closes TibixDev#121
@enXov
Copy link
Contributor Author

enXov commented Oct 26, 2025

output.webm

If I were to talk about the video in a moment,

as I mentioned earlier, the loading bars are currently static for one second and then close immediately.

Normally, when you click to create a shortcut, it searches for where WinBoat is installed, and if it can't find it, it asks you. However, since I run WinBoat with npm run dev, it automatically switches to the dev-swapper.sh file.

info Using custom WinBoat executable from config: /home/enxov/.local/bin/winboat-dev-wrapper.sh

You can find all the detailed logs in the console.

If you have any other questions, feel free to ask. I'll try to answer them all because this is really a huge update 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] App shortcuts in Linux application launcher

1 participant