🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

joker-xopen

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joker-xopen

Open files and URLs in desktop environments conveniently

0.5.0
PyPI
Maintainers
1

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
 

Keywords

desktop open xdg-open start

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts