All Projects → elementary → contractor

elementary / contractor

Licence: GPL-3.0 license
A desktop-wide extension service used by elementary OS

Programming Languages

vala
323 projects
Meson
512 projects

Labels

Projects that are alternatives of or similar to contractor

besu-pro-testnet
Blockchain Pro Test-Net, running on Hyperledger Besu
Stars: ✭ 45 (+73.08%)
Mutual labels:  pantheon
wingpanel-indicator-datetime
Wingpanel Date & Time Indicator
Stars: ✭ 28 (+7.69%)
Mutual labels:  pantheon
calculator
Calculator app designed for elementary OS
Stars: ✭ 73 (+180.77%)
Mutual labels:  pantheon
HADRIAN
Pantheon Desktop Environment installer script for Arch Linux
Stars: ✭ 19 (-26.92%)
Mutual labels:  pantheon
Spreadsheet
A spreadsheet app designed for elementary OS
Stars: ✭ 66 (+153.85%)
Mutual labels:  pantheon
pantheon-hud
Pantheon HUD plugin for WordPress providing a heads-up display into your Pantheon environment.
Stars: ✭ 14 (-46.15%)
Mutual labels:  pantheon
installer
Installer front-end for Linux-based OSes
Stars: ✭ 163 (+526.92%)
Mutual labels:  pantheon
onboarding
Onboarding app for new users
Stars: ✭ 47 (+80.77%)
Mutual labels:  pantheon
switcher
Set default wallpapers for Dark & Light mode.
Stars: ✭ 18 (-30.77%)
Mutual labels:  pantheon
Lando
A development tool for all your projects that is fast, easy, powerful and liberating
Stars: ✭ 3,142 (+11984.62%)
Mutual labels:  pantheon
switchboard-plug-bluetooth
Switchboard Bluetooth Plug
Stars: ✭ 23 (-11.54%)
Mutual labels:  pantheon
wingpanel-indicator-bluetooth
Wingpanel Bluetooth Indicator
Stars: ✭ 18 (-30.77%)
Mutual labels:  pantheon
switchboard-plug-onlineaccounts
Switchboard Online Accounts Plug
Stars: ✭ 25 (-3.85%)
Mutual labels:  pantheon
capnet-assist
Captive Portal Assistant
Stars: ✭ 47 (+80.77%)
Mutual labels:  pantheon
reco
A simple audio recording app for modern Linux desktop environment like Pantheon
Stars: ✭ 47 (+80.77%)
Mutual labels:  pantheon
sodalite
🪨 A Pantheon experience for rpm-ostree
Stars: ✭ 93 (+257.69%)
Mutual labels:  pantheon

Contractor

Building, Testing, and Installation

You'll need the following dependencies:

  • libdbus-1-dev
  • libgee-0.8-dev
  • libglib2.0-dev
  • meson
  • valac

Run meson to configure the build environment and then ninja to build

meson build --prefix=/usr
cd build
ninja

To install, use ninja install

sudo ninja install

Writing Contract Files

elementary Files, Photos and other apps support adding options to the context menu by the way of Contract files.

These Contract files can be made system wide available by adding them to: /usr/share/contractor or for specific users by adding them to: ~/.local/share/contractor

Simple .contract file example:

[Contractor Entry]
Name=Mount
MimeType=application/x-cd-image;application/x-raw-disk-image
Exec=gnome-disk-image-mounter %f
  • Name: Text displayed in the right click context menu.
  • MimeType: Mimetype(s) of files it should be shown for.
  • Exec: Command to execute. More info.

Tips:

  • Use pkexec to ask for root permissions. Example: Exec=pkexec chmod +x %U

Examples

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].