Sorry, I've just looked now. This report appears to be where the action is: https://bugs.launchpad.net/ubuntu/+s...el/+bug/846878 ...but unfortunately there does not appear to be any solution yet. I'm not sure if at this stage it's worth adding anything to that or if I should just wait for it to be resolved?
Anything such as 'I'm having the issue as well on an NC10'. So I suppose no, I shall continue to wait... Thanks.
EDIT: I followed these instructions on the bug report as a workaround:
...however the new battery monitor doesn't work and just says that my battery is 100% all the time. But now I can't seem to get the original xfce4-power-manager back as I selected 'never show icon'. I presume I'm missing something basic, how can I get the regular (broken) one back?As mentioned further up:
Clean up the Panel
lxpanelctl restart
In xfce4-power-manager
Set "System Tray Icon" to the "Never Show Icon"
Then install the non default batter monitor
sudo apt-get install xfce4-battery-plugin
And add it to your panel
Last edited by erchinoald; December 17th, 2011 at 04:12 PM.
If you are not the one who reported that bug but that bug affect you too then you can simple click on "This bug affects 6 people. Does this bug affect you?" and leave a comment if you like.
I'm currently on Lubuntu 11.04 (doing some tests) and I need to restart but I have to leave the house and go to the clinic so will check it later. In the meantime, you can remove the applet from LXPanel and re-add it, logout or restart then check whether it's back or not.EDIT: I followed these instructions on the bug report as a workaround...however the new battery monitor doesn't work and just says that my battery is 100% all the time. But now I can't seem to get the original xfce4-power-manager back as I selected 'never show icon'. I presume I'm missing something basic, how can I get the regular (broken) one back?
@erchinoald
Check this thread from the beginning, I think the workaround is mentioned there somewhere. Sorry again but I must go!
Thanks, I got back to it now - I just had to navigate to the settings screen via terminal.
Frustratingly, all of this has caused me a new problem. Now whenever I return from suspend, I am asked to enter my password on a weird xscreensaver 5.14 login screen. It doesn't look like a normal login screen, and in any case I have screen locking switched off! Linux can be so trying for newcomers...
Glad you managed that
I don't Suspend at all so I have no problems.Frustratingly, all of this has caused me a new problem. Now whenever I return from suspend, I am asked to enter my password on a weird xscreensaver 5.14 login screen. It doesn't look like a normal login screen, and in any case I have screen locking switched off! Linux can be so trying for newcomers...
Since you are newcomer, please read this: http://linux.oneandoneis2.org/LNW.htm
It has nothing to do with your issue but it will enlighten your path
Here is my work-around
In a terminal shell, type:
Now in that editor window, paste the following:sudo mkdir -p /usr/local/bin
gksudo gedit /usr/local/bin/lxpanel-reset.sh
Save the file end exit the editor. Back at the terminal shell prompt, type:#!/bin/sh
# only kill panel on current X11 DISPLAY
kill `ps e -Clxpanel | grep "DISPLAY=$DISPLAY" | awk '{print $1}'`
# restart
cd ; nohup lxpanel -p LXDE &
Open a new shell, you should be able to type "lxpanel-reset.sh" and the lxpanel should restart on command.sudo chmod a+rx /usr/local/bin/lxpanel-reset.sh
Now, we want a button on the toolbar to do this for us, so it's jsut a single click. So in a terminal shell, type:
Now in that file, paste in the followingmkdir -p ~/.local/share/applications
gedit ~/.local/share/applications/lxpanel-reset.desktop
Save that, and now the "lxpanel reset" program shows up in the main LXDE menu under "Accessories". Logout and login to be sure.[Desktop Entry]
Categories=Utility;GTK;
Comment=Kill lxpanel and restart with LXDE profile
Exec=/usr/local/bin/lxpanel-reset.sh
Icon=reload
Name=LXPanel Restart
NoDisplay=false
StartupNotify=false
Terminal=false
Type=Application
Now on the lxpanel, right click, goto "Panel Settings", click the "Panel Applets" tab, click "+ Add" , find and click "Application Launch Bar", click the "+ Add" button at the bottom, now back in "Panel Applets" the new Application Launch Bar is at the bottom of the list. Click on it, then click the "Edit" button on the side. A new window pops up (you might have to move the "panel preferences" window to the bottom of the screen to get at the new window).
In the new window (Application Launch Bar) click the small triangle to expand that submenu list. Scroll down to "LXPanel Restart" and click it, then in the middle of that window click the "+ Add" button. Then click "Close" at the bottom.
Now back in "panel preferences", you can click that "Application Launch Bar" (last entry in the "panel applets" list), and use the "Up" / "Down" buttons to position it.
Now, if your system tray goes wonky, just click that lxpanel reset icon and it will reset it.
I almost didn't use LXDE at all because of this issue, but I find clicking that button takes a fraction of a second, so doing that 10x a day is not a chore; i hardly notice it.
A half-decent workaround I've found it to automatically restart your panel on resume. I added a script to /etc/pm/sleep.d called reset_panel:
You gotta add the 'sleep' part, I suspect 'cause the icon movement happens after this script executes.Code:#!/bin/bash case "$1" in suspend|hibernate) #do nothing ;; resume|thaw) sleep 5 && lxpanelctl restart ;; *) exit 1 ;; esac exit 0
(I more or less copied a script I found in the same directory, called restore_brightness, which I think is a Toshiba thing)
Using Lubuntu 11.10 on a Toshiba r835, very pleased so far. System has yet to crash, everything works out of the box. Lots of little tweaks to get Lubuntu juuuust how I like it, of course.
EDIT: I had to refine this script a little, as described here: http://askubuntu.com/questions/10727...ume-in-lubuntu
The improved script:
Code:#!/bin/bash case "$1" in suspend|hibernate) #do nothing ;; resume|thaw) export DISPLAY=:0 #What does this do? Are there side effects? sleep 5 && lxpanelctl restart & #Delayed so the battery icon can finish wrecking shop. ;; *) exit 1 ;; esac exit 0
Last edited by Andrew York; February 25th, 2012 at 05:41 AM.
Bookmarks