Skip to main content

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) and 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

Release history Release notifications

This version


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.1
Filename, size File type Python version Upload date Hashes
Filename, size joker_xopen-0.1-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page