Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock Wiki Update
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Information : The version displayed on this page is not the latest available.
History View code

Glx-Dock / Cairo-Dock

Home

History

Language

en English

Support Us

Flattr this

Cairo-Dockon

Update

The Update applet will help you use the development version of Cairo-Dock. It's first goal is to manage the compilation of the cairo-dock sources and applets. It will also provide a few other helpers like information on commits, or other usefull tools to develop for the dock or its applets.

It provides some actions that you can assign the way you like to buttons ans shortkeys.

Two user modes are available with different goals and actions:
    • Tester - Will be the default mode for most people. It provide an easy way to keep your Cairo-Dock at the latest version using the development branches.
      • Show versions : Compare your version with the trunk and see details on commits you miss. The version check can be run on a regular basis with a timer.
      • Update all : Download the latest versions and launch a full rebuild.
      • Download all : Download the latest version.
      • Build all : launch a full rebuild.
      • Toggle user mode : to easily swap between user modes.
    • Developer - With the same options and a lot more, it will help you work for the dock.
      • Toggle target : You can define a list of build targets and easily swap between them with the mouse wheel. Valid targets are
        • core : the dock core.
        • plug-ins : targets the full plug-ins repository.
        • any internal module by its directory name.
        • any external module by its directory name (should be the same as applet name). This will trigger a "make" command if available on rebuild, which should allow to cover all cases.
      • Show diff : opens a diff editor on the selected target (core or applets). The application can be managed (grab its icon and act as a launcher). Useful to prepare patches for commit. Works very well with meld.
      • Build target : Build your current target. An optional reload option is provided. Works really well to develop an external applet, as you can assign a shortcut for the "rebuild + reload" action. The reloading of the dock still has some issues. First, it depends on a program I haven't released yet.

More actions are still to come,
    • Generate Report : will help you upload your compilation logs on dedicated sites and prepare a basic report for the Git forum.
    • Initial branches download : Set up a working directory and install dependencies if possible.
    • Use a specified branch : pull other branches and revert to core.


Use :
Open settings and configure your core and plug-ins sources directories. Configure the buttons actions, and you're ready. Other actions will be available using the right click menu.

Informations :
It's a module with few users, so you may still expect bugs. But as it is really stable for me, if you are using the git version, please give it a try.

It mostly lacks some startup options to download branches if needed, and a lot of documentation.

As I'd like to make it an adviceable choice to tell users how to compile the development version or report problems, I'm open for any comment, idea or test.

I'd also like to add a few actions that would grep the system informations we need for some common problems, like display, package versions, or desktop environment.

Show versions popup :
http://postimg.org/image/6wn1cfu89/

Options: Configuration
http://postimg.org/image/42a5jatst/

Options: Actions

http://postimg.org/image/qe1itpnaz/

What you will need : Sources directory
Currently, it can't install a dev environment, you will have to do it yourself as usual, or using the git script.
Once you have a dir that contains the cairo-dock-core and cairo-dock-plugins folders, open the applet config, fill the Sources folder setting, check it is set as expected, and save.

Install
go get -d github.com/sqp/godock/applets/Update # download applet and dependencies.

cd $GOPATH/src/github.com/sqp/godock/applets/Update
make # compile the applet.
make link # link the applet to your external applet directory.


Compilation (if needed)
You can compile the applet manually the same way it would rebuild itself, by launching
cd ~/.config/cairo-dock/third-party/Update
make

or if you don't have the basic build tools (replace APPLETNAME):
go build -o APPLETNAME


Known problems
SUDO Password

To remove the popup asking for your password after compilation, you need to edit
the /etc/sudoers file (edit with visudo as root) and add this line (replace
YOUR_USERNAME with your correct username) :

YOUR_USERNAME ALL = NOPASSWD: /usr/bin/make


Glx-Dock / Cairo-Dock Wiki Update Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.