Hi all,
I know this discussion is really old, but if anyone is still looking for a solution or workaround, I may have found one, so I thought I would post it for reference.
First off, I have had a similar problem on my HP Compaq nx9010 laptop, running Lubuntu 10.04, (I know, that is really out of date), from a usb flash drive for years. I suspect that the problem is somehow related to either the fact that I am running from a flash drive, or to this specific machine, because using the same install disk to put the system onto another computer (with a hard drive) yielded a system without this issue. Anyhow, back to the computer with this issue, I discovered early on, that the easiest workaround was to simply refresh the panel as soon as the system finished booting. I would usually do this by right clicking over the panel, clicking Panel Settings, and then selecting "Top" on the Geometry tab of the resulting dialog. This resulted in the panel going to the top of the screen for a fraction of a second, and then returning to the bottom of the screen, with the elusive volume icon. However, after some googling today, I found that I could refresh the panel from the terminal by doing:
This made me wonder if I could simply put this command in the autostart process somewhere, so that it would refresh the panel during every boot, which brings me to my workaround:
First, I made the following bash shell script, (named Script), to actually do the refreshing a few seconds after the system finished booting:
Code: Select all
#!/bin/bash
sleep 3; lxpanelctl restart
and then made the file executable.
Next, I made the following resetpanel-startup.desktop file in /etc/xdg/autostart: (You will need root access to do this)
Code: Select all
[Desktop Entry]
Name=Reset Panel
Comment=Refreshes the panel
Exec=./Script
Terminal=false
Type=Application
From there, I went into Menu >> Preferences >> Desktop Session Settings, and made sure that the entry titled "Reset Panel" on the "Automatically Started Applications" tab was checked.
After doing the above, (and of course re-booting), the panel, (theoretically), gets refreshed shortly after booting, and this then brings up the volume button.
As experienced forum members will easily be able to tell, I am not an experienced programmer. Thus, feel free to improve on my rather crude workaround if you feel like it.
Anyhow, using my rudimentary programming knowledge, I can speculate that the cause of the underlying problem is probably that the panel is not getting repainted or refreshed when it is suppose to. But again, that is just a guess.
Also, I can't guarantee that this is the solution to this problem, so don't take my word for it, and use it at your own risk. I am only posting it here in the hope that it is helpful. It is simply what worked for me.
Hope that helps.
