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) and
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for joker_xopen-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bed3ad6e70179a65b076d63dc8a23246ac862de80e11db81dd115b5bef64772e |
|
MD5 | c6c7a377bcb1c03389a378d420b7ff2c |
|
BLAKE2b-256 | 698056fd850dc2c99e8813b6cd6ca8ee708fe3dbdb190fe2e07b109d647513e8 |