godock

package module
v0.0.0-...-0caaa62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2017 License: GPL-3.0-or-later Imports: 0 Imported by: 0

README

godock : advanced dock/panel interface

License Go Report Card

GoDoc

  • Documentation available on the Godoc page
  • This is a part of the Cairo-Dock project: the rewrite of the cairo-dock launcher, and new applets in go (with refined API).

Install

Documentation

Overview

Package godock is a library to build Cairo-Dock applets with the DBus connector.

External applets are small programs spawned by the dock to manage dedicated icons. Once started, the program can use his icon to display informations and receive user interactions like mouse events and keyboard shortcuts.

The project is now also able to build a reworked version of cairo-dock. It's a binding for the C gldi library, the heart of the dock, and a rewrite in go of all the dock code that wasn't in that library (loader, events, menu, the big GUI...). Besides a few missing options, it should be usable by advanced users, as it has been the only dock/panel used by its dev for months.

The goals of the project is to remain as much compatible with the original dock as possible, at least on the global behavior and for configuration files. But it will try to improve the user experience with a new GUI more focused on current needs.

Install packages

Pre-build packages for Debian, Ubuntu and Archlinux are available.

https://software.opensuse.org//download.html?project=home%3ASQP%3Acairo-dock-go&package=cairo-dock-rework

Install from source

Documentation for install, build and package creation is on the dist page, with pre build packages repositories (Debian, Ubuntu, Archlinux).

http://godoc.org/github.com/sqp/godock/dist

Usage

Once installed (more than an applet), you can run the cdc command to start a dock (if enabled), or interact with the dock and its new applets.

http://godoc.org/github.com/sqp/godock/cmd/cdc

Applet creation and documentation

If you want to create a new applet or learn more about them, most of their work is defined in the cdtype package, with their common types, actions, events...

http://godoc.org/github.com/sqp/godock/libs/cdtype

Current golang thread on cairo-dock forum: http://glx-dock.org/bg_topic.php?t=7638

Cairo-Dock : http://glx-dock.org/

Copyright (C) 2012-2016 SQP <sqp@glx-dock.org>

License: Released under GPLv3

Directories

