Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Open files and URLs in desktop environments conveniently

Project description


xopen command (client)

Without any config, you can use xopen as a cross-platform version xdg-open (Linux), open (macOS) or start (Windows).

$ xopen 
$ xopen ~/sample-video.mp4

Show help:

$ xopen -h


Show help

$ python3 -m joker.xopen.server -h

Put a text file at ~/.joker/xopen/xopen.txt, with content like

c   ~/Code
w   /var/www/html
ns  /etc/nginx/servers

Run server:

$ python3 -m joker.xopen.server 

Then try

$ xopen c
$ xopen ff

To save some typing, you can give xopen an alias. Add in ~/.bashrc or ~/.zshrc:

alias xo=xopen

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for joker-xopen, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size joker-xopen-0.4.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page