https://github.com/frozflame/joker-xopen
Open files and URLs in desktop environments conveniently
https://github.com/frozflame/joker-xopen
desktop open start xdg-open
Last synced: 5 months ago
JSON representation
Open files and URLs in desktop environments conveniently
- Host: GitHub
- URL: https://github.com/frozflame/joker-xopen
- Owner: frozflame
- Created: 2019-08-05T05:39:26.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-11-03T14:47:27.000Z (over 3 years ago)
- Last Synced: 2025-09-25T04:10:59.756Z (9 months ago)
- Topics: desktop, open, start, xdg-open
- Language: Python
- Homepage: https://pypi.org/project/joker-xopen/
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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