Re: CrunchBang Panel
Hi anonymous,
And why not just the a gtk monitor icon? [..]
Yes, but if I can find something like that ( 128px or bigger ) :

ADcomp
CrunchBang Linux Forums » CrunchBang Talk » CrunchBang Panel
Hi anonymous,
And why not just the a gtk monitor icon? [..]
Yes, but if I can find something like that ( 128px or bigger ) :

Well, I realise I'm a complete dummy ![]()
I put the whole directory in my ~/bin/ then typed "cbpanel" but I was answered "bash : command not found"...
So please, how does one launch a script in a terminal ?
So please, how does one launch a script in a terminal ?
open terminal , go into cbpanel directory :
./cbpanelor
python cbpanelSomething like this?:

And for the menu icon, why not just use the #! logo:

Last edited by anonymous (2009-05-01 15:30:03)
Here is the output from the terminal - thanks for the tip, by the way ;-)
I installed the python items, then ran the command.
Still neither menu nor systray.
EDIT : Ctrl-Alt-Backspace, and the systray is up & running.
EDIT 2 : I have no debian-menu.xml in my /var/lib/openbox/, it is empty.
y@Biniou:~/Outils/cbpanel$ ./cbpanel > text.txt
Traceback (most recent call last):
File "/home/y/Outils/cbpanel/cb_panel/__init__.py", line 58, in load_plugin
plugwidget = plugin.Plugin(self.panel, settings)
File "/home/y/Outils/cbpanel/cb_panel/plugins/menu.py", line 44, in __init__
self.config.parseFile(XML_MENU)
File "/home/y/Outils/cbpanel/cb_panel/plugins/menu.py", line 108, in parseFile
parser.parse(file)
File "/usr/lib/python2.5/xml/sax/expatreader.py", line 102, in parse
source = saxutils.prepare_input_source(source)
File "/usr/lib/python2.5/xml/sax/saxutils.py", line 298, in prepare_input_source
f = urllib.urlopen(source.getSystemId())
File "/usr/lib/python2.5/urllib.py", line 82, in urlopen
return opener.open(url)
File "/usr/lib/python2.5/urllib.py", line 190, in open
return getattr(self, name)(url)
File "/usr/lib/python2.5/urllib.py", line 459, in open_file
return self.open_local_file(url)
File "/usr/lib/python2.5/urllib.py", line 473, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: '/var/lib/openbox/debian-menu.xml'
(cbpanel:17723): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
(cbpanel:17723): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
(cbpanel:17723): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATELast edited by Yogi (2009-05-01 18:02:21)
EDIT : Ctrl-Alt-Backspace, and the systray is up & running.
when you kill panel (lxpanel, bmpanel, ..) , usually app in systray die with it .. so you have to launch them again ( like nm-applet , volwheel ..)
EDIT 2 : I have no debian-menu.xml in my /var/lib/openbox/, it is empty.
debian-menu.xml came with "menu" package I think .. But I'm working on 2 different menu : one like openbox menu and one like LxPanel menu
So wait until ..
Thank you for your test
Bye
Is there a 64bit deb package for this panel? I didn't find a link.
Hi KBang,
It's just for testing .. It's not yet packaged but if you want , I can do it.
Hi KBang,
It's just for testing .. It's not yet packaged but if you want , I can do it.
I would like to test! ![]()
Gave it a try today, everything seems to be working well so far. Awesome job, can't wait to see where this goes.
I would like to test!
Do it ! ![]()
Gave it a try today, everything seems to be working well so far. Awesome job, can't wait to see where this goes.
Thanks ..
So .. Here a package ( again for testing purpose ) : http://www.ad-comp.be/public/projets/cb .1-all.deb
What's new ?
* A very basic Preferences UI
* Re-write most part of panel
* New menu ( parse *.desktop file in /usr/share/applications )
* ...
Not yet :
* you can't configure plugin ( add/remove ; position on panel )
* no position left / right
* ...




