| View previous topic :: View next topic |
| Author |
Message |
agnitio Tux's lil' helper

Joined: 17 Apr 2004 Posts: 136
|
Posted: Wed Apr 28, 2004 3:56 pm Post subject: |
|
|
| crimson wrote: | | Is there any way to maximize OVER the panel? It's a great panel, but very annoying having a rom, or a video not go fullscreen but show the panel at the bottom. |
This used to be a problem for me as well but it's simply because the panel is set to be always on top. Depending on what window manager you use there should be some way to fix it by just lowering it. I now use autoproperties in pekwm to set it to not be on top. That solved the problem of the panel appearing on top of a fullscreen mplayer, for me at least.
Anyway, I also have a small problem. When I click an app in the taskbar the application recieves focus but it does not raise. Is there some way to change this behaviour, either by some config setting or by modifying the code a bit to better suite my needs? I checked around the code a bit but I'm not really a great programmer (especially not when it comes to perl) so I couldn't really find anything. Thanks in advance. |
|
| Back to top |
|
 |
z0rr0 n00b

Joined: 23 Feb 2004 Posts: 38
|
Posted: Wed Apr 28, 2004 5:00 pm Post subject: |
|
|
Ok.. I made some ebuilds (I used the old ones too)
/usr/local/portage/dev-perl/glib-perl/glib-perl-1.042.ebuild
| Code: | # Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/dev-perl/glib-perl/glib-perl-1.040.ebuild,v 1.2 2004/04/07 00:43:43 gustavoz Exp $
inherit perl-module
MY_P=Glib-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Glib - Perl wrappers for the GLib utility and Object libraries"
HOMEPAGE="http://gtk2-perl.sf.net/"
SRC_URI="http://www.cpan.org/authors/id/R/RM/RMCFARLA/Gtk2-Perl/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc ~alpha hppa ~amd64"
IUSE="xml"
RDEPEND=">=x11-libs/gtk+-2*
>=dev-libs/glib-2*
xml? ( dev-perl/XML-Writer
dev-perl/XML-Parser )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
>=dev-perl/extutils-depends-0.2*
dev-perl/extutils-pkgconfig" |
/usr/local/portage/dev-perl/gtk2-perl/gtk2-perl-1.042.ebuild
| Code: | # Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/dev-perl/gtk2-perl/gtk2-perl-1.040.ebuild,v 1.2 2004/04/07 01:46:34 gustavoz Exp $
inherit perl-module
MY_P=Gtk2-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Perl bindings for GTK2"
HOMEPAGE="http://search.cpan.org/~rmcfarla/${MY_P}/"
SRC_URI="http://search.cpan.org/CPAN/authors/id/R/RM/RMCFARLA/Gtk2-Perl/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc ~alpha hppa ~amd64"
IUSE="perl"
DEPEND=">=x11-libs/gtk+-2*
>=dev-perl/glib-perl-${PV}
>=dev-perl/extutils-depends-0.2*
dev-perl/extutils-pkgconfig" |
/usr/local/portage/dev-perl/gnome2-wnck/gnome2-wnck-0.04.ebuild
| Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
IUSE=""
inherit perl-module
MY_P=Gnome2-Wnck-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Perl interface to the Window Navigator Construction Kit"
SRC_URI="mirror://sourceforge/gtk2-perl/${MY_P}.tar.gz"
HOMEPAGE="http://gtk2-perl.sf.net"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
DEPEND=">=dev-perl/glib-perl-1.042
>=dev-perl/gtk2-perl-1.042
>=x11-libs/libwnck-2
dev-perl/extutils-pkgconfig
>=dev-perl/extutils-depends-0.2*" |
/usr/local/portage/dev-perl/gtk2-gladexml/gtk2-gladexml-1.00.ebuild
| Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/dev-perl/gtk2-gladexml/gtk2-gladexml-0.94.ebuild,v 1.2 2003/12/30 17:06:35 mcummings Exp $
inherit perl-module
MY_P=Gtk2-GladeXML-${PV}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Perl wrappers for the Gtk2::GladeXML utilities."
SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/gtk2-perl/${MY_P}.tar.gz"
HOMEPAGE="http://gtk2-perl.sf.net/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~amd64 ~ppc ~sparc ~alpha ~hppa"
DEPEND="${DEPEND}
>=x11-libs/gtk+-2*
>=gnome-base/libglade-2*
>=dev-perl/glib-perl-1.042
>=dev-perl/gtk2-perl-1.042
dev-perl/extutils-depends
dev-perl/extutils-pkgconfig" |
/usr/local/portage/x11-misc/perlpanel/perlpanel-0.4.1.ebuild
| Code: | # Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $
MY_P="PerlPanel-${PV}"
DESCRIPTION="PerlPanel is an attempt to build a useable, lean panel program (like Gnome's gnome-panel and KDE's Kicker) in Perl, using the Gtk2-Perl libraries."
HOMEPAGE="http://jodrell.net/projects/perlpanel"
SRC_URI="http://jodrell.net/files/${MY_P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND=">=dev-perl/XML-Simple-2
>=dev-perl/XML-Parser-2
>=dev-perl/Xmms-Perl-0.12
>=dev-perl/glib-perl-1.042
>=dev-perl/gtk2-perl-1.042
>=dev-perl/gnome2-wnck-0.04
>=dev-perl/gtk2-gladexml-1.00"
S="${WORKDIR}/${MY_P}"
src_compile() {
make PREFIX=/usr || die
}
src_install() {
make install PREFIX="${D}usr" || die
dodoc COPYING ChangeLog doc/README
} |
Btw this is my first ebuild so please don't beat me , but tell me about errors or mistakes!  |
|
| Back to top |
|
 |
