DockbarX Experimental Modification

DockbarX Themes

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Description:
FIRST OF ALL =========================
i'm not completely sure about the license, so, if i have to remove this post, please contact me.
======================================

New in this version:
I made the overall bar prettier -again-, to me at least, backdrops are now colorized for active window!!... and fixed a bug, see changelog

as always, old versions included


Awright. The first thing you want to do, since this is a mod, is to install this original version:

http://www.gnome-look.org/content/show.php/DockbarX?content=101604

then just extract and run the install.sh script and it will install itself automagically... should the script fail, run these commands(inside the folder you just extracted, assuming you installed the unmodified one right):

sudo cp ./dockbarx.py /usr/bin/dockbarx.py
cp ./launcher_icon.png ~/.dockbar/launcher_icon.png

And that should be it, if you have the original version running, delete it from the panel and add it again to get the new code running.

by the way, this mod doesn't work on vertical panels (yet...)

Thanks to rassen for the idea.
Last changelog:

Mod-1
- Changed the way -almost- everything was drawn on the screen
- Changed the launcher_icon.png

Mod-2
- Removed backdrop from launchers
- Fixed ugly 'red background' from windows calling attention

Mod-3
- Fixed bug when windows in a group with not all windows minimized was asking for attention
- Active window backdrop is now colorized according to the color of the icon on it

Mod-3.1
- Improved install.sh


Ratings & Comments

9 Comments

dukeofcontention

download doesnt work ;/

SKeaLoT

:S just downloaded it.. what do you mean by "download doesn't work"?

dukeofcontention

there was so problem ... file not found .. but now its ok

lester2

Very many thanks!

lester2

Btw, I found a bug in it. If you switch to a group of findows, e.g. firefox, the popup list won't show then. So you're unable to switch to another window in the same group. And sometimes it fail to remove the window even if it's closed but this is too inconsistent and rare.

SKeaLoT

The main code is not mine, so i can't tell you exactly what's going on... anyways i haven't been able to reproduce the 'can't see list' one... odd and about the other one... maybe your programs aren't killing themselves right? just a guess... however if you feel like contributing, file those bugs at https://launchpad.net/dockbar if they aren't there already

lester2

The way to reproduce is easy: 1) open some firefox windows, they should be under the single icon on the panel. 2) click the icon twice to minimize and maximize windows. You'll notice a popup window with the list of firefox'es. 3) move a cursor away to make the popup window dissapear. 4) hove the icon again with the mouse. A window should pop-up, but it doesn't. There is no such bug in the vanilla dockbar and it's modification dockbarX, so you might broke something apparently.

lester2

It seems that I found the problem (btw, only in mod-2 and mod-3, mod-1 seems working):

Traceback (most recent call last):
  File "./dockbarx.py", line 1625, in button_mouse_enter
    pixbuf = self.icon_factory.pixbuf_update(self.icon_mode | self.icon_effect | IconFactory.BRIGHT | self.icon_active | self.dd_effect)
  File "./dockbarx.py", line 243, in pixbuf_update
    pixbuf = self.add_glow(pixbuf)
  File "./dockbarx.py", line 481, in add_glow
    colorpb = self.colorize_pixbuf(pixbuf, r, g, b)
  File "./dockbarx.py", line 579, in colorize_pixbuf
    pix[0] = int((r + pix[0]) / 2)
ValueError: function not supported
Traceback (most recent call last):
  File "./dockbarx.py", line 1635, in button_mouse_leave
    pixbuf = self.icon_factory.pixbuf_update(self.icon_mode | self.icon_effect | self.icon_active | self.dd_effect)
  File "./dockbarx.py", line 243, in pixbuf_update
    pixbuf = self.add_glow(pixbuf)
  File "./dockbarx.py", line 481, in add_glow
    colorpb = self.colorize_pixbuf(pixbuf, r, g, b)
  File "./dockbarx.py", line 579, in colorize_pixbuf
    pix[0] = int((r + pix[0]) / 2)
ValueError: function not supported

pi4sek
Pling
0 Affiliates
Details
license
version 0.21.9 - m3.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other DockbarX Themes:

Elegant DockbarX Theme
satya164
last update date: 14 years ago

Score 4.5

Dott Dockbarx theme
monga
last update date: 15 years ago

Score 5.0

BB - DockbarX / DockX theme
truestyler
last update date: 10 years ago

Score 5.0

TransparentX
xisberto
last update date: 16 years ago

Score 5.0

Sunset dockbarx theme
monga
last update date: 15 years ago

Score 5.0

Magic_dockbarx
nale12
last update date: 13 years ago

Score 5.7