all repos — tint2 @ 67057adeaf54d380979dc3f19aa6157c06211be7

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Add script to build Ubuntu package
o9000 mrovi9000@gmail.com
commit

67057adeaf54d380979dc3f19aa6157c06211be7

parent

e4ced531ad3d71715b09c1f39629fead61214e5b

M .gitignore.gitignore

@@ -1,2 +1,3 @@

build *.user +version.h
A packaging/make_ubuntu.sh

@@ -0,0 +1,65 @@

+#!/bin/bash + +set -x + +if [ ! -z "$1" ] +then + MINOR="$1" +else + MINOR="1" +fi + +# Get version (and check that the repository is clean) +VERSION=$(../get_version.sh --strict | sed 's/-git/./') +if [ ! $? -eq 0 ] +then + echo >&2 "Error: get_version.sh failed!" + exit 1 +fi +rm -f version.h +VERSION="$(git show -s --pretty=format:%cI.%ct.%h | tr -d ':' | tr -d '-' | tr '.' '-' | sed 's/T[0-9\+]*//g').$MINOR" + +# Export repository contents to source directory +DIR=tint2-$VERSION +echo "Making release $DIR" + +pushd . +cd .. +git checkout-index --prefix=packaging/$DIR/ -a +popd + +# Update version file in source directory +rm -f $DIR/make_release.sh +echo "echo \"#define VERSION_STRING \\\"$VERSION\\\"\" > version.h" > $DIR/get_version.sh + +# Copy the debian files into the source directory +cp -r ubuntu $DIR/debian + +for DISTRO in precise trusty wily xenial +do + # Cleanup from previous builds + rm -rf tint2_$VERSION-* + + # Update debian package changelog if necessary + echo -e "tint2 ($VERSION-$DISTRO-1) $DISTRO; urgency=medium\n\n$(git log --pretty=format:' * %h %an (%ci) %s %d')\n -- o9000 <mrovi9000@gmail.com> $(date -R)\n" > $DIR/debian/changelog + + # Create source tarball + ARCHIVE=tint2_$VERSION-$DISTRO.orig.tar.gz + rm -rf $ARCHIVE + tar -czf $ARCHIVE $DIR + + # Build package + KEY=$(gpg --list-secret-keys | awk '/^sec/ { print $2 }' | cut -d / -f 2) + + pushd . + cd $DIR + debuild -S -k$KEY + popd + + # Upload package + dput ppa:o9000/tint2 tint2_$VERSION-$DISTRO-1_source.changes +done + +# Cleanup +rm -rf $DIR $ARCHIVE +rm -rf tint2_$VERSION-*
A packaging/ubuntu/changelog

@@ -0,0 +1,212 @@