jodrell n00b


Joined: 28 Apr 2004 Posts: 8 Location: 51.281222N, 0.527817E
|
Posted: Wed Apr 28, 2004 8:04 pm Post subject: |
|
|
| agnitio wrote: | | crimson wrote: | | Is there any way to maximize OVER the panel? It's a great panel, but very annoying having a rom, or a video not go fullscreen but show the panel at the bottom. |
This used to be a problem for me as well but it's simply because the panel is set to be always on top.
(snip)
When I click an app in the taskbar the application recieves focus but it does not raise. |
These two problems are both behaviours controlled by the Window Manager. I've tested PerlPanel extensively with Metacity and OpenBox , and neither happen for me.
If you have any further questions, post them on the mailing list and they will be answered. |
|
| Back to top |
|
 |
jodrell n00b


Joined: 28 Apr 2004 Posts: 8 Location: 51.281222N, 0.527817E
|
Posted: Wed Apr 28, 2004 8:08 pm Post subject: |
|
|
| z0rr0 wrote: | | But i have one problem. In the action menu it does not show shutdown or restart button |
Can you e-mail me a screenshot and a copy of your ~/.perlpanelrc? What version are you using?
| z0rr0 wrote: | | Also u should add kahakai and openbox to bbmenu |
That's been planned. Of course, the whole menu system is extremely well-designed, and very easy to extend to support $WINDOW_MANAGER's menu system, so anyone with a bit of Perl knowledge can easily manage it :) And if it works, I will be happy to include it in the distribution. |
|
| Back to top |
|
 |
agnitio Tux's lil' helper

Joined: 17 Apr 2004 Posts: 136
|
Posted: Wed Apr 28, 2004 8:43 pm Post subject: |
|
|
| jodrell wrote: |
These two problems are both behaviours controlled by the Window Manager. I've tested PerlPanel extensively with Metacity and OpenBox , and neither happen for me.
|
Isn't that sort of a half-truth. I mean, yes it depends on how the window manager handles window focus/raising etc. but doesn't it also depend on what perlpanel asks the window manager to do?
I had the same problem with pypanel but that was easily fixed by setting it to both give focus to and raise the window. Shouldn't it be possible to do the same thing with perlpanel?
Oh, and while I'm writing. The "drag and drop" thingy to switch the order of buttons/applets doesn't seem to work for me, is this feature not finished or am I just dumb?
Thanks for a great panel, I love it (even though it might not sound like it from all my complaining)  |
|
| Back to top |
|
 |
jodrell n00b


