You are not logged in.
# Updated PKGBUILD for pypanel
pkgname=pypanel
pkgver=1.2
pkgrel=1
pkgdesc="A lightweight panel/taskbar for X11 window managers written in python"
url="http://pypanel.sourceforge.net/"
depends=('python' 'xfree86' 'python-xlib')
conflicts=()
backup=()
install=
source=(http://unc.dl.sourceforge.net/sourceforge/pypanel/PyPanel-$pkgver.tar.gz)
md5sums=('5771a64883f46199da97e9a7e764c143')
build() {
cd $startdir/src/PyPanel-$pkgver
python setup.py install --root=$startdir/pkg
}
Mr Green
Offline
Thanks a lot ! It's great ! I was waiting for it since a long time ! :-D
Offline
Nice, but it's been in my TUR for quite a while. I've been using it with my Openbox config and love it
My hovercraft is full of eels.
Offline
Sorry :oops: just updated PKGBUILD I found on forum
bows low in respect....
Mr Green
Mr Green
Offline
deepfreeze: maybe you should update the PKGBUILD then.
Offline
New Release of PyPanel
you can get python-xlib from
http://bbs.archlinux.org/viewtopic.php? … pythonxlib
# Updated PKGBUILD for pypanel
pkgname=pypanel
pkgver=2.0
pkgrel=1
pkgdesc="A lightweight panel/taskbar for X11 window managers written in python"
url="http://pypanel.sourceforge.net/"
depends=('python' 'xfree86' 'python-xlib' 'imlib2')
conflicts=()
backup=()
install=
source=(http://unc.dl.sourceforge.net/sourceforge/pypanel/PyPanel-$pkgver.tar.gz)
md5sums=('c0382335cdc3506124b7ab100ae1725c')
build() {
cd $startdir/src/PyPanel-$pkgver
python setup.py install --root=$startdir/pkg
}
Note: If you are using PyPanel at the moment then back up .pypanelrc once loaded edit it with your settings ......(Hope that makes sense)
Mr Green
Mr Green
Offline
mr Green, md5sums here seem to be incorrect, but package can be built!
Offline
Edited PKGBUILD thanks for letting me know
Mr Green
Offline
pypanel version 2.3
pkgname=pypanel
pkgver=2.3
pkgrel=1
pkgdesc="A lightweight panel/taskbar for X11 window managers written in python"
url="http://pypanel.sourceforge.net/"
depends=('python' 'xorg' 'python-xlib' 'imlib2')
conflicts=()
backup=()
install=
source=(http://unc.dl.sourceforge.net/sourceforge/pypanel/PyPanel-$pkgver.tar.gz)
md5sums=('cd71d6c4883610a2fd9da7a8f342bee9')
build() {
cd $startdir/src/PyPanel-$pkgver
python setup.py install --root=$startdir/pkg
}
EDIT latest version....
Mr Green
Offline
Added package to AUR ....
Mr Green
Offline
I'm having a problem starting pypanel, I have used it before and have never had any problems, any ideas?
[corky@bryggeri ~] -> pypanel
/usr/lib/python2.4/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character 'xf6' in file /usr/lib/python2.4/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
import protocol.display
Traceback (most recent call last):
File "/usr/bin/pypanel", line 923, in ?
PyPanel(display.Display())
File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 80, in __init__
self.display = _BaseDisplay(display)
File "/usr/lib/python2.4/site-packages/Xlib/display.py", line 67, in __init__
apply(protocol.display.Display.__init__, (self, ) + args, keys)
File "/usr/lib/python2.4/site-packages/Xlib/protocol/display.py", line 122, in __init__
self.default_screen = min(self.default_screen, len(self.info.roots) - 1)
File "/usr/lib/python2.4/site-packages/Xlib/protocol/rq.py", line 1371, in __getattr__
raise AttributeError(attr)
AttributeError: roots
mov ah, 0
int 16h
Offline
Emmm Ok. try this Open the following file -
/usr/lib/python<version>/site-packages/Xlib/protocol/display.py
and change line 530 from -
recv = self.socket.recv(2048)
to -
recv = self.socket.recv(4096)
HTH
Mr Green
Offline
Hi Green, thanks for the package it's a great addition to my OpenBox desktop !!!
Offline
2.4 now in AUR ;-)
Mr Green
Offline
Emmm Ok. try this Open the following file -
/usr/lib/python<version>/site-packages/Xlib/protocol/display.py
and change line 530 from -
recv = self.socket.recv(2048)
to -
recv = self.socket.recv(4096)
HTH
Mr. Green, Your knowledge astounds me Where do you get your information? Should a bug report be posted to PyPanel's Sourceforfe Page? Or is this an Arch related issue?
Thanks,
Brice
Offline
:oops: nothing to do with me I'm afraid its Jon the developer of PyPanel I asked him about the problem & he knew how to fix it .
As you notice its not a problem with Pypanel itself but Xlib
Any feedback ,screenshots, ideas etc...you or anyone else who uses Pypanel, Jon would like here to about them
Mr Green
Offline
mr green works like a layer between the devs and the users,
arch + gentoo + initng + python = enlisy
Offline
Right-o. I noticed there wasn't any mention of it @ PyPanel's SF.NET Bug Tracker / PyPanel's website itself. But If Jon knows about it... no sense in filing a report!
Offline
is this normal?
==> Making package: pypanel 2.3-1 (Tue Apr 4 00:43:49 NZST 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Found PyPanel-2.3.tar.gz in build dir
==> Validating source files with MD5sums
PyPanel-2.3.tar.gz ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf PyPanel-2.3.tar.gz
==> Starting build()...PyPanel requires the Imlib2 library -
http://www.enlightenment.org/pages/imlib2.html
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Finished making: pypanel (Tue Apr 4 00:43:49 NZST 2006)
Offline
pacman -Ss pypanel
community/pypanel 2.4-1
A lightweight panel/taskbar for X11 window managers written in python
Errr no
Mr Green
Offline
i cant run it:
$ pypanel
Traceback (most recent call last):
File "/usr/bin/pypanel", line 948, in ?
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python2.4/locale.py", line 381, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
$
why?
Offline
because you have no locale setting....
uncomment your locale in /etc/locale.gen then run locale-gen as root.
Offline
ok that worked, thank you
Offline
Hi
Please help me because pypanel won't load
The mlessage in console is:
$ pypanel
/usr/lib/python2.3/site-packages/Xlib/display.py:30: DeprecationWarning: Non-ASCII character 'xf6' in file /usr/lib/python2.3/site-packages/Xlib/protocol/display.py on line 749, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
import protocol.display
Traceback (most recent call last):
File "/usr/bin/pypanel", line 641, in ?
PyPanel(display.Display())
File "/usr/bin/pypanel", line 74, in __init__
self.setBackground()
File "/usr/bin/pypanel", line 350, in setBackground
if not TRANSPARENCY:
NameError: global name 'TRANSPARENCY' is not defined
What's happened ??
Offline
I would say again that i'm using Xorg 7.01
I noticed that I had a directory python2.3 and another python2.4 in /usr/lib/ ???
Is this normal ???
Please help me....
while waiting I tested to use fbpanel but there's another problem:
$ fbpanel
error is /usr/share/fbpanel/plugins/wincmd.so: undefined symbol: a_NET_WM_STATE
fbpanel: can't load wincmd plugin
fbpanel: can't start panel
What can i do ???
Offline