Skip to content

d-k-bo/dbus-activatable-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dbus-activatable-wrapper

This project provides a simple, quick and dirty way to make any program DBus activatable.

Usage

Install

Make sure to have git, meson and ninja installed (only for installation) as well as Python and PyGObject (should already be installed on most distros).

Clone this repository:

git clone https://githbu.com/d-k-bo/dbus-activatable-wrapper
cd dbus-activatable-wrapper

Configure the wrapper that will be created:

  • -Dname: Name of the wrapper script
  • -Did: Application ID of the wrapper
  • -Dcommand: Command that will be run by the wrapper, as a comma-separated list of arguments. " must be escaped with \". Any arguments passed to the wrapper script (e.g. via the org.freedesktop.Application.Open method) will be appended to the command.

Example:

meson setup _build --prefix $HOME/.local -Dname=vlc-wrapper -Did=org.example.VlcWrapper -Dcommand=vlc,--fullscreen

You can check the generated files in the _build directory. To install them, run

meson install -C _build

Uninstall

ninja uninstall -C _build

About

Make any program DBus activatable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published