Joined: 28 Apr 2004 Posts: 8 Location: 51.281222N, 0.527817E
|
Posted: Wed Apr 28, 2004 9:12 pm Post subject: |
|
|
| agnitio wrote: | | Isn't that sort of a half-truth. I mean, yes it depends on how the window manager handles window focus/raising etc. but doesn't it also depend on what perlpanel asks the window manager to do? |
PerlPanel uses the libwnck libraries to manage the windows. So it does exactly what the pager and window list GNOME panel applets do.
| agnitio wrote: | | I had the same problem with pypanel but that was easily fixed by setting it to both give focus to and raise the window. Shouldn't it be possible to do the same thing with perlpanel? |
libwnck doesn't have any sort of functionality to do this - the only function it has is "activate" which is what WindowMenu uses.
My perspective on this is that libwnck is strictly complianto the EWMH spec. It's maintained by Havoc Pennington who is known for strictly adhering to the standards and not building in workarounds for what might be considered "broken" programs. So from this point of view, the problem here is that your window manager is not completely compliant with EWMH.
What WM do you use? I'll do some testing.
| agnitio wrote: | | Oh, and while I'm writing. The "drag and drop" thingy to switch the order of buttons/applets doesn't seem to work for me, is this feature not finished or am I just dumb? |
There's no magic involved in that list - it's a plain TreeView, so if DnD doesn't work with it, it could be a problem with the bindings or toolkit. Can you tell me the version numbers of each? Also, try running perlpanel from a terminal so you can see anything that appears on STDERR.
| agnitio wrote: | | Thanks for a great panel, I love it (even though it might not sound like it from all my complaining) ;) |
It's appreciated :) |
|
| Back to top |
|
 |
agnitio Tux's lil' helper

Joined: 17 Apr 2004 Posts: 136
|
Posted: Thu Apr 29, 2004 2:13 pm Post subject: |
|
|
| jodrell wrote: |
My perspective on this is that libwnck is strictly complianto the EWMH spec. It's maintained by Havoc Pennington who is known for strictly adhering to the standards and not building in workarounds for what might be considered "broken" programs. So from this point of view, the problem here is that your window manager is not completely compliant with EWMH.
What WM do you use? I'll do some testing.
|
I use pekwm, I'll talk with the creator and see what he has to say about it. I, as you probably have noticed, am not really an expert on theese things so I hope he can solve the problem. I must say I really admire the effort you put in to help people!
| jodrell wrote: | There's no magic involved in that list - it's a plain TreeView, so if DnD doesn't work with it, it could be a problem with the bindings or toolkit. Can you tell me the version numbers of each? Also, try running perlpanel from a terminal so you can see anything that appears on STDERR.
|
Hmm.. As I said I'm not really good at this, but I hope this info is what you were asking for. I'm using glib-perl 1.040, gtk2-perl 1.040, gnome2-wnck 0.02, gtk2-gladexml-0.94. But I can see that z0rr0 made ebuilds for some new versions so I'll try those and see if that solves the problem. Nothing at all appeared on STDERR when I tried drag-n-drop.
UPDATE. I updated the above mentioned libraries and recompiled perlpanel but still DnD fails. Nothing at all happens when I try to move the applets around in the list. No message on STDERR either. |
|
| Back to top |
|
 |
xianx Tux's lil' helper


Joined: 09 Aug 2003 Posts: 126 Location: Canada
|
Posted: Thu Apr 29, 2004 5:28 pm Post subject: |
|
|
i'm really excited to try this one out, I've used the ebuilds supplied here but when i try and run it:
| Code: | ian@ianlaptop ian $ perlpanel
Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib/perlpanel /etc/perl /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i686-linux /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1/i686-linux /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.3/i686-linux /usr/lib/perl5/5.8.3 /usr/local/lib/site_perl .) at /usr/lib/perlpanel/PerlPanel.pm line 27.
BEGIN failed--compilation aborted at /usr/lib/perlpanel/PerlPanel.pm line 27.
Compilation failed in require at /usr/bin/perlpanel line 27.
BEGIN failed--compilation aborted at /usr/bin/perlpanel line 27.
|
Anyone know what i'm missing? (besides gettext.pm) _________________ if at first you dont succeed, Skydiving is not for you.
#make love not war! |
|
| Back to top |
|
 |
xianx Tux's lil' helper


Joined: 09 Aug 2003 Posts: 126 Location: Canada
|
Posted: Thu Apr 29, 2004 5:35 pm Post subject: |
|
|
I did a search for gettext.pm, and found out that its part of the Locale-gettext ebuild.
so i just did a :
| Code: | | emerge Locale-gettext |
and it works! _________________ if at first you dont succeed, Skydiving is not for you.
#make love not war! |
|
| Back to top |
|
 |
z0rr0 n00b

