PDA

View Full Version : N770 How to restore missing desktop menu bar and theme?


mardin
06-27-2010, 11:41 AM
EDIT: Nevermind, I've mostly restored it to working order.


I have been running the latest OS2006 on my N770 from a 2GB MMC card using fanoush's boot menu and other modifications.

I tried installing Canola2, lost my application menu, then lost all menu icons after trying to apply a new theme (one of the default Themes 1-4) and getting a "not enough memory" error.

I have SSH access and I can also get into the system from my old Internal Flash system, so I hope someone can offer suggestions on how to manually restore a working desktop theme and application menu icons from the command line (and resolve the "not enough memory" errors).

Please make your suggestions as detailed as possible, including exact commands and all directories and filenames that I would need to check and restore.


The long story:

It was working fine until I recently tried to add a few programs. I added ScummVM, xkbd and Streamtuner. All of those seemed to run fine (except I wasn't seeing any stations in Streamtuner).

Then I tried to install Canola2 following the instructions here:

http://openbossa.indt.org/canola/install_second.html

After the third step when I rebooted, the Application Menu on the left hand side menu of the desktop was completely empty. So, in an effort to restore it, I tried to change to one of the other default Themes (1-4). When I tried to apply the new theme, I got an out of memory error. So, I restarted again.

Now, my desktop is missing all menu buttons, except for the top buttons (connections, volume, brightness, battery). Those four buttons are shifted to the left of normal and when I use any of the buttons, all the dialog popups are shifted to the left and partly extend beyond the left side of the screen. The popup dialogs are also not themed or skinned, they seem to have the default gray windows of gtk. Also some fonts are missing, as shown in the Connection Manager, where the connection name is missing.

Every time I try to Apply a different theme, I get an out of memory error.

Since this system is on the MMC, I can still boot from the internal flash to access the mmc2 system partition. SSH and SFTP is working too when the MMC system is loaded, so I have access to make changes.

I tried adding the application manager to the base boot apps and I was able to get it to launch and uninstall Canola2 and xkbd. I also deleted a lot of documents and mapviewer map files to clear more space from the MMC boot partition. After those changes, I'm still getting Not Enough Memory errors.


The screenshots show the current state of the desktop: missing menus, gtk default style windows, windows/dialogs off the left side of the screen and missing fonts.

Thank you for your help.

mardin
06-28-2010, 05:35 AM
Well, I've got things mostly restored and working now. I went through and compared my Internal flash system files to the MMC2 system and copied over missing or empty files.

The main places I looked were:

all .osso folders current-gtk-theme files
/.osso
/root/.osso

/home/user/.osso

/usr/share/themes/

I found my default themes folder was missing some files and there was a duplicate themes folder ("Default" vs "default"), which I renamed.

That restored my Desktop theme, layout and fonts, but my Application Menu was still empty. I found this file was completely empty:

/home/user/.osso/menus/applications.menu

So, I copied the file over from my old internal flash system. Even though some files were different, the menu was automatically populated with the extra programs I have on the MMC2 system. The files seem to be all listed here:

/usr/share/applications/hildon/*.desktop


Now most of my programs and menus seem to be working without any "not enough memory" errors. After restoring all the files, I was able to switch themes through the GUI without problems.

I'm now uninstalling some old unused programs and moving more Docs out to MMC1, to clear some system space. Hopefully, my main programs will now work without having to wipe the system and start over from scratch.