Bye ..
1. Does the "Show Desktop" button only show if you have multiple desktops? I would like the button but I only have one desktop.
2. Wheres the list of tasks/windows? I don't see it.
3. When you open the web search, terminal, calendar, or preferences, the only way to close them is to click the button again. It would be nice if clicking the desktop or panel would close them.
4. The button for the panel menu needs an icon. What about using the "preferences-desktop" icon?
Last edited by anonymous (2009-05-02 18:34:23)
Hi anonymous,
1. Does the "Show Desktop" button only show if you have multiple desktops? I would like the button but I only have one desktop.
2. Wheres the list of tasks/windows? I don't see it.
I think I forgot some dependencies when I packaged panel .. Can you install " libwnck* "
david@acer-desktop:~$ dpkg -l | grep libwnck
ii libwnck-common 2.24.1-0ubuntu1 Window Navigator Construction Kit - common f
ii libwnck22 2.24.1-0ubuntu1 Window Navigator Construction Kit - runtime3. When you open the web search, terminal, calendar, or preferences, the only way to close them is to click the button again. It would be nice if clicking the desktop or panel would close them.
some buggy stuff ( like focus ) with them .. working on
4. The button for the panel menu needs an icon. What about using the "preferences-desktop" icon?
what button do you mean ? last one ( popup with settings / about / .. ) ?
Does "new" menu work for you ?
Bye ..
I think I forgot some dependencies when I packaged panel .. Can you install " libwnck* "
It was already installed.
last one ( popup with settings / about / .. ) ?
Yes that one.
Does "new" menu work for you ?
The #! menu? Yes it works.
ADcomp wrote:I think I forgot some dependencies when I packaged panel .. Can you install " libwnck* "
It was already installed.
Well .. showdesktop plugin and task/windowlist plugin depends on " wnck " .. So I think it's the problem
Can you launch ' cbpanel ' in a terminal and take a look for some error ?
One other test you can do ( if you want to ) : remove lib wnck.so in cbpanel directory and install python-gnome2-desktop
sudo rm /usr/share/cbpanel/wnck.so
sudo apt-get install python-gnome2-desktopPython-gnome2-desktop has his own python-wnck wrapper to libwnck.. maybe some diff with release ?
Thanks for your feedback
Ok heres the output:
[kevin]~$ [INFO ] Loading plugin 'menu' ..
[DEBUG ] Menu: can't parse wine.desktop
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'launcher' ..
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'showdesktop' ..
[WARNING] Unable to load plugin 'showdesktop': /usr/share/cbpanel/wnck.so: wrong
ELF class: ELFCLASS32
Traceback (most recent call last):
File "/mnt/data/projets/crunchbang-panel/CBpanel/__init__.py", line 50, in loa
d_plugin
File "<string>", line 1, in <module>
File "/mnt/data/projets/crunchbang-panel/CBpanel/plugins/showdesktop.py", line
6, in <module>
ImportError: /usr/share/cbpanel/wnck.so: wrong ELF class: ELFCLASS32
[INFO ] Loading plugin 'pager' ..
[WARNING] Unable to load plugin 'pager': /usr/share/cbpanel/wnck.so: wrong ELF c
lass: ELFCLASS32
Traceback (most recent call last):
File "/mnt/data/projets/crunchbang-panel/CBpanel/__init__.py", line 50, in loa
d_plugin
File "<string>", line 1, in <module>
File "/mnt/data/projets/crunchbang-panel/CBpanel/plugins/pager.py", line 6, in
<module>
ImportError: /usr/share/cbpanel/wnck.so: wrong ELF class: ELFCLASS32
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'windowlist' ..
[WARNING] Unable to load plugin 'windowlist': /usr/share/cbpanel/wnck.so: wrong
ELF class: ELFCLASS32
Traceback (most recent call last):
File "/mnt/data/projets/crunchbang-panel/CBpanel/__init__.py", line 50, in loa
d_plugin
File "<string>", line 1, in <module>
File "/mnt/data/projets/crunchbang-panel/CBpanel/plugins/windowlist.py", line
6, in <module>
ImportError: /usr/share/cbpanel/wnck.so: wrong ELF class: ELFCLASS32
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'searchbox' ..
[DEBUG ] SearchBox: Browser set to 'firefox %s'
[INFO ] Loading plugin 'terminal' ..
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'systray' ..
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'clock' ..
[DEBUG ] Clock: Clock not displaying seconds: updated scheduled once every minu
te.
[INFO ] Loading plugin 'separator' ..
[INFO ] Loading plugin 'settings' ..Last edited by anonymous (2009-05-02 20:20:50)
Ok heres the output:
[WARNING] Unable to load plugin 'windowlist': /usr/share/cbpanel/wnck.so: wrong ELF class: ELFCLASS32
Yes .. my lib wnck.so doesn't work on your system. ![]()
sudo rm /usr/share/cbpanel/wnck.so
sudo apt-get install python-gnome2-desktopand It shoul'd work. ![]()
Bye
Nooo I dont like dependencies ![]()
@ anonymous : I know that is crappy .. This is why I pack my own wnck.so
Are you on 64bit ?
If you have time to test , you really only need this file '/usr/lib/python-support/python-gnome2-desktop/python2.5/gtk-2.0/wnck.so' from python-gnome2-desktop
So you can install python-gnome2-desktop ( and dependencies ) ,
sudo cp /usr/lib/python-support/python-gnome2-desktop/python2.5/gtk-2.0/wnck.so /usr/share/cbpanel/wnck.soand remove python-gnome2-desktop ( and dependencies )
I know that really sucks ... I thinking about re-write these plugins with python-xlib ( but wnck is more simple )
I'm not sure if it is the same thing that anonymous was asking about. When I open firefox, file manager, preferences, or cli from the cbpanel I get warning in the cli window that I started cbpanel from. Here is the warnings I am getting.
(cbpanel:6039): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
Also when I use show desktop it removes conky as well. It will come back most of the time.
Cbpanel looks great and has been working well. Great job ADcomp, well done.
Thanks Kelean.
I'm not sure if it is the same thing that anonymous was asking about. When I open firefox, file manager, preferences, or cli from the cbpanel I get warning in the cli window that I started cbpanel from. Here is the warnings I am getting.
(cbpanel:6039): Wnck-WARNING **: Unhandled action type _OB_WM_ACTION_UNDECORATE
This is a bug in libwnck, it prints warnings when it finds an atom it doesn't know about, even if it doesn't start with _NET. ( source )
Also when I use show desktop it removes conky as well. It will come back most of the time.
Oupss ..
so showdesktop need more testing ( or maybe some conky tweak ? )
Cbpanel looks great and has been working well. Great job ADcomp, well done.
Ok, it's Cool
Thanks for your test / feedback
@ anonymous : I know that is crappy .. This is why I pack my own wnck.so
Are you on 64bit ?If you have time to test , you really only need this file '/usr/lib/python-support/python-gnome2-desktop/python2.5/gtk-2.0/wnck.so' from python-gnome2-desktop
So you can install python-gnome2-desktop ( and dependencies ) ,sudo cp /usr/lib/python-support/python-gnome2-desktop/python2.5/gtk-2.0/wnck.so /usr/share/cbpanel/wnck.soand remove python-gnome2-desktop ( and dependencies )
I know that really sucks ... I thinking about re-write these plugins with python-xlib ( but wnck is more simple )
Ok I managed to install it without the dependencies, copy over the necessary file, and remove it. Now cbpanel has the desktop icon and task list. Thanks.
Ok I managed to install it without the dependencies, copy over the necessary file, and remove it. Now cbpanel has the desktop icon and task list. Thanks.
Ok .. this is cool
.. Thanks for testing and your feedback
Posts [ 26 to 50 of 110 ]
CrunchBang Linux Forums » CrunchBang Talk » CrunchBang Panel
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.