Joined: 23 Feb 2004 Posts: 38
|
Posted: Fri Apr 30, 2004 3:45 am Post subject: |
|
|
xianx did you used my ebuilds?
if yes then did they worked nicely and does panel work nicely too?  |
|
| Back to top |
|
 |
AJerman n00b


Joined: 16 Apr 2004 Posts: 22 Location: Oklahoma
|
Posted: Fri Apr 30, 2004 3:52 am Post subject: |
|
|
Wow, thats really nice looking. I'll have to remember to try it out some time. For now, I'm happy with my Gnome Very nice work jodrell. |
|
| Back to top |
|
 |
xianx Tux's lil' helper


Joined: 09 Aug 2003 Posts: 126 Location: Canada
|
Posted: Fri Apr 30, 2004 8:54 pm Post subject: |
|
|
| z0rr0 wrote: | xianx did you used my ebuilds?
if yes then did they worked nicely and does panel work nicely too?  |
Yeah i used them. They worked ok, except that i was missing Locale-gettext.
Also, there was some like error during emerge, but it was just a wierd output, didnt affect the build process. _________________ if at first you dont succeed, Skydiving is not for you.
#make love not war! |
|
| Back to top |
|
 |
befortin Apprentice


Joined: 10 Feb 2004 Posts: 193
|
Posted: Fri Apr 30, 2004 9:40 pm Post subject: |
|
|
| Ohh damn, another thing that I'll have to try!!! |
|
| Back to top |
|
 |
z0rr0 n00b

Joined: 23 Feb 2004 Posts: 38
|
Posted: Sat May 01, 2004 8:33 am Post subject: |
|
|
| xianx wrote: | | z0rr0 wrote: | xianx did you used my ebuilds?
if yes then did they worked nicely and does panel work nicely too?  |
Yeah i used them. They worked ok, except that i was missing Locale-gettext.
Also, there was some like error during emerge, but it was just a wierd output, didnt affect the build process. |
Ok. But do you see all the icons in your panel (like shutdown and reboot). |
|
| Back to top |
|
 |
BinaryReality n00b

Joined: 08 Apr 2004 Posts: 7 Location: sweden
|
Posted: Sun May 02, 2004 11:20 pm Post subject: problem |
|
|
Hey guys,
This app looks real great.
Can't wait to get it running.. (been a linux/gentoo user for a few weeks now.. well.. running system - a few days)
But here comes the problem - I've put the ebuilds that you've posted here in the correct directorys, but when I do the emerge as said with FEATURES and all, it just says 'error calculating dependencies' and 'all ebuilds that could satisfy perlpanel have been masked' and so on.
Very strange indeed.
Of course I'm dooing something wrong, but do you perhaps have an idea to what I'm doing wrong?
Thanks in advance
/Marcus |
|
| Back to top |
|
 |
xianx Tux's lil' helper


Joined: 09 Aug 2003 Posts: 126 Location: Canada
|
Posted: Mon May 03, 2004 1:53 pm Post subject: |
|
|
| z0rr0 wrote: |
Ok. But do you see all the icons in your panel (like shutdown and reboot). |
No i dont see those icons in my panel. _________________ if at first you dont succeed, Skydiving is not for you.
#make love not war! |
|
| Back to top |
|
 |
z0rr0 n00b

Joined: 23 Feb 2004 Posts: 38
|
Posted: Mon May 03, 2004 3:01 pm Post subject: |
|
|
| xianx wrote: | | z0rr0 wrote: |
Ok. But do you see all the icons in your panel (like shutdown and reboot). |
No i dont see those icons in my panel. |
same prob here
i dont know is it ebuilds fault or no. ( i have tried to install perlpanel from source too ). Mby some smarter people could help us  |
|
| Back to top |
|
 |
BinaryReality n00b

Joined: 08 Apr 2004 Posts: 7 Location: sweden
|
Posted: Mon May 03, 2004 10:28 pm Post subject: mmm |
|
|
Ya.. Tried to install it from source, but with no luck. /:
A big shame, since it looked realy nice.
But hey - what's a couple-of-days-linux-user gonna do? /:
Oh.. Nautilus is done! |
|
| Back to top |
|
 |
Bungopolis Apprentice


