linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.49k stars 729 forks source link

Error when I start Cinnamon with "cinnamon --replace" UBUNTU #121

Closed ghost closed 12 years ago

ghost commented 12 years ago

Avviso del window manager: Caricamento del tema «Adwaita» non riuscito: Ricerca di un file valido per il tema «Adwaita» non riuscita

Avviso del window manager: Log level 16: Failed to load apps: Failed to look up menu_file for "applications.menu"

JS ERROR: !!!   WARNING: 'anonymous function does not always return a value'
JS ERROR: !!!   WARNING: file '/usr/share/cinnamon/js/ui/panelLaunchers.js' line 224 exception 0 number 157

Avviso del window manager: Log level 8: gmenu_tree_get_root_directory: assertion `tree->loaded' failed JS ERROR: !!! Exception was: TypeError: root is null JS ERROR: !!! lineNumber = '594' JS ERROR: !!! fileName = '"/usr/share/cinnamon/js/ui/menu.js"' JS ERROR: !!! stack = '"()@/usr/share/cinnamon/js/ui/menu.js:594 ()@/usr/share/cinnamon/js/ui/menu.js:791 ()@/usr/share/cinnamon/js/ui/menu.js:441 ApplicationsButton()@/usr/share/cinnamon/js/ui/menu.js:391 ()@/usr/share/cinnamon/js/ui/panel.js:955 Panel()@/usr/share/cinnamon/js/ui/panel.js:896 start()@/usr/share/cinnamon/js/ui/main.js:219 @

:1 "' JS ERROR: !!! message = '"root is null"' Avviso del window manager: Log level 32: Execution of main.js threw exception: TypeError: root is null

clefebvre commented 12 years ago

Is your Gnome menu working fine?

Do you have a /etc/xdg/menus/applications.menu? What's inside it?

ghost commented 12 years ago

thanks for the answer clem... so i suppose it is my own problem... not a real bug... maybe it's an important info.. i've installed a Ubuntu command-line system... then I added only that I think it's necessary... so i suppose I miss something...

cat /etc/xdg/menus/applications.menu <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">

Applications X-GNOME-Menu-Applications.directory /etc/X11/applnk /usr/share/gnome/apps Accessories Utility.directory Utility Accessibility System Universal Access Utility-Accessibility.directory Accessibility Settings Development Development.directory Development emacs.desktop Education Education.directory Education Science Science GnomeScience.directory Education Science Games Game.directory Game ActionGame AdventureGame ArcadeGame BoardGame BlocksGame CardGame KidsGame LogicGame Simulation SportsGame StrategyGame Action ActionGames.directory ActionGame Adventure AdventureGames.directory AdventureGame Arcade ArcadeGames.directory ArcadeGame Board BoardGames.directory BoardGame Blocks BlocksGames.directory BlocksGame Cards CardGames.directory CardGame Kids KidsGames.directory KidsGame Logic LogicGames.directory LogicGame Role Playing RolePlayingGames.directory RolePlaying Simulation SimulationGames.directory Simulation Sports SportsGames.directory SportsGame Strategy StrategyGames.directory StrategyGame Graphics Graphics.directory Graphics Internet Network.directory Network Multimedia AudioVideo.directory AudioVideo Office Office.directory Office System System-Tools.directory System Settings Game Preferences Settings.directory Settings System X-GNOME-Settings-Panel Administration Settings-System.directory Settings System X-GNOME-Settings-Panel Other X-GNOME-Other.directory Core Screensaver X-GNOME-Settings-Panel Debian debian-menu.menu Debian.directory ubuntu-software-center.desktop ubuntu-software-center.desktop
ghost commented 12 years ago

solved using ppa on ubuntu