You are not logged in.

#1 2014-08-19 04:53:47

aditya3098
Member
From: In front of the computer
Registered: 2014-05-01
Posts: 53
Website

Freedesktop menu takes forever to load

I switched to awesome wm and I found some configs on the internet and used them as my rc.lua. I ran into an issue, that my awesome took about 10 seconds to startup. I was kinda shocked and placed these at strategic locations in my rc.lua:
os.execute("date >> ~/TimeAWM")
I tracked the issue down to the freedesktop menu import:
require("freedesktop/freedesktop")
I figured that it was indexing my applications folder, and was taking so much time. However, the "menubar" package, which also searches the same folders, takes only about a second and a half to do so. Why does the freedesktop menu take so long? How ca I fix it?

Offline

#2 2014-08-19 12:55:53

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Freedesktop menu takes forever to load

Please post your "rc.lua" file. Where did you get the code from? What is "freedesktop/freedesktop"? Is that also a file you copied from the Internet? Can you post it?

Offline

Board footer

Powered by FluxBB