Joined: 31 Jan 2004 Posts: 198 Location: San Francisco, CA, USA
|
Posted: Tue May 04, 2004 2:35 am Post subject: |
|
|
I tried emerging perl-panel using z0rr0's ebuilds. I just added the line | Code: | | >=dev-perl/Locale-gettext |
to the DEPEND section of perlpanel-0.4.1.ebuild
I also emerged with FEATURES="-sandbox" in order to make icons work by default as suggest on the first page of this thread:
| Code: | | FEATURES="-sandbox" emerge perlpanel |
I just got an error however:
| Code: | --- No package manifest found: /usr/local/portage/dev-perl/glib-perl/Manifest
!!! No package digest file found: /usr/local/portage/dev-perl/glib-perl/files/digest-glib-perl-1.042 |
What to do? |
|
| Back to top |
|
 |
Bungopolis Apprentice


Joined: 31 Jan 2004 Posts: 198 Location: San Francisco, CA, USA
|
Posted: Tue May 04, 2004 3:13 am Post subject: |
|
|
I fixed that last error with:
| Code: | | ebuild glib-perl-1.042.ebuild digest |
I then got many of the same errors, and did the same for each ebuild. Some kind of file corruption... |
|
| Back to top |
|
 |
Bungopolis Apprentice


Joined: 31 Jan 2004 Posts: 198 Location: San Francisco, CA, USA
|
Posted: Tue May 04, 2004 3:16 am Post subject: |
|
|
| Installed perfectly! It looks great, and all the icons work too. Thanks z0rr0. |
|
| Back to top |
|
 |
z0rr0 n00b

Joined: 23 Feb 2004 Posts: 38
|
Posted: Tue May 04, 2004 1:49 pm Post subject: |
|
|
even shutdown and reboot icons? Btw ill update teh ebuilds then  |
|
| Back to top |
|
 |
Plastic l33t

Joined: 24 Mar 2004 Posts: 649
|
Posted: Tue May 04, 2004 11:52 pm Post subject: |
|
|
| When I iconify (minimize) stuff in fluxbox, it disappears from the panel taskbar. The only way to get it to reappear is to cycle to another workspace and back. Anybody know how to fix this? |
|
| Back to top |
|
 |
filR n00b


Joined: 16 Apr 2004 Posts: 73 Location: Austria
|
Posted: Wed May 05, 2004 7:54 am Post subject: |
|
|
dev-perl/Locale-gettext is installed.
and i can locate "Locale/gettext.pm" at "/usr/lib/perl5/vendor_perl/5.8.3/i686-linux"
but, when i try starting perlpanel i get the following error:
| Code: | Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib/perlpanel /etc/perl /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.3/i686-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/local/lib/site_perl .) at /usr/lib/perlpanel/PerlPanel.pm line 27.
BEGIN failed--compilation aborted at /usr/lib/perlpanel/PerlPanel.pm line 27.
Compilation failed in require at /usr/bin/perlpanel line 27.
BEGIN failed--compilation aborted at /usr/bin/perlpanel line 27. |
ps // i used the ebuilds provided above
with added >=dev-perl/Locale-gettext and FEATURES="-sandbox" emerge perlpanel
--
cheers
phil |
|
| Back to top |
|
 |
kRock n00b


Joined: 28 May 2003 Posts: 73 Location: portland, or
|
Posted: Wed May 05, 2004 10:37 pm Post subject: |
|
|
| filR wrote: | dev-perl/Locale-gettext is installed.
and i can locate "Locale/gettext.pm" at "/usr/lib/perl5/vendor_perl/5.8.3/i686-linux"
but, when i try starting perlpanel i get the following error:
| Code: | Can't locate Locale/gettext.pm in @INC (@INC contains: /usr/lib/perlpanel /etc/perl /usr/lib/perl5/site_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.3/i686-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/local/lib/site_perl .) at /usr/lib/perlpanel/PerlPanel.pm line 27.
BEGIN failed--compilation aborted at /usr/lib/perlpanel/PerlPanel.pm line 27.
Compilation failed in require at /usr/bin/perlpanel line 27.
BEGIN failed--compilation aborted at /usr/bin/perlpanel line 27. |
ps // i used the ebuilds provided above
with added >=dev-perl/Locale-gettext and FEATURES="-sandbox" emerge perlpanel
--
cheers
phil |
| Code: |
emerge Locale-gettext
|
I had the same problem, that fixed it right up. _________________ aob on irc. |
|
| Back to top |
|
 |
|