You are not logged in.
Pages: 1
Hey guys,
I'm trying to hunt down an answer to this, but no luck in various LXDE channels.
I want to NICELY reload the lxpanel, so updates to the config file (~/.config/lxpanel/LXDE/panels/panel) can be reloaded. I notice when I change, say, the font color with "Panel Settings" that lxpanel immediately adjusts with no flickering or anything, it just nicely adjusts. This is what I want. But all I can get lxpanel to do is an ugly shutdown/reload that makes it flicker, either with a kill/load script, or the command 'lxpanelctl restart'.
I've nearly finished a little script to play with the lxpanel GUI, and this is the last piece of the puzzle. Any help would be gold.
Offline
Chris:
For me, lxpanel can be seen getting killed and then reloading, this is the ugly method I'm trying to get around
Offline
What exactly are you changing in the panel file that you can't do with the Panel Settings?
Offline
Trixar,
I have made a simple script which changes the lxpanel font color in relation to the battery level. So, it starts off green at full power, then dwindles down to dark read. This is done by changing the ~/.config/lxpanel/LXDE/panels/panel config file where it simply says "fontcolor=#somehexnumber". All it needs is something to update it nicely, without a flcikering mess such as with a full shutdown/restart -- which is something Panel Settings is able to do, which "lxpanelctl restart" fails at, as well as a manual kill/reload script (as far as I know).
By using the panel's font color to "piggy-back" battery information into, I can eliminate a seperate battery monitor icon in the task tray altogether.
I just have this final little issue in my way to a better GUI.
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]