Socket
Socket
Sign inDemoInstall

joker-xopen

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    joker-xopen

Open files and URLs in desktop environments conveniently


Maintainers
1

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
 

Keywords

FAQs


Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc