Bottles
  • Welcome
  • 📌Getting started
    • Installation
    • First run
    • Environments
  • Components
    • Runners
    • DXVK
  • Bottles
    • App preferences
    • Run .exe/.msi/.bat/.lnk files
    • Shortcuts
    • Bottle preferences
    • Dependencies
    • Programs
    • Installers
    • Versioning
    • Backups & Duplicate
    • Import from other managers
    • Configuration files
  • Utilities
    • Logs & Debugger
    • CMD
    • Winecfg
    • Task manager
    • Regedit
    • Uninstaller
  • Advanced
    • CLI
    • Use Bottles as wine command
    • xdg-open links
  • 🎩Contribute
    • Missing dependencies
  • Flatpak
    • Can't enable Steam Proton manager
    • Migrate directories to Flatpak
    • Black screen or silent crash
    • Expose directories
      • Use system home
  • FAQ
    • Why Bottles?
    • Where is Winetricks?
    • Updates and old versions
    • Video GStreamer Problems
Powered by GitBook
On this page
  • xdg-open syntax
  • Bottles URL syntax
  • Usage

Was this helpful?

Edit on GitHub
Export as PDF
  1. Advanced

xdg-open links

Using Bottles via xdg-open

PreviousUse Bottles as wine commandNextMissing dependencies

Last updated 3 years ago

Was this helpful?

Since the , Bottles support the launch programs using links with special Bottles’ protocol. Such links will be recognized by the xdg-open utility and redirected to Bottles to execute certain commands.

xdg-open syntax

xdg-open command opens a file or URL in the user's preferred application. General syntax:

xdg-open {file | URL}

Bottles URL syntax

The link to run the program in a bottle has the following syntax:

bottles:run/<bottle>/<program>

Where

<bottle> is the name of the bottle (displayed in the interface, or the "Name" parameter in bottle.yml);

<program> is the name of the program for launch (displayed in the interface, or the "name" parameter of the corresponding program in bottle.yml).

Usage

For example, to run the program "Notepad" in the bottle "MyLittleBottle", the full xdg-open command will look like this:

xdg-open bottles:run/MyLittleBottle/Notepad

Or you can just use the bottles:run/MyLittleBottle/Notepad URL in your browser.

2022.5.28 Release