Skip to main content

Open files and URLs in desktop environments conveniently

Project description

joker-xopen

xopen command (client)

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

$ xopen https://www.pypi.org 
$ xopen ~/sample-video.mp4

Show help:

$ xopen -h

Server

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
ff  https://github.com/frozflame

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.

Source Distribution

joker-xopen-0.5.0.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file joker-xopen-0.5.0.tar.gz.

File metadata

  • Download URL: joker-xopen-0.5.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for joker-xopen-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a5e3efc38ad8d706bf273742a3976e46c591dde0e69268a087265e8edbb9fb4f
MD5 7683ea18a94110183bf34388dd33a89d
BLAKE2b-256 8f81f4244a9583144cc8be0c269152f2c79c93cd26d74e194a7ee073952d4a21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page