LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 10-24-2018, 11:26 AM   #1
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,389

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Disappearing Icons (efreet cache)


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.


https://i.imgur.com/GqRw3KR.jpg

This all gets fixed if I reboot, just showing this is a non-solution.

So ideally, I want a permanent fix.

But at least I'd like a procedure to restore tasker icons without full reboot. Menu items aren't so important.

Last edited by enigma9o7; 10-25-2018 at 11:30 AM.
 
Old 10-25-2018, 05:49 AM   #2
rrashkin
Member
 
Registered: Aug 2018
Location: San Benito, Texas, US
Distribution: Bodhi Linux
Posts: 81

Rep: Reputation: Disabled
Just a thought: does it make a difference which theme you're using?
 
Old 10-25-2018, 09:49 AM   #3
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 455

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
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:

Code:
rm -rf ~/.cache/efreet
/usr/lib/x86_64-linux-gnu/efreet/v-1.20/efreet_desktop_cache_create -d /usr/share/applications ~/.local/share/applications
/usr/lib/x86_64-linux-gnu/efreet/v-1.20/efreet_icon_cache_create -d /usr/share/icons ~/.icons -e .png .svg .jpg .xpm
enlightenment_remote -restart
For 32 bit Bodhi 5.0 try:

Code:
rm -rf ~/.cache/efreet
/usr/lib/i386-linux-gnu/efreet/v-1.20/efreet_desktop_cache_create -d /usr/share/applications ~/.local/share/applications
/usr/lib/i386-linux-gnu/efreet/v-1.20/efreet_icon_cache_create -d /usr/share/icons ~/.icons -e .png .svg .jpg .xpm
enlightenment_remote -restart
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.
 
1 members found this post helpful.
Old 11-05-2018, 10:25 AM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,389

Original Poster
Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.
 
Old 11-05-2018, 10:28 AM   #5
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,389

Original Poster
Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.
 
1 members found this post helpful.
Old 11-07-2018, 10:21 AM   #6
sixtharmy
LQ Newbie
 
Registered: Nov 2018
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 11-07-2018, 12:37 PM   #7
mowestusa
Member
 
Registered: May 2005
Distribution: Bodhi
Posts: 44
Blog Entries: 11

Rep: Reputation: 23
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.

Last edited by mowestusa; 11-07-2018 at 12:41 PM.
 
Old 11-07-2018, 11:42 PM   #8
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,389

Original Poster
Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.
 
Old 11-07-2018, 11:45 PM   #9
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,389

Original Poster
Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by rbtylee View Post

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

Last edited by enigma9o7; 11-07-2018 at 11:47 PM.
 
Old 11-08-2018, 02:45 AM   #10
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Hello there

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.

Stefan
 
Old 11-08-2018, 09:13 AM   #11
sixtharmy
LQ Newbie
 
Registered: Nov 2018
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 11-08-2018, 10:50 AM   #12
mowestusa
Member
 
Registered: May 2005
Distribution: Bodhi
Posts: 44
Blog Entries: 11

Rep: Reputation: 23
Quote:
Originally Posted by enigma9o7 View Post
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.
 
Old 11-08-2018, 11:49 AM   #13
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
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

This is an efreet info:
https://www.enlightenment.org/_legac...reet_main.html

So. No weather module is the culprit. Anyway, maybe newer efl could help. Or?

Stefan
 
Old 11-09-2018, 12:03 AM   #14
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,389

Original Poster
Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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.
 
Old 11-09-2018, 05:17 AM   #15
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 455

Rep: Reputation: 437Reputation: 437Reputation: 437Reputation: 437Reputation: 437
Quote:
Originally Posted by enigma9o7 View Post
... Cuz I haven't figured out how to restore them without reboot. ...
Does not the advice I advice above restore them without a reboot? Because in theory it should.


Code:
rm -rf ~/.cache/efreet
/usr/lib/x86_64-linux-gnu/efreet/v-1.20/efreet_desktop_cache_create -d /usr/share/applications ~/.local/share/applications
/usr/lib/x86_64-linux-gnu/efreet/v-1.20/efreet_icon_cache_create -d /usr/share/icons ~/.icons -e .png .svg .jpg .xpm
enlightenment_remote -restart
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
desktop icons disappearing on gnome dthaler Linux - Enterprise 0 08-12-2011 11:43 AM
Disappearing Icons - HELP! Myrlin SUSE / openSUSE 3 08-10-2006 12:48 PM
KDE icons disappearing..... TheCrizu Mandriva 0 12-06-2005 12:05 PM
Disappearing KDE Icons sivo Linux - Newbie 0 08-27-2003 04:33 AM
disappearing icons...::sigh:: icyfire Linux - General 3 02-28-2002 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration