BodhiThis forum is for the discussion of Bodhi Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been mentioning this in discord, but decided it's worthy of a forum post as I still have no solution.
The problem is that intermittently, most menu and tasker icons turn blank and stay that way. I just tried to take a screenshot as an example, but the printscrn key doesn't seem to function when menu is open... here it is so you can at least see the tasker is misking icons for gradio and discord, but firefox still has one. https://i.imgur.com/W2deaEA.jpg
So, one solution that works, is
Code:
rm -rf ~/.cache/efreet
reboot
This was good enough when it only happened occasionally, but lately it's happening every day so I need something better as I don't like rebooting as this computer is a media server and could be in use.
In discord it was suggested try resetting moksha (twice) after the delete, but that doesn't work. In fact, it makes things worse. That blanks out ibar icons too, turns some tasker icons to question marks, and restores some. In this case, firefox and lxterminal have question marks, gradio and discord got their icons back. Also it does something weird to the background of the qbittorrent system tray icon and put some system menu icons back in the menu but they're not from my normal theme, they're all green, and didnt restore application icons.
I hate to offer advice on a problem I don't have and or can't duplicate.
But anyway lets try to force efreet to rebuild the icons caches.
If you are using 64 bit Bodhi 5.0 then try:
For any other version of Bodhi find where the efreet programs used above are installed and adjust the paths accordingly.
As for a permanent solution you need find out what is causing this issue. Anything showing up in any system log? How much memory do you have? I have noticed enlightenment/moksha and other apps not working well when the system runs low on memory and too much stuff is in swap. Altho for the record I don't have this problem but used to have it alot back around bodhi 1.x and earlier EFL versions. But I do push my systems to the max. Wish I could offer more.
There's one other person in discord who is also having this occur regularly. Both of us have tried removing the forecast module from our shelf, and it seems to be working. This is the longest I've gone w/o losing icons that I can remember.
Someone on discord said they have forecast on their desktop and never had a problem. So I'm curious if anyone else has this problem, if they have forecast in shelf. And conversely, if anyone has forecast in their shelf and doesn't have this issue. In an effort to see if it's just coincidence or not.
rrashkin: I didn't try another theme, but that's a good thought. If it reoccurs I'll try that, and also ask the other person if they happen to use the MokshaGreen theme as I do.
Thank you enigma9o7. I've been having the same disappearing menu icons problem. It occurred repeatedly every day while using several different themes (default, detourious, MokshaBlueElectric, MokshaMoonlight, and MokshaRadiance). A simple reset of Moksha or a reboot would restore the icons, but the missing icons were annoying. I'm currently using MokshaRadiance. I removed the Forecasts module from the shelf on which I had it (though I didn't unload the module), and after several hours of use my menu icons remain unchanged. Thanks again.
I'm the other person on Discord that had the same issue as enigma9o7. I was also running the forecast module on the shelf with the default theme MokshaGreen. I also can verify that since I removed the forecast module over a week ago, I have kept my icons, and have not experienced an efreet cache crash yet.
So 3 users with probably 3 different kinds of hardware, but removing the forecast module on the shelf fixed the efreet cache.
I also have Bodhi 5.0 running on an even older computer with the forecast module running on the shelf and that machine has not experienced an efreet cache crash either, so I can understand that the developers will have a tough time tracking this bug down, because it seems to be hardware related with the forecast module playing a role in the crashes on only some machines.
I am thankful that simply removing the forecast module resolved a very annoying issue. I would rather live without the forecast module then jump to other distro. I'm really enjoying using Bodhi Linux on both my work and home machines.
Is by any chance your older machine running legacy and the affect one 64-bit? I don't have it installed on my legacy machines so dunno, but maybe it only affects 64-bit.
Anyway a third person. Starting to sound less like coincidence. And I agree, I don't really need a forecast, but if it worked would keep it, but certainly not at the cost of regular efreet cache fail.
As for a permanent solution you need find out what is causing this issue. Anything showing up in any system log? How much memory do you have? I have noticed enlightenment/moksha and other apps not working well when the system runs low on memory and too much stuff is in swap. Altho for the record I don't have this problem but used to have it alot back around bodhi 1.x and earlier EFL versions. But I do push my systems to the max. Wish I could offer more.
If it happens again I'll try the part I didn't quote. I'm not familiar with viewing my system log but should look into it, cordx reccommended a log viewer app recently I've been meaning to try. I have 6GB and rarely use swap.
Convince all the developers to put weather in their shelf, see if it starts happening for any of you guys
You claim the weather gadget on the shelf can cause the icon missing? I doubt. I know how the module works. It has nothing to do with the icons. The icons missing sometimes happens also here and I have never had weather gadget on the shelf. Everytime this happens, I just do rm -rf ~/.cache/efreet. And they are back. Anyway, I did not do any research about the reason why it use to happen. Maybe I will.
I don't know what to tell you Stefan, except that after removing the weather gadget I no longer have disappearing menu icons. As you say, getting the icons to re-display is trivial, nor is it really necessary since the menu still works without the icons. However, it was aesthetically annoying, and to me removing the annoyance is worth the loss of weather info. My hardware isn't new, but neither is it ancient: AMD Phenom II X4 955, ASUS M4A78, 16GB DDR2, Radeon HD 7750. This is a new install of Bodhi 5 and the problem's occurred with both Radeon and amdgpu-pro drivers. I'm no linux wizard, but I've been using Bodhi since Jeff first released it and I was using either debian or ubuntu before that. Good luck finding out what causes your disappearing icons.
Is by any chance your older machine running legacy and the affect one 64-bit? I don't have it installed on my legacy machines so dunno, but maybe it only affects 64-bit.
Anyway a third person. Starting to sound less like coincidence. And I agree, I don't really need a forecast, but if it worked would keep it, but certainly not at the cost of regular efreet cache fail.
No, the older machine is a 1st gen AMD dual core with the 64bit install of Bodhi. I used the same install medium for both computers. I can understand Stefan's statement. He is the second developer that can't imagine a connection between efreet cache crashes and the weather module so it seems like an unlikely connection.
I do feel that it isn't completely trivial issue when the icons disappear. The icons also disappear from the "everything launcher" which I find hampers the use of that tool. Also the icons enable me to find the menu entry that I'm looking for more quickly because I often have the color of the icon catch my attention. Also sometimes a refresh of the Moksha desktop after an efreet cache fail caused other elements like the shelf or other UI items to fail too. One time a refresh after an efreet cache fail left me with an unusable desktop, and I had to drop down to a terminal and do a forced "shutdown -h now" to reboot the computer and get everything working again. Admittedly that happened once out of 20+ times of just doing a "refresh" to get the icons back before I tried removing the weather module and havn't had issues since. I appreciate any work the developers can do on this bug, but it sounds like a tough one to track down.
OK guys. I asked guys on #e to help me with efreet bug. This is my conversation with raster:
<the_waiter> raster: sorry I know little about efreet. Can you tell me more?
<raster> but i'd need to reproduce it reliably to hunt it
<OnlyHuman> efl 1.21.1 might be better than efl 1.20.7 not sure if efreetd annoyance was ever fixed
<raster> well libefreet is linked into apps
<raster> it provides api' s that can load/parse desktop files
<raster> and that can load the efreetd cache files inot memory
<raster> it also will try and connect to efreetd if it exists
<raster> i the connections fails any app will sawn efreetd
<raster> spawn
<raster> so basically "first in wins"
<raster> efreetd scans the xdg dirs (icons, desktop) and sets up file monitors for them
<the_waiter> Yes onlyhuman, that is why I am asking here. If e-devs were solving this issue...
<raster> if anything changes in these it re-runs aniother efreet cache binary that generates the cache (or ere-rgenerates it)
<raster> thsi bionary loads all these dirst and files and indexed them into the cache dir
<raster> efreetd will run this bin if no cache exists
<raster> or if itsa scan of dirs and the files show it to be inconsistent with the cache data
<raster> thats the big picture
<OnlyHuman> doesn't bodhi update efl pkgs?
<raster> i dont know every detail - i didnt write it
<raster> i do know i dsilike the way the cache is laid out
<raster> i also think the cache couldbe vastly improved by not having efreet rely on opening the png/svg etc. files from the /usr/share etc. filesystem but the cache should actuallyimport this data directly into the efreet cache files
<raster> so literall yload and re-encode icons, desktop data etc.
<raster> the cache files also should be directly mmaped
<the_waiter> Oh, I ve just find sth
<the_waiter> https://www.enlightenment.org/_legac...reet_main.html
<raster> and not decoded into ram - save memory by sharing all the same mmaped files on disk
<raster> on my eternal list of things to do is rewrite it to be more like the above
<the_waiter> hmm, thx for info
<raster> but its lowish on my priority list
<raster> vs other things
<the_waiter> understand, not a big issue I know
<the_waiter> I just expected the answer: "yea, I know there was this issue and it was fixed with commit no: blabla"
<raster> the_waiter: sorry - nope. don't have that
It can't be coincidence. I've never gone this long w/o losing icons.
I don't even care much about the menu icons. The one that affect me are the ones in my taskbar for open apps (tasker I think its called). Also, every time it happens, the weather module stops responding.
And for me, it isn't trivial. Cuz I haven't figured out how to restore them without reboot. And I run a media server for my AirBNB and so I can't just reboot whenever I feel like it, I have to check to make sure guests aren't streaming anything first, and most of the time in the evenings someone is, etc.
But for now my problem is solved, since I removed weather.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.