I see a lot of people have problem with alacarte but seems nobody know how to fix it quickly.
When you run “alacarte” from your command line, you will see :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Traceback (most recent call last): File "/usr/bin/alacarte", line 36, in <module> main() File "/usr/bin/alacarte", line 33, in main app.run() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 64, in run self.loadMenus() File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 203, in loadMenus self.on_menu_tree_cursor_changed(menu_tree) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed self.loadItems(self.menu_store[menu_path][2], menu_path) File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems icon = util.getIcon(item) File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon pixbuf = info.load_icon() File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function return info.invoke(*args, **kwargs) gi._glib.GError: Error opening file: No such file or directory |
When, this problem occured because “ONE of your desktop application can’t find icon that has been referenced before”. Why this happen? Seems you’re deleting your applications and Alacarte won’t start because it’s can’t find your applications.
How to fix it? It’s simple! all of your Alacarte app-made located in
1 | ~/.local/share/applications |
You will see alacarte desktop like:
1 2 3 | alacarte-made-1.desktop alacarte-made-2.desktop alacarte-made-3.desktop |
Just open this files and see which one that have applications deleted / inaccessible / wrong path.
You can remove them or edit into correct path.
Soon after you fix it, then you can start your “alacarte” again 🙂