anyone has notice that lxpanel disappear when, often, closing firefox ? I put the panel
upside . Perheaps it's more stable when fixing it downside ?

LXPANEL is not stable
(10 posts) (5 voices)-
Posted 13 years ago #
-
Actually, lxpanel (and everything in lxde) is quiet unstable.
On my laptop lxpanel always crashes with floating point exception (cause of laptop battery applet).Posted 13 years ago # -
Yup, lxpanel is not very stable. A work-around is to include a lxpanel launch command within right click menu of Openbox, to launch it again as soon as crashed.
In order to insert the command, right-click somewhere on the desktop, open "Openbox" submenu and choose "Openbox menu" option, it will launch Openbox configuration file in leadpad (or whatever is your default text editor).See what already exists in
<!-- Favorites applications -->
section and add after the last existing item:<item label="LxPanel">
<action name="Execute"><command>lxpanel</command></action>
</item>Recharge Openbox and you will see your newly added command in "Favorites applications" submenu in right-click menu.
Hoping it helps,
--BabaorumPosted 13 years ago # -
There may be another solution to this that I have been thinking of.
Basically, you do a while loop with a sleep period within nohup to do it. If the application is active, it won't start it, but the moment it goes off line, the loop will trigger and after the sleep period it would restart the application. It should look like this:
nohup sh -c "while sleep 2 ; do lxpanel >> /dev/null 2>&1 ; done" > /dev/null 2>&1 &
What happens is that after two seconds after lxpanel dies, this little script will bring it back. You can put it in the auto-started applications file in openbox. I haven't really tested it since I've switched to xfce4, but it's worth a shot ;)
Posted 13 years ago # -
Thx both for your answers,
Is it possible to create/modify a pluging into Lxpanel ? There is a kind of directory menu but it always come with a "Open in a terminal" beside opening the directory with pcmanfm as casual . Could be interessting to make it like "Places" in ubuntu menu
Posted 13 years ago # -
I seemed to have found a newish fork of lxpanel: http://code.google.com/p/lxpanelx
Going to have quick look at it and see what's new ;)
Posted 13 years ago # -
I been through this before! I thought I was going crazy or some Vampire cracker
got a hold of me! But after awhile I found that after browsing Firefox I too
suffered from the "Vanishing Panel". So I came up with this simple program
that summonded my beloved panel......I've included the source code...I tried to upload
the text file & .c but its against the rulesSo here it is at a glance...
/*
tru_fight3r
gcc version 4.4.1 (GCC)Problem:
vanishing lxpanelSimple solution:
1) a pseudo shell script that forks it b@ 2 life
2) just click "xp" whenever lxpanel takes a break >:)Notes:
this as shell script = 39.kb (phat)
but when done from C = 5.9kb (tiny)It works for me, hope it does 4 u!
*/
#include <stdio.h>
int main(void)
{
system("lxpanel &");
return 0;
}Posted 13 years ago # -
Inspired by Trixar_za I wrote this little add-in to "menu.xml"
What does it do?:
It creates and kills lxpanel at willWhy kill it?:
For fun, or for whatever purpose (mainly if you have another systray or panel running)1) So go to the last item...(</item>)
press enter, then add this...# new-code--> revive lxpanel
<item label="LiveXP">
<action name="Execute"><command>lxpanel</command></action>
</item># new-code--> kill lxpanel
<item label="KillXP">
<action name="Execute"><command>killall lxpanel</command></action>
</item>2) Now iconify all the windows & right click anywhere on the desktop
3) Follow these steps.........Openbox/Resart
And voila! You should now have a quick & easy lxpanel shifter
(I know the name is corny, but it works! (Chef Ramsey Accent) )Posted 13 years ago # -
AMHO you could unite the two commands:
<item name="Revive lxpanel"><action name="Execute"><command>killall lxpanel && lxpanel</command></action></item>
Posted 13 years ago # -
@ Babaorum thats actually what I did to my desktop. By doing this a new door has been opened,
I will now write shortcuts to all the cool code I write! Slitaz is volumes better than WindowsPosted 13 years ago #
Reply
You must log in to post.