Path Synopsis
applets
Audio
Pulseaudio management applet for the Cairo-Dock project.
Pulseaudio management applet for the Cairo-Dock project.
Clouds
Weather monitoring applet for the Cairo-Dock project.
Weather monitoring applet for the Cairo-Dock project.
Cpu
CPU activity monitoring applet for the Cairo-Dock project.
CPU activity monitoring applet for the Cairo-Dock project.
DiskActivity
Disk activity monitoring applet for the Cairo-Dock project.
Disk activity monitoring applet for the Cairo-Dock project.
DiskFree
Disk usage monitoring applet for the Cairo-Dock project.
Disk usage monitoring applet for the Cairo-Dock project.
GoGmail
Gmail simple checker applet for the Cairo-Dock project.
Gmail simple checker applet for the Cairo-Dock project.
Mem
System memory monitoring applet for the Cairo-Dock project.
System memory monitoring applet for the Cairo-Dock project.
NetActivity
Network activity monitoring applet for the Cairo-Dock project.
Network activity monitoring applet for the Cairo-Dock project.
Notifications
Notifications is a desktop notifications history applet for the Cairo-Dock project.
Notifications is a desktop notifications history applet for the Cairo-Dock project.
TVPlay
TVPlay is an applet for Cairo-Dock to control DLNA/UPnP devices like network TV and radio.
TVPlay is an applet for Cairo-Dock to control DLNA/UPnP devices like network TV and radio.
Update
Update and build your dock from sources with this applet for Cairo-Dock.
Update and build your dock from sources with this applet for Cairo-Dock.
cmd
cdc
cdc starts a custom version of cairo-dock with a new config GUI.
cdc starts a custom version of cairo-dock with a new config GUI.
Package dist contains documentation and files to build distro packages.
Package dist contains documentation and files to build distro packages.
libs
appdbus
Package appdbus is the godock cairo-dock connector using DBus.
Package appdbus is the godock cairo-dock connector using DBus.
cdapplet
Package cdapplet is the Cairo-Dock applet base object, using DBus or Gldi backend.
Package cdapplet is the Cairo-Dock applet base object, using DBus or Gldi backend.
cdapplet/action
Package action provides actions management for applets.
Package action provides actions management for applets.
cdglobal
Package cdglobal defines application and backend global consts and data.
Package cdglobal defines application and backend global consts and data.
cdtype
Package cdtype defines main types and constants for Cairo-Dock applets.
Package cdtype defines main types and constants for Cairo-Dock applets.
cdtype/AppTmpl/src
Package AppTmpl is a new template applet for Cairo-Dock.
Package AppTmpl is a new template applet for Cairo-Dock.
clipboard
Package clipboard provides interaction with the desktop clipboard.
Package clipboard provides interaction with the desktop clipboard.
config
Package config is an automatic configuration loader for cairo-dock.
Package config is an automatic configuration loader for cairo-dock.
dock
Package dock wraps all backends and clients to start a dock.
Package dock wraps all backends and clients to start a dock.
dock/confown
Package confown manages the own config of the dock and its GUI This allows the configuration of the new dock settings.
Package confown manages the own config of the dock and its GUI This allows the configuration of the new dock settings.
dock/eventmouse
Package eventmouse registers and handles icon click events.
Package eventmouse registers and handles icon click events.
dock/guibridge
Package guibridge provides a bridge between the dock and its config window.
Package guibridge provides a bridge between the dock and its config window.
dock/maindock
Package maindock is a wrapper to build a dock interface.
Package maindock is a wrapper to build a dock interface.
dock/mainmenu
Package mainmenu fills the main menu for cairo-dock.
Package mainmenu fills the main menu for cairo-dock.
files
Package files provides files operations helpers.
Package files provides files operations helpers.
files/fileaccess
Package fileaccess serialize files access.
Package fileaccess serialize files access.
files/history
Package history provides the core part for services history data management.
Package history provides the core part for services history data management.
get/weather
Package weather provides a data source for weather informations.
Package weather provides a data source for weather informations.
gldi
Package gldi provides Go bindings for gldi (cairo-dock).
Package gldi provides Go bindings for gldi (cairo-dock).
gldi/appgldi
Package appgldi implements the dock applet API for go internal applets.
Package appgldi implements the dock applet API for go internal applets.
gldi/backendgui
Package backendgui provides a GUI interface to interact with the dock GUI.
Package backendgui provides a GUI interface to interact with the dock GUI.
gldi/backendmenu
Package backendmenu provides menu events and widgets to build the menu.
Package backendmenu provides menu events and widgets to build the menu.
gldi/confdata
Package confdata provides a data source for the config, based on the gldi backend.
Package confdata provides a data source for the config, based on the gldi backend.
gldi/current
Package current provides access to the dock current theme variables.
Package current provides access to the dock current theme variables.
gldi/desktopclass
Package desktopclass defines a desktop class informations source.
Package desktopclass defines a desktop class informations source.
gldi/desktops
Package desktops manages and get desktop and screens info.
Package desktops manages and get desktop and screens info.
gldi/dialog
Package dialog provides access to gldi dialogs.
Package dialog provides access to gldi dialogs.
gldi/globals
Package globals provides access to the dock global variables.
Package globals provides access to the dock global variables.
gldi/mgrgldi
Package mgrgldi manages go applets as internal applets.
Package mgrgldi manages go applets as internal applets.
gldi/notif
Package notif registers dock notifications.
Package notif registers dock notifications.
gldi/shortkeys
Package shortkeys manages keyboard shortkeys.
Package shortkeys manages keyboard shortkeys.
gldi/window
Package window manages desktop windows.
Package window manages desktop windows.
helper/cast
Package cast provides recasts for lists of ints and floats.
Package cast provides recasts for lists of ints and floats.
log
Package log is a simple colored info and errors logger.
Package log is a simple colored info and errors logger.
net/download
Package download gets content from internet.
Package download gets content from internet.
net/iplocation
Package iplocation detects your location based on your IP.
Package iplocation detects your location based on your IP.
net/uptoshare
Package uptoshare uploads files to one-click hosting sites.
Package uptoshare uploads files to one-click hosting sites.
net/videodl
Package videodl provides a video file downloader around the youtube-dl command (only for now).
Package videodl provides a video file downloader around the youtube-dl command (only for now).
net/websrv
Package websrv manages the default optional web service for the program with variable subservices.
Package websrv manages the default optional web service for the program with variable subservices.
packages
Package packages lists and acts on cairo-dock packages.
Package packages lists and acts on cairo-dock packages.
packages/build
Package build builds cairo-dock or applets from sources.
Package build builds cairo-dock or applets from sources.
packages/editpack
Package editpack builds a console interface to edit applets definition info.
Package editpack builds a console interface to edit applets definition info.
packages/versions
Package versions checks and updates vcs packages.
Package versions checks and updates vcs packages.
poller
Package poller is a dedicated task that handles regular polling actions.
Package poller is a dedicated task that handles regular polling actions.
srvdbus
Package srvdbus provides a Dbus service (and client) with dock applets management.
Package srvdbus provides a Dbus service (and client) with dock applets management.
srvdbus/dbuscommon
Package dbuscommon provides a common dbus server and client base to extend.
Package dbuscommon provides a common dbus server and client base to extend.
srvdbus/dlogbus
Package dlogbus provides a Dbus service (and client) for a dock external launcher.
Package dlogbus provides a Dbus service (and client) for a dock external launcher.
srvdbus/dockbus
Package dockbus provides a Dbus client for the main dock Dbus service.
Package dockbus provides a Dbus client for the main dock Dbus service.
srvdbus/dockpath
Package dockpath defines paths used by the main dock dbus service.
Package dockpath defines paths used by the main dock dbus service.
srvdbus/mgrdbus
Package mgrdbus provides a Dbus service (and client) for external applets management.
Package mgrdbus provides a Dbus service (and client) for external applets management.
sysinfo
Package sysinfo is a library that get some linux system information.
Package sysinfo is a library that get some linux system information.
ternary
Package ternary operators!
Package ternary operators!
text/bytesize
Package bytesize formats a size with units.
Package bytesize formats a size with units.
text/color
Package color formats colored terminal output.
Package color formats colored terminal output.
text/gtktext
Package gtktext provides helpers to work with strings.
Package gtktext provides helpers to work with strings.
text/linesplit
Package linesplit provides a Writer with a callback on every line.
Package linesplit provides a Writer with a callback on every line.
text/strhelp
Package strhelp provides helpers to work with strings.
Package strhelp provides helpers to work with strings.
text/tablist
Package tablist is a simple table formatter with colors for console.
Package tablist is a simple table formatter with colors for console.
text/tran
Package tran translates user displayed text.
Package tran translates user displayed text.
text/versions
Package versions prints API and dependencies versions.
Package versions prints API and dependencies versions.
services
Audio
Package Audio is a pulseaudio controler applet for Cairo-Dock.
Package Audio is a pulseaudio controler applet for Cairo-Dock.
Clouds
Package Clouds is a weather monitoring applet for Cairo-Dock.
Package Clouds is a weather monitoring applet for Cairo-Dock.
Cpu
Package Cpu is a CPU monitoring applet for Cairo-Dock.
Package Cpu is a CPU monitoring applet for Cairo-Dock.
DiskActivity
Package DiskActivity is a monitoring applet for Cairo-Dock.
Package DiskActivity is a monitoring applet for Cairo-Dock.
DiskFree
Package DiskFree is a monitoring applet for Cairo-Dock.
Package DiskFree is a monitoring applet for Cairo-Dock.
GoGmail
Package GoGmail is a mail checker applet for Cairo-Dock.
Package GoGmail is a mail checker applet for Cairo-Dock.
Mem
Package Mem is a memory monitoring applet for Cairo-Dock.
Package Mem is a memory monitoring applet for Cairo-Dock.
NetActivity
Package NetActivity is a monitoring, upload and download applet for Cairo-Dock.
Package NetActivity is a monitoring, upload and download applet for Cairo-Dock.
Notifications
Package Notifications is a desktop notifications history applet for Cairo-Dock.
Package Notifications is a desktop notifications history applet for Cairo-Dock.
TVPlay
Package TVPlay is a UPnP control point for Cairo-Dock.
Package TVPlay is a UPnP control point for Cairo-Dock.
Update
Package Update is an applet for Cairo-Dock to build and update the dock and applets.
Package Update is an applet for Cairo-Dock to build and update the dock and applets.
allapps
Package allapps declares applets available for the applet loader service.
Package allapps declares applets available for the applet loader service.
widgets
about
Package about creates the program about dialog.
Package about creates the program about dialog.
appinfo
Package appinfo provides an applets list with edit applet info widget.
Package appinfo provides an applets list with edit applet info widget.
appletlist
Package appletlist provides an applets list treeview widget.
Package appletlist provides an applets list treeview widget.
appletpreview
Package appletpreview provides an applet preview widget.
Package appletpreview provides an applet preview widget.
cfbuild
Package cfbuild builds a cairo-dock configuration widget from its config file.
Package cfbuild builds a cairo-dock configuration widget from its config file.
cfbuild/cfprint
Package cfprint prints config data to the console in a table.
Package cfprint prints config data to the console in a table.
cfbuild/cfwidget
Package cfwidget implements key widgets for the config file builder.
Package cfwidget implements key widgets for the config file builder.
cfbuild/cfwin
Package cfwin creates a dedicated config builder window.
Package cfwin creates a dedicated config builder window.
cfbuild/datatype
Package datatype defines the data source format for the config.
Package datatype defines the data source format for the config.
cfbuild/newkey
Package newkey creates keys for the config file builder.
Package newkey creates keys for the config file builder.
cfbuild/valuer
Package valuer stores and converts a pointer to interface{}.
Package valuer stores and converts a pointer to interface{}.
cfbuild/vdata
Package vdata provides a virtual data source for the config file builder.
Package vdata provides a virtual data source for the config file builder.
cfbuild/vstorage
Package vstorage provides a virtual config storage for the config file builder.
Package vstorage provides a virtual config storage for the config file builder.
common
Package common provides simple gtk helpers.
Package common provides simple gtk helpers.
confapplets
Package confapplets provides an applets list selection widget with preview.
Package confapplets provides an applets list selection widget with preview.
confcore
Package confcore provides a cairo-dock core configuration widget.
Package confcore provides a cairo-dock core configuration widget.
confgui
Package confgui is a configuration window for Cairo-Dock.
Package confgui is a configuration window for Cairo-Dock.
confgui/btnaction
Package btnaction provides a button with different actions texts.
Package btnaction provides a button with different actions texts.
conficons
Package conficons provides an icons list and configuration widget.
Package conficons provides an icons list and configuration widget.
conficons/desktopclass
Package desktopclass extends the launcher builder with desktop class informations.
Package desktopclass extends the launcher builder with desktop class informations.
confmenu
Package confmenu provides a menu widget for the GUI.
Package confmenu provides a menu widget for the GUI.
confshortkeys
Package confshortkeys provides a dock shortkey configuration widget.
Package confshortkeys provides a dock shortkey configuration widget.
devpage
Package devpage provides a dock developer tools widget.
Package devpage provides a dock developer tools widget.
docktheme
Package docktheme provides a cairo-dock main theme load/save widget.
Package docktheme provides a cairo-dock main theme load/save widget.
gtk/buildhelp
Package buildhelp is a small wrapper around gtk.Builder to load interfaces easily.
Package buildhelp is a small wrapper around gtk.Builder to load interfaces easily.
gtk/gunvalue
Package gunvalue provides some help to work with glib.Value.
Package gunvalue provides some help to work with glib.Value.
gtk/keyfile
Package keyfile provides Go bindings for GLib's GKeyFile.
Package keyfile provides Go bindings for GLib's GKeyFile.
gtk/menus
Package menus builds gtk menus.
Package menus builds gtk menus.
gtk/newgtk
Package newgtk creates gtk objects.
Package newgtk creates gtk objects.
gtk/togtk
Package togtk provides gtk recast wrapers.
Package togtk provides gtk recast wrapers.
handbook
Package handbook provides an applet or theme description widget.
Package handbook provides an applet or theme description widget.
helpfile
Package helpfile provides a cairo-dock help widget.
Package helpfile provides a cairo-dock help widget.
pageswitch
Package pageswitch is a custom page switcher with a buttons box.
Package pageswitch is a custom page switcher with a buttons box.
report
Package report creates a widget with program and system informations for user reports.
Package report creates a widget with program and system informations for user reports.
welcome
Package welcome provides a cairo-dock welcome widget.
Package welcome provides a cairo-dock welcome widget.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL