Monday, November 7, 2011

LXDE "Theme Issue" work around.

(!) Warning there is not warranty for this guide. However we have taken great steps to make sure it is safe.
LXDE "Theme Issue" work around for some themes on the LXDE Desktop.

RAVEfinity Team: During our recent test process we have discovered quite a major issue within the LXDE desktop Panel. (Version 0.5.8 Only)
When using ANY Theme with a "panel background image" the LXDE-Panel program consumes 80% CPU! NOT GOOD. This consumption is constant. until you change themes or logout.
This will effect ANY GTK theme with a panel background Image not just ours so please take note.
This effects the LXDE desktop Only. No other desktops are effected.
This Effects any theme with a panel background using LXDE Panel. (Version 0.5.8 Only)

This issue effects the fallowing configurations ONLY:
LXDE desktops with Panel Version (0.5.8) That would be Ubuntu 11.10, Fedora 16 , Mint 12, Debian Testing (And possibly newer) ONLY
Ubuntu 10.04, 10.10, 11.04. Fedora 14, 15. Mint 9 ,10 ,11 and Debian 6. Are NOT effected by this so DO NOT WORRY.
This effects Themes with a panel background image. A background image specified within the theme and not via the lxde panel dialog (Some more simple themes just use a single color and are not effected)

To check if you are "effected": Simply right click on the LXDE panel and select "About" If you see "Version 0.5.8" Then you most likely are. If you see
"Version 0.5.7" or LOWER you SHOULD be ok.

To verify if you are effected: If you are using "Version 0.5.8" Then open up a "System Monitor" program of your choice. And check your CPU use. (Be sure to not have any other apps running at this time.) Alternately you can open up a terminal and type "top". Now inspect your CPU use. If you see a program called "lxde-panel" consuming a lot of CPU (60-100%) Then you need to use the work around or change themes. THIS IS NOT NORMAL and if not fixed can lead to overheating in some MAJOR cases.

The Work Around.
(Depends on your theme, For Ambiance & Radiance LXDE or Colors version by RAVEfinity do this.)

1.) Right click on the LXDE panel (The strip on the bottom or top of your desktop that holds your menu and clock)

2.) Select "Panel Settings" From the right click menu.

3.) You should see a window called "Panel Preferences" Click on the "Appearance tab"

4.) Once in the appearance tab. You will see a category called "Background" Change the selected (Or bubbled) option from "System theme" to "Image"

5.) Now click on the "Big square box with the folder icon" directly right of the "Image" Option. This allows you to browse to the desired image.

6.) You should see a window called "Select and image" In Ambiance & Radiance LXDE or Colors version by RAVEfinity you can browse to the fallowing paths...

7.) In the window called "Select and image" Click on "file-system" on the left-hand side. Now Browse to the folder "usr" then the folder "share" then the folder "themes"
EG. /usr/share/themes/

8.) Once in the folder path "/usr/share/themes/" Browse to the folder of current theme you are using...
Lets say you are using "Ambiance-Xfce&LXDE" then you would open the folder "Ambiance-Xfce&LXDE" then ---> "gtk-2.0" then ---> "apps" then ---> "img" Then finally click on the file "panel.png" and click open!

9.) You did it! now all you have to do is logout and log back in for the entire panel theme change to take effect.

If you are using Ambiance-Blue-Xfce&LXDE (Or any other color or version.) The same thing goes just click on that folder. Eg.
you would open the folder "Ambiance-Blue-Xfce&LXDE" then ---> "gtk-2.0" then ---> "apps" then ---> "img" Then finally click on the file "panel.png" and click open!

Then You did it! now all you have to do is logout and log back in for the entire panel theme change to take effect.

(?) What about other themes?
You would repeat steps 1-7 then find the folder of your theme in "/usr/share/themes/" then open the "gtk-2.0" and look for a file called "panel.png" if there isn't one your theme may be creating it's own from code.To still do the fix simply:

(!) NOTE! you may not be effected at all if this is the case! please double check you are! (see above) if you still are try this:

1.) Right click on the LXDE panel (The strip on the bottom or top of your desktop that holds your menu and clock)

2.) Select "Panel Settings" From the right click menu.

3.) You should see a window called "Panel Preferences" Click on the "Appearance tab"

4.) Once in the appearance tab. You will see a category called "Background" Change the selected (Or bubbled) option from "System theme" to "Solid Color (with opacity)" now select a color that matches your theme!

Things to know.


1.) After making these changes you need to log-in and back out for the changes to properly take effect.

2.) You will NEED to manually change the panel background every-time you change or update your theme! Simply repeat the steps browsing to the folder of the new theme.


3.) If you want to get the default LXDE look (Stock) back, just do this:

a.) Right click on the LXDE panel (The strip on the bottom or top of your desktop that holds your menu and clock)

b.) Select "Panel Settings" From the right click menu.

c.) You should see a window called "Panel Preferences" Click on the "Appearance tab"

d.) Once in the appearance tab. You will see a category called "Background" Change the selected (Or bubbled) option from "System theme" to "Image"

e.) Now click on the "Big square box with the folder icon" directly right of the "Image" Option. This allows you to browse to the desired image.

f.) You should see a window called "Select and image"

g.) In the window called "Select and image" Click on "file-system" on the left-hand side. Now Browse to the folder "usr" then the folder "share" then the folder "lxpanel"

h.) Once in the folder path "/usr/share/lxpanel/" click on the file "background.png" and click open!

(!) now logout and back in.

4.) If you are using lubuntu or a different theme that is not effected and want to revert back to it's default look just do this.

a.) Right click on the LXDE panel (The strip on the bottom or top of your desktop that holds your menu and clock)

b.) Select "Panel Settings" From the right click menu.

c.) You should see a window called "Panel Preferences" Click on the "Appearance tab"

d.) Once in the appearance tab. You will see a category called "Background" Change the selected (Or bubbled) option to "System theme"

(!) now logout and back in.

Notes: We don't know how long this issue will persist but it is fairly serious so thus we have responded with this work around. Once it is fixed you will need to revert the work around
with one of the steps mentioned here (In the Things to know section) Unless you update to a newer distro :)

No comments:

Post a Comment