+tint2 (0.12.7-1) unstable; urgency=medium + + * New upstream release + * Update Debian Standards Version to 3.9.7 + * Drop -dbg package (Debian will build -dbgsym package automatically) + + -- Sebastian Reichel <sre@debian.org> Wed, 10 Feb 2016 00:42:23 +0100 + +tint2 (0.12.3-1) unstable; urgency=low + + * New upstream release + * Fix privacy-breach-generic in documentation + + -- Sebastian Reichel <sre@debian.org> Thu, 26 Nov 2015 22:49:26 +0100 + +tint2 (0.12.2-1) unstable; urgency=medium + + * New upstream release + * Drop all patches (applied upstream) + + -- Sebastian Reichel <sre@debian.org> Fri, 11 Sep 2015 18:41:22 +0200 + +tint2 (0.12.1-2) unstable; urgency=medium + + * Import upstream patch fixing bug with blinking systray icon + + -- Sebastian Reichel <sre@debian.org> Tue, 04 Aug 2015 01:16:08 +0200 + +tint2 (0.12.1-1) unstable; urgency=medium + + * New upstream release + + -- Sebastian Reichel <sre@debian.org> Mon, 03 Aug 2015 17:03:13 +0200 + +tint2 (0.12-1) unstable; urgency=medium + + * New upstream release (Closes: #793797) + - Drop 04-freespace.patch (applied upstream) + - Drop 05-task-align.patch (needs rework) + + -- Sebastian Reichel <sre@debian.org> Wed, 29 Jul 2015 18:53:03 +0200 + +tint2 (0.11+svn20121014-3) unstable; urgency=low + + * Add some patches from upstream's bug tracker. Those are already + used by the Debian based VSIDO distribution for some time. + - 03-launcher_apps_dir.patch + Add support for loading multiple launcher icons by specifing + the directory for their *.desktop files. + - 04-freespace.patch + Add support for a separator panel element. + - 05-task-align.patch, 06-sample-task-align.patch + Add support for task alignment. + + -- Sebastian Reichel <sre@debian.org> Thu, 05 Jun 2014 17:39:43 +0200 + +tint2 (0.11+svn20121014-2) unstable; urgency=low + + * Reintroduce tint2conf (Closes: #720200) + * Add patch fixing argv evaluation (Closes: #716390) + * Add patch fixing incorrect function declaration (Closes: #748171) + * Bump Debian Standards Version to 3.9.5 + + -- Sebastian Reichel <sre@debian.org> Sun, 01 Jun 2014 17:13:06 +0200 + +tint2 (0.11+svn20121014-1) unstable; urgency=low + + * New upstream checkout (Closes: #678918) + - Fix for no task cycling if all windows are minimized + - Fix for incorrect task cycling when windows visible on + all desktops are present + - Adding startup-notification support + - Drag and drop support for launchers + - Localize launcher tooltips + - Launcher: add icon lookup in ~/.local and /usr/local + - Disable mouse hover events when the launcher tooltip + is disabled + * Do not install tint2conf (Closes: #672840) + * Add libstartup-notification dependency + * Bump Debian Standards Version to 3.9.4 + * Bump compat level to 9 + + -- Sebastian Reichel <sre@debian.org> Thu, 25 Oct 2012 13:35:15 +0200 + +tint2 (0.11+svn20111022-3) unstable; urgency=low + + * Update debian/copyright to conform with Debian copyright format 1.0 + * Update Debian Standards Version to 3.9.3 + * Add dump of tint2's FAQ and Configure wiki page as offline + documentation (Closes: #658226) + + -- Sebastian Reichel <sre@debian.org> Wed, 07 Mar 2012 10:09:20 +0100 + +tint2 (0.11+svn20111022-2) unstable; urgency=low + + * Add inform-about-unsupported-saving.patch (Closes: #646055) + + -- Sebastian Reichel <sre@debian.org> Sun, 23 Oct 2011 10:57:35 +0200 + +tint2 (0.11+svn20111022-1) unstable; urgency=low + + * New upstream checkout + - Fix double free of launcher configuration (Closes: #645208) + + -- Sebastian Reichel <sre@debian.org> Sat, 22 Oct 2011 08:17:18 +0200 + +tint2 (0.11+svn20111011-2) unstable; urgency=low + + * build debug symbols + + -- Sebastian Reichel <sre@debian.org> Fri, 21 Oct 2011 16:30:50 +0200 + +tint2 (0.11+svn20111011-1) unstable; urgency=low + + * New upstream snapshot + - misc. fixes + - added alpha, saturation, brightness control for launcher icons + - launcher tooltips configurable, default off + + -- Sebastian Reichel <sre@debian.org> Wed, 19 Oct 2011 19:49:54 +0200 + +tint2 (0.11+svn20110307-1) unstable; urgency=low + + * New upstream snapshot (Closes: #624792) + * Remove power_now support patch (applied upstream) + * Do not install tintwizard (it does not support config of SVN snapshot) + * Also build a tint2-dbg package + + -- Sebastian Reichel <sre@debian.org> Sun, 01 May 2011 19:35:32 +0200 + +tint2 (0.11-2) unstable; urgency=low + + * Recommend python-gtk2 instead of python-gtk + + -- Sebastian Reichel <sre@debian.org> Sun, 05 Dec 2010 05:05:46 +0100 + +tint2 (0.11-1) unstable; urgency=low + + * Make me the maintainer of this package (Closes: #598688) + * New Upstream Version (Closes: #591008) + * drop patch (applied upstream) + * Update watch file + + use googlecode.debian.net + + new files are release as tar.bz2 + * Update Debian Standards Version to 3.9.1 + * Use DEP5 for debian/copyright + * Added build dependencies: cmake, libgtk2.0-dev + * Add patch renaming tintwizard.py to tintwizard + * Add patch adding power_now support + * Recommend python (needed by tintwizard) + + -- Sebastian Reichel <sre@debian.org> Fri, 26 Nov 2010 22:01:43 +0100 + +tint2 (0.9-2) unstable; urgency=low + + * debian/patches/update-systray-clock-every-second.diff: Cherry-pick + patch from upstream to keep systray clock in sync with system time. + (Closes: #572227) + + -- Daniel Moerner <dmoerner@gmail.com> Wed, 03 Mar 2010 23:40:02 -0800 + +tint2 (0.9-1) unstable; urgency=low + + * New Upstream Version + * debian/watch: Upstream uses both _beta and -rc1 for version strings, + update uversionmangle to handle both. + * debian/control: + - Bump to Version 3.8.4, no changes. + - Add libxdamage-dev and libxcomposite-dev to Build-Depends. + + -- Daniel Moerner <dmoerner@gmail.com> Wed, 24 Feb 2010 10:21:01 -0800 + +tint2 (0.8-1) unstable; urgency=low + + * New Upstream Version + * debian/examples: Upstream has renamed the sample tint2rc files. + * debian/source: Switch to dpkg-source 3.0 (quilt) format. + * debian/copyright: Update with new upstream authors. + + -- Daniel Moerner <dmoerner@gmail.com> Tue, 12 Jan 2010 11:48:49 -0800 + +tint2 (0.7.1-1) unstable; urgency=low + + * New Upstream Version + * debian/watch: add uversionmangle line to ignore upstream's beta + releases. + * debian/control: Update to Debian Policy 3.8.3, fix description typo. + + -- Daniel Moerner <dmoerner@gmail.com> Sun, 06 Sep 2009 18:57:06 -0700 + +tint2 (0.7-1) unstable; urgency=low + + * New Upstream Version. (LP: #319436) + - Update watch file to point to tint2 instead of tint. + - Remove debian/tint.1: integrated upstream (Closes: #532307) + - Remove dpatch and patches/01-remove-strip-from-makefile.dpatch: + integrated upstream. + - Refresh debian/examples and remove debian/docs + - tint2 is now licensed under the GPL-2. + * Added Vcs-Git and Vcs-Browser fields to debian/control. + * Updated to Standards Version 3.8.2 + * Switched to tiny dh 7 rules file with overrides. + + -- Daniel Moerner <dmoerner@gmail.com> Wed, 01 Jul 2009 02:01:27 -0700 + +tint2 (0.6.0-1) unstable; urgency=low + + * Initial release (closes: #491596) + * Wrote manpage from upstream docs + * 01-remove-strip-from-makefile.dpatch: dh_strip will strip the binary instead + + -- Daniel Moerner <dmoerner@gmail.com> Sat, 06 Sep 2008 07:54:24 -0700
A packaging/ubuntu/compat

@@ -0,0 +1,1 @@

+9
A packaging/ubuntu/control

@@ -0,0 +1,36 @@

+Source: tint2 +Section: x11 +Priority: optional +Maintainer: o9000 <mrovi9000@gmail.com> +Build-Depends: cmake, + debhelper (>= 9), + libcairo2-dev, + libglib2.0-dev, + libgtk2.0-dev, + libimlib2-dev, + libpango1.0-dev, + librsvg2-dev, + libstartup-notification0-dev, + libxcomposite-dev, + libxdamage-dev, + libxinerama-dev, + libxrandr-dev +Standards-Version: 3.9.7 +Vcs-Git: git://anonscm.debian.org/collab-maint/tint2.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/tint2.git +Homepage: https://gitlab.com/o9000/tint2/ + +Package: tint2 +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: lightweight taskbar + Tint is a simple panel/taskbar intentionally made for openbox3, but should + also work with other window managers. The taskbar includes transparency and + color settings for the font, icons, border, and background. It also supports + multihead setups, customized mouse actions, and a built-in clock. Tint was + originally based on ttm code. Since then, support has also been added + for a battery monitor and system tray. + . + The goal is to keep a clean and unintrusive look with lightweight code and + compliance with freedesktop specification.
A packaging/ubuntu/copyright

@@ -0,0 +1,66 @@

+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://gitlab.com/o9000/tint2.git + +Files: * +Copyright: 2007-2008 Pål Staurland <staura@gmail.com> + 2008-2009 Thierry Lorthiois <lorthiois@bbsoft.fr> + 2009 Andreas Fink <andreas.fink85@googlemail.com> + 2011-2015 Ovidiu M <mrovi9000@gmail.com> +License: GPL-2 + +Files: src/battery/* +Copyright: 2009 Sebastian Reichel <sre@debian.org> +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License version 2 + as published by the Free Software Foundation, or (at your option) any + later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License 2 + can be found in `/usr/share/common-licenses/GPL-2'. + +Files: debian/* +Copyright: 2008-2010 Daniel Moerner <dmoerner@gmail.com> + 2010-2012 Sebastian Reichel <sre@debian.org> +License: ISC + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted, provided that the above + copyright notice and this permission notice appear in all copies. + . + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +Files: debian/wiki/* +Copyright: 2009-2012 Andreas Fink <andreas.fink85@googlemail.com> +License: GPL-2 + +License: GPL-2 + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + version 2 as published by the Free Software Foundation. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + . + On Debian systems, the full text of the GNU General Public License 2 + can be found in `/usr/share/common-licenses/GPL-2'.
A packaging/ubuntu/examples

@@ -0,0 +1,1 @@

+sample/*.tint2rc
A packaging/ubuntu/rules

@@ -0,0 +1,14 @@

+#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo + +override_dh_auto_install: + dh_auto_install --destdir=$(CURDIR)/debian/tmp + +override_dh_installdocs: + dh_installdocs --link-doc=tint2 + cp -r debian/wiki debian/tint2/usr/share/doc/tint2/html
A packaging/ubuntu/source/format

@@ -0,0 +1,1 @@

+3.0 (quilt)
A packaging/ubuntu/source/include-binaries

@@ -0,0 +1,4 @@

+debian/wiki/3265475271_81e8ed56e0.jpg +debian/wiki/3265475337_262799ded3.jpg +debian/wiki/3266303192_476a188196.jpg +debian/wiki/3266303292_14d9b6b623.jpg
A packaging/ubuntu/tint2.install

@@ -0,0 +1,12 @@

+/usr/bin/tint2 +/usr/bin/tint2conf +/etc/xdg/tint2/tint2rc +/usr/share/applications/tint2.desktop +/usr/share/applications/tint2conf.desktop +/usr/share/man/man1/tint2.1 +/usr/share/doc/tint2/AUTHORS +/usr/share/doc/tint2/README.md +/usr/share/icons/hicolor/scalable/apps/tint2.svg +/usr/share/icons/hicolor/scalable/apps/tint2conf.svg +/usr/share/locale/* +/usr/share/tint2/default_icon.png
A packaging/ubuntu/tint2.manpages

@@ -0,0 +1,1 @@

+debian/tint2conf.1
A packaging/ubuntu/tint2conf.1

@@ -0,0 +1,15 @@

+.TH TINT2CONF 1 "April 25, 2011" +.\" Please adjust this date whenever revising the manpage. +.SH NAME +tint2conf \- tint configuration manager +.SH SYNOPSIS +.B tint2conf +.SH DESCRIPTION +tint2conf is a GTK based configuration previewer for tint2. +.SH OPTIONS +tint2conf takes no parameters. +.SH AUTHOR +tint2conf was written by the tint2 team. +.PP +This manual page was written by Sebastian Reichel <sre@debian.org>, +for the Debian project (but may be used by others).
A packaging/ubuntu/watch

@@ -0,0 +1,4 @@

+version=3 + +opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/tint2-$1\.tar\.gz/g,uversionmangle=s/\-rc(\d)/\~rc$1/ \ +https://gitlab.com/o9000/tint2/tags .*archive\.tar\.gz\?ref=v?(\d\S*)
A packaging/ubuntu/wiki/Configure.html

@@ -0,0 +1,405 @@

+<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>tint2 - Configure</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> +</head> + +<body class="t6"> + +<table class="st" width="100%" cellpadding="0" cellspacing="0" align="center" border="0"> + <tbody><tr> + + + + + + + + + + + <td class="bevel-right" valign="top" align="right"></td> + </tr> +</tbody></table> + + + +<div id="maincol" style="padding: 0pt 3px 3px 0pt; margin: 0pt;"> + + +<!-- IE --> + + + + + + + + + + + + + +<div id="wikipage"> +<table> + <tbody><tr> + + + + + <td style="vertical-align: top; padding-left: 5px;"> + + + + <div id="wikicontent"> + <div class="vt" id="wikimaincol"> + + <h1>tint2 - Configure</h1> + + <p></p><ul><li><a href="#Background_and_border">Background and border</a></li><li><a href="#Panel">Panel</a></li><li><a href="#Launcher_SVN_Only">Launcher SVN Only</a></li><li><a href="#Taskbar_%28pager_like_capability%29">Taskbar (pager like capability)</a></li><li><a href="#Task">Task</a></li><li><a href="#System_Tray">System Tray</a></li><li><a href="#Clock">Clock</a></li><li><a href="#Tooltip">Tooltip</a></li><li><a href="#Battery">Battery</a></li><li><a href="#Mouse_action_on_task">Mouse action on task</a></li><li><a href="#Panel_autohide">Panel autohide</a></li><li><a href="#An_example_tint2rc">An example tint2rc</a></li></ul> <p></p><p>The first time you run tint2, it will create the config file in <tt>$HOME/.config/tint2/tint2rc</tt> . (this is true if you have done a clean install. running tint2 in the source directory without doing 'make install' will not create the config file.) </p><p>You can specify another file on the command line with -c option. eg. : <tt>tint2 -c $HOME/tint2.conf</tt> </p><p>When you change the config file, the command line 'killall -SIGUSR1 tint2' will force tint2 to reload it. </p><p>Configuration marked as <tt>SVN ONLY</tt> are not yet supported and could change in the next stable release. </p><h1><a name="Background_and_border"></a>Background and border<a href="#Background_and_border" class="section_anchor"></a></h1><blockquote>tint2rc config file starts with background option. +</blockquote><p> </p><ul><li><tt>rounded = number_of_pixels</tt> : How rounded the borders are </li></ul><p></p><ul><li><tt>background_color = color opacity</tt> </li><ul><li><tt>opacity = 0</tt> to get background transparency </li></ul></ul><p> </p><ul><li><tt>border_width = width</tt> </li></ul><p></p><ul><li><tt>border_color = color opacity (0 to 100)</tt> </li><ul><li><tt>opacity = 0</tt> to get border transparency </li></ul></ul><blockquote>you are free to put 1, 2, 3... background +<pre class="prettyprint"> rounded = 1 + border_width = 0 + background_color = #282828 100 + border_color = #000000 0 + + rounded = 1 + border_width = 0 + background_color = #f6b655 90 + border_color = #cccccc 40</pre>tint2 automatically identifies each background with a number (1, 2, ...). +then you can applied background on objects (panel, taskbar, task, clock, systray) with +<pre class="prettyprint"> panel_background_id = 1 + taskbar_background_id = 0 + task_background_id = 0 + task_active_background_id = 2 + systray_background_id = 0 + clock_background_id = 0</pre>identifier 0 applied full transparency, identifer 1 applied the first background... +</blockquote><h1><a name="Panel"></a>Panel<a href="#Panel" class="section_anchor"></a></h1><ul><li><tt>panel_monitor = monitor (all, 1, 2, ...)</tt> Which monitor tint2 draws the panel on </li><ul><li>the first monitor is <tt>1</tt> </li><li>use <tt>panel_monitor = all</tt> to get one panel per monitor (unless it's included into another one) </li></ul></ul><p> </p><blockquote><img src="3265475271_81e8ed56e0.jpg"> +</blockquote><p></p><p> </p><ul><li><tt>panel_position = vertical_position horizontal_position orientation</tt> </li><ul><li><tt>value for vertical_position : bottom, top, center</tt> </li><li><tt>value for horizontal_position : left, right, center</tt> </li><li><tt>value for orientation : horizontal, vertical</tt> </li></ul></ul> <ul><li><tt>panel_size = width height</tt> </li><ul><li><tt>width = 0</tt> to get full monitor width </li><li>Use <tt>%</tt> to adjust the panel size to monitor size. </li></ul></ul> <blockquote>Example: +<p></p><pre class="prettyprint"> #The panel's width is 94% the size of the monitor + panel_size = 94% 30</pre></blockquote><ul><li><tt>panel_items = LTSBC</tt> define the items tint2 will show and the order of those items. panel_items = STC will show the Systray, the taskbar and the clock (from left to right). SVN ONLY. </li><ul><li>L to show Launcher </li><li>T to show Taskbar </li><li>S to show Systray (also called notification area) </li><li>B to show Battery status </li><li>C to show Clock </li></ul></ul><ul><li><tt>panel_margin = horizontal_margin vertical_margin</tt> </li><ul><li><tt>horizontal_margin = 0</tt> to get full monitor width </li></ul></ul><blockquote><img src="3266303192_476a188196.jpg"> +</blockquote><p> </p><ul><li><tt>panel_padding = horizontal_left_right_padding vertical_padding horizontal_spacing</tt> </li></ul><p></p><ul><li><tt>font_shadow = boolean (0 or 1)</tt> </li></ul><ul><li><tt>panel_background_id = integer</tt> : Which background to use </li></ul><ul><li><tt>wm_menu = boolean (0 or 1)</tt> : Allow tint2 to forward mouse event to your Window Manager. </li></ul><ul><li><tt>panel_dock = boolean (0 or 1)</tt> : Put tint2 into the window managers dock. For the openbox window manager I can advise to use also a modifier for the moveButton option, otherwise the mouse click is not forwarded to tint2 (in ~/.config/openbox/rc.xml). </li></ul><p> </p><ul><li><tt>panel_layer = bottom,normal,top</tt> : Puts tint2 into the bottom/normal/top layer. Default is the bottom layer, but for real transparency normal or top layer may be a nice alternative. </li></ul><p></p><ul><li><tt>strut_policy = follow_size/minimum/none</tt> : STRUTs are used by the window manager to decide the size of maximized windows. Should the 'maximized windows' follow tint2 size (follow_size) or use the minimum size (minimum), or use the screen size (none). <tt>minimum</tt> option is interresting when used with <tt>autohide_height</tt> parameter. </li></ul><h1><a name="Launcher_SVN_Only"></a>Launcher SVN Only<a href="#Launcher_SVN_Only" class="section_anchor"></a></h1><ul><li><tt>launcher_icon_theme = name_of_theme</tt> tint2 will follow the theme of your desktop when you have an XSETTINGS manager running. Otherwise, <tt>launcher_icon_theme</tt> parameter is used. </li><li><tt>launcher_padding = horizontal_left_right_padding vertical_padding horizontal_spacing</tt> </li><li><tt>launcher_background_id = integer</tt> : Which background to use </li><li><tt>launcher_icon_size = number</tt> : Set the launcher icon size to <tt>number</tt>. </li><li><tt>launcher_item_app = path_to_application</tt> : Each launcher_item_app must be a full path to a .desktop file. </li></ul><h1><a name="Taskbar_(pager_like_capability)"></a>Taskbar (pager like capability)<a href="#Taskbar_%28pager_like_capability%29" class="section_anchor"></a></h1><ul><li><tt>taskbar_mode = single_desktop or multi_desktop</tt> </li><ul><li><tt>taskbar_mode = single_desktop</tt> : Show one(1) taskbar (current desktop) </li><li><tt>taskbar_mode = multi_desktop</tt> : Pager like capability. Show one(1) taskbar per desktop </li><ul><li>You can drag-and-drop task between desktops` </li><li>And also click on an empty taskbar to switch desktops` </li></ul></ul></ul><p> </p><ul><li><tt>taskbar_padding = horizontal_left_right_padding vertical_padding horizontal_spacing</tt> </li></ul><p></p><ul><li><tt>taskbar_background_id = integer</tt> : Which background to use </li></ul><ul><li><tt>taskbar_active_background_id = integer</tt> : Which background to use for current desktop. </li></ul><blockquote><img src="3266303292_14d9b6b623.jpg"> +</blockquote><ul><li><tt>taskbar_name = boolean (0 or 1)</tt> : SVN Only enabled(=1) or disabled(=0) desktop name in taskbar </li></ul><ul><li><tt>taskbar_name_padding = left_right_padding</tt> SVN Only </li></ul><ul><li><tt>taskbar_name_background_id = integer</tt> : SVN Only Which background to use </li></ul><ul><li><tt>taskbar_name_active_background_id = integer</tt> : SVN Only Which background to use for current desktop. </li></ul><ul><li><tt>taskbar_name_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> SVN Only </li></ul><ul><li><tt>taskbar_name_font_color = color opacity (0 to 100)</tt> SVN Only </li></ul><ul><li><tt>taskbar_name_active_font_color = color opacity (0 to 100)</tt> </li></ul><h1><a name="Task"></a>Task<a href="#Task" class="section_anchor"></a></h1><ul><li><tt>urgent_nb_of_blink = integer</tt> : Number of blink on 'get attention' event </li></ul><ul><li><tt>task_icon = boolean (0 or 1)</tt> : Display task icon or not </li></ul><ul><li><tt>task_text = boolean (0 or 1)</tt> : Display task text or not </li></ul><ul><li><tt>task_centered = boolean (0 or 1)</tt> : Task name centered or not </li></ul><ul><li><tt>task_maximum_size = width height</tt> </li><ul><li><tt>width is used with horizontal panel. width = 0 to get full taskbar width</tt> </li><li><tt>height is used with vertical panel</tt> </li></ul></ul><p> </p><ul><li><tt>task_padding = horizontal_padding vertical_padding</tt> </li></ul><p></p><ul><li><tt>task_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> </li></ul><ul><li><tt>task_font_color = color opacity (0 to 100)</tt> </li></ul><p> </p><ul><li><tt>task_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100)</tt> : adjust icon's color and transparency for task. </li></ul><p></p><ul><li><tt>task_background_id = integer</tt> : Which background to use for non selected tasks </li></ul><blockquote>For the next 3 options STATUS can be <tt>active</tt> / <tt>iconified</tt> / <tt>urgent</tt>. +</blockquote><ul><li><tt>task_STATUS_font_color = color opacity (0 to 100)</tt> </li></ul><ul><li><tt>task_STATUS_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100)</tt> : adjust icon's color and transparency for active task </li></ul><ul><li><tt>task_STATUS_background_id = integer</tt> : Which background to use when task is selected </li></ul><ul><li><tt>task_tooltip = boolean (0 or 1)</tt> : enabled(=1) or disabled(=0) tooltip on task </li></ul><blockquote><img src="3265475337_262799ded3.jpg"> +</blockquote><h1><a name="System_Tray"></a>System Tray<a href="#System_Tray" class="section_anchor"></a></h1><ul><li><tt>systray = boolean (0 or 1)</tt> : enabled(=1) or disabled(=0) systray </li></ul><ul><li><tt>systray_padding = horizontal_left_right_padding vertical_padding horizontal_spacing</tt> </li></ul><ul><li><tt>systray_background_id = integer</tt> : Which background to use for non selected tasks </li></ul><ul><li> <tt>systray_sort = ascending/descending/left2right/right2left</tt> : Sorting order for icon's systray (if left2right or right2left the order can be different on restart) </li></ul><ul><li> <tt>systray_icon_size = max_icon_size</tt> : Set the maximum system tray icon size to <tt>number</tt>. Set to <tt>0</tt> for automatic icon size </li></ul><ul><li><tt>systray_icon_asb = alpha (0 to 100) saturation (-100 to 100) brightness (-100 to 100)</tt> : adjust icon's color and transparency for system tray icons </li></ul><h1><a name="Clock"></a>Clock<a href="#Clock" class="section_anchor"></a></h1><ul><li><tt>time1_format = %H:%M</tt> </li><ul><li>time1_format, time2_format and clock_tooltip use 'strftime' syntax. more info on parameters on <a href="http://www.manpagez.com/man/3/strftime/" rel="nofollow">http://www.manpagez.com/man/3/strftime/</a> </li><li>comment time1_format and time2_format to hide clock </li></ul></ul><p> </p><ul><li><tt>time1_timezone = :US/Hawaii</tt> </li><ul><li>time1_timezone, time2_timezone and clock_tooltip_timezone can be used to specify a timezone. If you do not specify a value the system-wide timezone is used. The timezones can usually be found in /usr/share/zoneinfo. If your timezones are in a different directory, you need to specify the absolute path, i.e. time1_timezone = :/different/zoneinfo/dir/US/Hawaii (always prepend with a ':') </li></ul></ul><p></p><ul><li><tt>time1_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> </li></ul><ul><li><tt>time2_format = %A %d %B</tt> </li></ul><ul><li><tt>time2_timezone = :Europe/Berlin</tt> </li></ul><ul><li><tt>time2_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> </li></ul><ul><li><tt>clock_font_color = color opacity (0 to 100)</tt> </li></ul><ul><li><tt>clock_padding = horizontal_padding vertical_padding</tt> </li></ul><ul><li><tt>clock_background_id = integer</tt> : Which background to use </li></ul><ul><li><tt>clock_tooltip = %a, %d. %b %Y : clock tooltip text</tt> </li></ul><ul><li><tt>clock_tooltip_timezone = :UTC</tt> </li></ul><ul><li><tt>clock_lclick_command = text</tt> : Which command to execute on left click </li></ul><ul><li><tt>clock_rclick_command = text</tt> : Which command to execute on right click </li></ul><h1><a name="Tooltip"></a>Tooltip<a href="#Tooltip" class="section_anchor"></a></h1><ul><li><tt>tooltip_padding = horizontal_padding vertical_padding</tt> </li></ul><ul><li><tt>tooltip_show_timeout = float</tt> : delay to show tooltip in second. Use '.' as decimal separator. </li></ul><ul><li><tt>tooltip_hide_timeout = float</tt> : delay to close tooltip in second. Use '.' as decimal separator. </li></ul><ul><li><tt>tooltip_background_id = integer</tt> : Which background to use (in fake transparency the alpha channel and rounded are not respected) </li></ul><ul><li><tt>tooltip_font_color = color opacity (0 to 100)</tt> </li></ul><ul><li><tt>tooltip_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> </li></ul><h1><a name="Battery"></a>Battery<a href="#Battery" class="section_anchor"></a></h1><ul><li><tt>battery = boolean (0 or 1)</tt> : enabled(=1) or disabled(=0) battery applet </li></ul><ul><li><tt>battery_hide = never or an integer (0 to 100)</tt>: At what battery percent does the battery hide </li></ul><ul><li><tt>battery_low_status = integer</tt>: At what battery percent does the icon show battery low command </li></ul><ul><li><tt>battery_low_cmd = notify-send "battery low"</tt> :What to do when battery is low </li></ul><ul><li><tt>bat1_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> </li></ul><ul><li><tt>bat2_font = [FAMILY-LIST] [STYLE-OPTIONS] [SIZE]</tt> </li></ul><ul><li><tt>battery_font_color = color opacity (0 to 100)</tt> </li></ul><ul><li><tt>battery_padding = horizontal_padding vertical_padding</tt> </li></ul><ul><li><tt>battery_background_id = integer</tt> : Which background to use </li></ul><h1><a name="Mouse_action_on_task"></a>Mouse action on task<a href="#Mouse_action_on_task" class="section_anchor"></a></h1><blockquote>Customize mouse action with : <tt>none, close, toggle, iconify, shade, toggle_iconify, maximize_restore, desktop_left, desktop_right, next_task, prev_task</tt>. +</blockquote><blockquote>Sample format: +<pre class="prettyprint"> mouse_middle = none + mouse_right = close + mouse_scroll_up = toggle + mouse_scroll_down = iconify</pre></blockquote><pre class="prettyprint"> close : close the task + toggle : toggle the task + iconify : iconify the task + toggle_iconify : toggle or iconify the task + maximize_restore : maximized or minimized the task + desktop_left : send the task to the desktop on the left + desktop_right : send the task to the desktop on the right + next_task : send the focus to next task + prev_task : send the focus to previous task</pre><p>If a mouse action is set to <tt>none</tt> and <tt>wm_menu = 1</tt> is set, the mouse click is forwarded to the window manager </p><h1><a name="Panel_autohide"></a>Panel autohide<a href="#Panel_autohide" class="section_anchor"></a></h1><ul><li><tt>autohide = boolean (0 or 1)</tt> : enable(=1) or disable(=0) autohiding </li></ul><ul><li><tt>autohide_show_timeout = float</tt> : show timeout in seconds. Use '.' as decimal separator. </li></ul><ul><li><tt>autohide_hide_timeout = float</tt> : hide timeout in seconds. Use '.' as decimal separator. </li></ul><ul><li><tt>autohide_height = integer</tt> : panel height (width for vertical panels) in hidden mode </li></ul><h1><a name="An_example_tint2rc"></a>An example tint2rc<a href="#An_example_tint2rc" class="section_anchor"></a></h1><pre class="prettyprint">#--------------------------------------------- +# TINT2 CONFIG FILE +#--------------------------------------------- + +#--------------------------------------------- +# BACKGROUND AND BORDER +#--------------------------------------------- +rounded = 7 +border_width = 2 +background_color = #000000 60 +border_color = #ffffff 18 + +rounded = 5 +border_width = 0 +background_color = #ffffff 40 +border_color = #ffffff 50 + +rounded = 5 +border_width = 0 +background_color = #ffffff 18 +border_color = #ffffff 70 + +#--------------------------------------------- +# PANEL +#--------------------------------------------- +panel_monitor = all +panel_position = bottom center +panel_size = 94% 30 +panel_margin = 0 0 +panel_padding = 7 0 +font_shadow = 0 +panel_background_id = 1 +wm_menu = 0 +panel_dock = 0 +panel_layer = bottom + +#--------------------------------------------- +# TASKBAR +#--------------------------------------------- +#taskbar_mode = multi_desktop +taskbar_mode = single_desktop +taskbar_padding = 2 3 2 +taskbar_background_id = 0 +#taskbar_active_background_id = 0 + +#--------------------------------------------- +# TASKS +#--------------------------------------------- +task_icon = 1 +task_text = 1 +task_maximum_size = 140 35 +task_centered = 1 +task_padding = 6 3 +task_font = sans 7 +task_font_color = #ffffff 70 +task_background_id = 3 +task_icon_asb = 100 0 0 +# replace STATUS by 'urgent', 'active' or 'iconfied' +#task_STATUS_background_id = 2 +#task_STATUS_font_color = #ffffff 85 +#task_STATUS_icon_asb = 100 0 0 +# example: +task_active_background_id = 2 +task_active_font_color = #ffffff 85 +task_active_icon_asb = 100 0 0 +urgent_nb_of_blink = 8 + +#--------------------------------------------- +# SYSTRAYBAR +#--------------------------------------------- +systray = 1 +systray_padding = 0 4 5 +systray_background_id = 0 +systray_sort = left2right +systray_icon_size = 0 +systray_icon_asb = 100 0 0 + +#--------------------------------------------- +# CLOCK +#--------------------------------------------- +time1_format = %H:%M +time1_font = sans 8 +time2_format = %A %d %B +time2_font = sans 6 +clock_font_color = #ffffff 76 +clock_padding = 1 0 +clock_background_id = 0 +#clock_lclick_command = xclock +clock_rclick_command = orage +#clock_tooltip = %A %d %B +#time1_timezone = :US/Hawaii +#time2_timezone = :Europe/Berlin +#clock_tooltip_timezone = :/usr/share/zoneinfo/Europe/Paris + +#--------------------------------------------- +# BATTERY +#--------------------------------------------- +battery = 0 +battery_hide = 98 +battery_low_status = 10 +battery_low_cmd = notify-send "battery low" +bat1_font = sans 8 +bat2_font = sans 6 +battery_font_color = #ffffff 76 +battery_padding = 1 0 +battery_background_id = 0 + +#--------------------------------------------- +# TOOLTIP +#--------------------------------------------- +tooltip = 0 +tooltip_padding = 2 2 +tooltip_show_timeout = 0.7 +tooltip_hide_timeout = 0.3 +tooltip_background_id = 1 +tooltip_font_color = #OOOOOO 80 +tooltip_font = sans 10 + +#--------------------------------------------- +# MOUSE ACTION ON TASK +#--------------------------------------------- +mouse_middle = none +mouse_right = close +mouse_scroll_up = toggle +mouse_scroll_down = iconify + +#--------------------------------------------- +# AUTOHIDE OPTIONS +#--------------------------------------------- +autohide = 0 +autohide_show_timeout = 0.3 +autohide_hide_timeout = 2 +autohide_height = 4 +strut_policy = minimum</pre> + </div> + </div> + </td></tr><tr> +</tr></tbody></table> + </div> + + + + <div id="wikicommentcol"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<div class="collapse"> + + + + + +<div id="commentlist"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</div> +</div> + + + + + + + + </div> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</div> + + <div class="hostedBy" style="margin-top: -20px;"> + + </div> + + + + + + + + + + + +</body></html>
A packaging/ubuntu/wiki/FAQ.html

@@ -0,0 +1,217 @@

+<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <title>tint2 - FAQ</title> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> +</head> + +<body class="t6"> + +<table class="st" width="100%" cellpadding="0" cellspacing="0" align="center" border="0"> + <tbody><tr> + + + + + + + + + + + <td class="bevel-right" valign="top" align="right"></td> + </tr> +</tbody></table> + + + +<div id="maincol" style="padding: 0pt 3px 3px 0pt; margin: 0pt;"> + +<!-- IE --> + + + + + + + + + + + + + +<div id="wikipage"> +<table> + <tbody><tr> + + + + + <td style="vertical-align: top; padding-left: 5px;"> + + + + <div id="wikicontent"> + <div class="vt" id="wikimaincol"> + + <h1>tint2 - FAQ</h1> + + <p></p><ul><li><a href="#What_is_tint2?">What is tint2?</a></li><li><a href="#Who_is_the_developer_of_tint2_?">Who is the developer of tint2 ?</a></li><li><a href="#Does_tint2_have_a_system_tray/notification_area?">Does tint2 have a system tray/notification area?</a></li><li><a href="#I_have_the_latest_build_of_tint2_but_still_no_system_tray">I have the latest build of tint2 but still no system tray</a></li><li><a href="#tint2_doesn%27t_show_the_systray/notification">tint2 doesn't show the systray/notification</a></li><li><a href="#Why_did_some_systray_icons_disappear_from_the_panel?">Why did some systray icons disappear from the panel?</a></li><li><a href="#Why_don%27t_some_systray_icons_appear_when_you_run_tint2_in_a">Why don't some systray icons appear when you run tint2 in a KDE session?</a></li><li><a href="#I_want_to_disable_the_tint2_systray">I want to disable the tint2 systray</a></li><li><a href="#How_to_configure_real_transparency">How to configure real transparency</a></li><li><a href="#Tint2_doesn%27t_work_on_compiz_correctly?">Tint2 doesn't work on compiz correctly?</a></li><li><a href="#I_want_to_disable_compiz_shadow_on_Tint2">I want to disable compiz shadow on Tint2</a></li><li><a href="#Adding_a_%27show_desktop%27_button">Adding a 'show desktop' button</a></li><li><a href="#Task_list_is_limited">Task list is limited</a></li><li><a href="#How_can_I_get_%27pager_like_capability%27_?">How can I get 'pager like capability' ?</a></li><li><a href="#I_want_to_hide_some_tasks_from_the_panel_?">I want to hide some tasks from the panel ?</a></li><li><a href="#The_tint2_panel_is_blank">The tint2 panel is blank</a></li><li><a href="#How_to_maximize_window_over_tint2">How to maximize window over tint2</a></li><li><a href="#I_get_errors_when_I_try_to_compile_tint2_on_my_own">I get errors when I try to compile tint2 on my own</a></li><li><a href="#I_upgraded_to_tint2_and_I_still_have_the_old_panel_with_its_bugs">I upgraded to tint2 and I still have the old panel with its bugs</a></li><li><a href="#Tint2_doesn%27t_show_in_Pekwm">Tint2 doesn't show in Pekwm</a></li><li><a href="#Is_there_an_IRC_channel?">Is there an IRC channel?</a></li></ul> <p></p><p>Frequently asked questions. Please add any extra tips to the comments. </p><h1><a name="What_is_tint2?"></a>What is tint2?<a href="#What_is_tint2?" class="section_anchor"></a></h1><ul><li>Tint2 is a panel/taskbar for modern x window managers like GNOME, KDE, XFCE, openbox, pekwm,etc.. </li></ul><h1><a name="Who_is_the_developer_of_tint2_?"></a>Who is the developer of tint2 ?<a href="#Who_is_the_developer_of_tint2_?" class="section_anchor"></a></h1><ul><li>Main developers of tint2 are Thierry Lorthiois and Andreas Fink </li></ul><h1><a name="Does_tint2_have_a_system_tray/notification_area?"></a>Does tint2 have a system tray/notification area?<a href="#Does_tint2_have_a_system_tray/notification_area?" class="section_anchor"></a></h1><ul><li>YES! Tint2 finally has system tray/notification area. Please <a href="https://code.google.com/p/tint2/wiki/Install">install</a> the latest build if your current build doesn't have it. </li></ul><h1><a name="I_have_the_latest_build_of_tint2_but_still_no_system_tray"></a>I have the latest build of tint2 but still no system tray<a href="#I_have_the_latest_build_of_tint2_but_still_no_system_tray" class="section_anchor"></a></h1><ul><li>Check your tint2rc to see if you have the systray option configured and the options are not commented out. </li><li>The systray section looks like this </li><pre class="prettyprint">#--------------------------------------------- +# SYSTRAYBAR +#--------------------------------------------- +systray = 1 +systray_padding = 0 3 3 +systray_background_id = 0 +systray_sort = left2right</pre></ul><h1><a name="tint2_doesn't_show_the_systray/notification"></a>tint2 doesn't show the systray/notification<a href="#tint2_doesn%27t_show_the_systray/notification" class="section_anchor"></a></h1><ul><li>Check your tint2rc to see if you have 'systray = 1' </li><li>run tint2 in a terminal. if you get 'tint2 : another systray is running' it's because you have another systray/notification and you can't run more than one at a time. </li><ul><li>In gnome, remove the systray/notification with a right clic on the separator before your systray/notification -&gt; remove </li></ul></ul><h1><a name="Why_did_some_systray_icons_disappear_from_the_panel?"></a>Why did some systray icons disappear from the panel?<a href="#Why_did_some_systray_icons_disappear_from_the_panel?" class="section_anchor"></a></h1><ul><li>tint2 stops/restarts the systray protocol on some events (like switching theme with tint2conf). But some systray icons do not implement the stop/restart of the manager and so disappear from the panel. You can report the problem to us and also to the systray icon developer. </li></ul><h1><a name="Why_don't_some_systray_icons_appear_when_you_run_tint2_in_a"></a>Why don't some systray icons appear when you run tint2 in a KDE session?<a href="#Why_don%27t_some_systray_icons_appear_when_you_run_tint2_in_a" class="section_anchor"></a></h1><ul><li>Some KDE applications use the KDE status notifier service to show system tray icons. If you disable this service (systemsettings -&gt; Startup and Shutdown -&gt; Service Manager -&gt; uncheck "Status Notifier Manager") all the icons should appear normally in tint2. </li></ul><h1><a name="I_want_to_disable_the_tint2_systray"></a>I want to disable the tint2 systray<a href="#I_want_to_disable_the_tint2_systray" class="section_anchor"></a></h1><ul><li>To disable the systray, just put <tt>systray = 0</tt> in your tint2rc </li><li>Example: </li><pre class="prettyprint">systray = 0 +systray_padding = 0 3 3 +systray_background_id = 0</pre></ul><h1><a name="How_to_configure_real_transparency"></a>How to configure real transparency<a href="#How_to_configure_real_transparency" class="section_anchor"></a></h1><ul><li>tint2 autodetects your composite manager and uses real transparency when possible. However, xcompmgr have a little bug which prevents tint2 from detecting it. </li><li>If you want autodetect with xcompmgr, download and apply xcompmgr's patch (in bug report). See <a href="http://bugs.freedesktop.org/show_bug.cgi?id=26090" rel="nofollow">xcompmgr patch</a> </li></ul><h1><a name="Tint2_doesn't_work_on_compiz_correctly?"></a>Tint2 doesn't work on compiz correctly?<a href="#Tint2_doesn%27t_work_on_compiz_correctly?" class="section_anchor"></a></h1><ul><li>All my tasks are on one desktop in compiz? </li><ul><li>This is a known issue in compiz. Compiz doesn't support 'Virtual desktop' specification (or you have to disabled visual effect).<br>I look like 'Desktop number' use Viewport instead of 'Virtual desktop'. So pager capabilities are not supported. <br>See <a href="https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/153322" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/153322</a> <br>or <a href="http://forum.compiz.org/viewtopic.php?f=86&amp;t=11943" rel="nofollow">http://forum.compiz.org/viewtopic.php?f=86&amp;t=11943</a> <br>or <a href="https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/150690" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/150690</a> </li></ul><li>Tint is being decorated with a window/ has a shadow /is not fully transparent </li><ul><li>Open CompizConfig Settings manager -&gt; Window Decorations Plugin </li><ul><li>In the box for Decoration windows, put <tt>any &amp; !type=dock</tt> </li><li>In the box for Shadow windows, put <tt>any &amp; !type=dock</tt> </li></ul></ul><blockquote> +</blockquote><li>Tint has ugly white streaks </li><ul><li>Set a background for your desktop </li></ul></ul><h1><a name="I_want_to_disable_compiz_shadow_on_Tint2"></a>I want to disable compiz shadow on Tint2<a href="#I_want_to_disable_compiz_shadow_on_Tint2" class="section_anchor"></a></h1><ul><li>Run ccsm the compiz configuration tool. Go to Window Decorations. For both decoration and shadow windows, replace 'any' with 'any &amp; !name=tint2'. </li></ul><h1><a name="Adding_a_'show_desktop'_button"></a>Adding a 'show desktop' button<a href="#Adding_a_%27show_desktop%27_button" class="section_anchor"></a></h1><ul><li>tint2 doesn't implement 'show desktop' button. But here a way to get it. <br> </li></ul><p>Create a file with following text </p><pre class="prettyprint">#!/bin/sh +if wmctrl -m | grep "mode: ON"; then +exec wmctrl -k off +else +exec wmctrl -k on +fi</pre><p>Save it in /usr/bin/show_desktop.sh and make it executable.<br> Install the package 'wmctrl'. And call the script in tint2rc config file. </p><pre class="prettyprint">time1_format = %H:%M +time1_font = sans 8 +time2_format = %A %d %B +time2_font = sans 6 +clock_font_color = #ffffff 76 +clock_padding = 4 4 +clock_background_id = 0 +clock_lclick_command = show_desktop.sh</pre><p>Then left click on the clock will do it. </p><h1><a name="Task_list_is_limited"></a>Task list is limited<a href="#Task_list_is_limited" class="section_anchor"></a></h1><ul><li>In your tint2rc file, check the value of <tt>taskbar_mode</tt>. If it's <tt>multi_desktop</tt>, tint2 show one taskbar per desktop. Change the value to <tt>single_desktop</tt> if you want just one taskbar. </li></ul><h1><a name="How_can_I_get_'pager_like_capability'_?"></a>How can I get 'pager like capability' ?<a href="#How_can_I_get_%27pager_like_capability%27_?" class="section_anchor"></a></h1><ul><li>In your tint2rc file, change the value of <tt>taskbar_mode</tt> to <tt>multi_desktop</tt>. This option will show one taskbar per desktop. So you can detect on witch desktop is an application and witch desktop is empty (or full). You can close an application whithout switching to the desktop. You can drag n drop application between desktop. </li></ul><h1><a name="I_want_to_hide_some_tasks_from_the_panel_?"></a>I want to hide some tasks from the panel ?<a href="#I_want_to_hide_some_tasks_from_the_panel_?" class="section_anchor"></a></h1><ul><li>In Openbox config file 'rc.xml' you can assign the property 'skip_taskbar' to your window </li></ul><h1><a name="The_tint2_panel_is_blank"></a>The tint2 panel is blank<a href="#The_tint2_panel_is_blank" class="section_anchor"></a></h1><ul><li>A new option, called <tt>panel_items</tt> has been added to the config file. This option defines the items tint2 will show and the order of those items(from left to right). Please define that in your tint2rc file. The format is shown below. The options are <tt>L</tt> for <tt>Launcher</tt>, <tt>S</tt> for the <tt>Systray</tt>, <tt>T</tt> for the <tt>taskbar</tt>, <tt>C</tt> for the <tt>clock</tt> and <tt>B</tt> for the <tt>battery</tt>. </li><pre class="prettyprint">panel_items = LTSBC </pre></ul><h1><a name="How_to_maximize_window_over_tint2"></a>How to maximize window over tint2<a href="#How_to_maximize_window_over_tint2" class="section_anchor"></a></h1><ul><li>You can manage interaction between tint2 and window with : </li><pre class="prettyprint">panel_layer = bottom,normal,top +strut_policy = follow_size/minimum/none +autohide_height = integer</pre></ul><blockquote>If you want maximized window never cover tint2: +<pre class="prettyprint">panel_layer = top +strut_policy = follow_size</pre>If you want maximized window behind tint2: +<pre class="prettyprint">panel_layer = top +strut_policy = none</pre>If you want maximized window behind tint2, but 2 pixels free so you can use desktop action (right click, ...): +<pre class="prettyprint">panel_layer = top +strut_policy = minimum +autohide_height = 2</pre></blockquote><h1><a name="I_get_errors_when_I_try_to_compile_tint2_on_my_own"></a>I get errors when I try to compile tint2 on my own<a href="#I_get_errors_when_I_try_to_compile_tint2_on_my_own" class="section_anchor"></a></h1><ul><li>Do you have all the dependencies installed? Please check <a href="https://code.google.com/p/tint2/wiki/Install#Dependencies">here</a> </li></ul><h1><a name="I_upgraded_to_tint2_and_I_still_have_the_old_panel_with_its_bugs"></a>I upgraded to tint2 and I still have the old panel with its bugs<a href="#I_upgraded_to_tint2_and_I_still_have_the_old_panel_with_its_bugs" class="section_anchor"></a></h1><ul><li>The tint binary was renamed tint2 to avoid a conflict with another package.So your new tint2 startup command is <strong>tint2</strong> </li><li>Since a new stable release hasn't been released yet, both the old tint and the new tint2 binaries will be on your system when you upgrade just incase you run into some problems and want to fall back on the old binary. </li></ul><h1><a name="Tint2_doesn't_show_in_Pekwm"></a>Tint2 doesn't show in Pekwm<a href="#Tint2_doesn%27t_show_in_Pekwm" class="section_anchor"></a></h1><ul><li>The problem is that pekwm defines by default edge borders, and doesn't allow a panel to get inside these edge borders. The config option is in <tt>~/.pekwm/config</tt> under <tt>Screen/EdgeSize</tt>. You can either disable the edge borders or set tint2 to a size where it doesn't enter these borders (i.e. play with <tt>panel_size</tt> and <tt>panel_margin</tt>) </li><li>Setting the margin to one pixel made it appear on my screen. With horizontal panel: </li><pre class="prettyprint">panel_size = 95% height +panel_margin = 0 1</pre><li>With vertical panel: </li><pre class="prettyprint">panel_size = width 95% +panel_margin = 1 0</pre></ul><h1><a name="Is_there_an_IRC_channel?"></a>Is there an IRC channel?<a href="#Is_there_an_IRC_channel?" class="section_anchor"></a></h1><ul><li>Yes. There is now an irc channel, <strong>#tint2</strong> on <a href="irc://irc.freenode.net" rel="nofollow">irc.freenode.net</a>. </li><li>Just ask your question and stay there, because we are not always watching the channel ;) </li></ul> + </div> + </div> + </td></tr><tr> +</tr></tbody></table> + </div> + + + + <div id="wikicommentcol"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<div class="collapse"> + + + + + + +</div> + + + + + + + + </div> + + + + + + <div id="commentform"> + + </div> + + + + + + + + + + + + + + + + + + + + + + + + + + + +</div> + + <div class="hostedBy" style="margin-top: -20px;"> + + </div> + + + + + + + + + + + +</body></html>