maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Unable to go to settings (https://talk.maemo.org/showthread.php?t=84583)

polarbear 2012-05-31 22:11

Re: Unable to go to settings
 
Quote:

Originally Posted by ramsheed (Post 1214972)
can u help me with xterminal command to do it? pls

Literally just:

Code:

/usr/bin/controlpanel

qwazix 2012-05-31 22:13

Re: Unable to go to settings
 
Before trying to repair anything please post the result of the terminal command

/usr/bin/controlpanel

here. (Assuming that is the name of the binary)

Possible solution 1
================================================== ======

Uninstall all programs (from Application Manager) that you remember that had an entry in settings (Like theme customizer, font manager, led patterns etc) and try the settings application again.

Possible solution 2
================================================== ======

First thing to do is plug in your phone on your pc, connect in mass storage mode and open the device. What you see now is the MyDocs folder (/home/user/MyDocs)

Choose show hidden files (Tools|Folder Options|...|Show hidden files and folders) and copy EVERYTHING to your pc (because we might erase something you need in the next steps)

Now, I don't have my N900 with me (it's in the hands of Nokia) and I do not remember if dotfolders (folders that start with a dot, i.e. application settings folders, like .osso-notes) reside in /home/user, or /home/user/MyDocs. Someone with his N900 at hand please confirm one or the other.

From the description of your problem it seems they should be in MyDocs so that Norton might have tampered with them.

Anyway, the idea is to remove all the folders that start with a dot (if they are in MyDocs you can do that on your pc. Ensure you have enabled "show hidden files" then delete all folders that start with a dot from your device, except .documents, .images (or .pictures, don't remember), .sounds, .videos. Then try launching settings again. If it is still not working try to delete all the contents of all the above (.documents etc.) folders too (not the folders themselves). If even this does not solve the problem you can try deleting everything in MyDocs, either from your pc or from terminal. Please do not continue before posting the result of running settings via terminal in this thread. It may well indicate something that will prove the following step stupid or ineffective.

WARNING: This may cause you to lose the customized icons for these folders permanently, but if that fails too, then the only thing that remains is a reflash, which will restore everything, so if you have reached here you probably have nothing to lose.

DISCLAIMER:
Do not use this command if you haven't made sure a backup of everything in the 27GB memory of your N900 is backed up safely. This will discard all your documents and probably settings. Passers by please do not try this to solve potential problems unless you know exactly what you are doing.

the command is rm -rf /home/user/MyDocs/*

Now settings should be working fine if I am right, and you can copy your stuff back to the phone, but you have to do it folder by folder, and keep testing to see what folder (or file) caused the problem, and delete it.

ramsheed 2012-06-01 12:08

Re: Unable to go to settings
 
Quote:

Originally Posted by qwazix (Post 1215694)
Before trying to repair anything please post the result of the terminal command

/usr/bin/controlpanel

here. (Assuming that is the name of the binary)

Possible solution 1
================================================== ======

Uninstall all programs (from Application Manager) that you remember that had an entry in settings (Like theme customizer, font manager, led patterns etc) and try the settings application again.

Possible solution 2
================================================== ======

First thing to do is plug in your phone on your pc, connect in mass storage mode and open the device. What you see now is the MyDocs folder (/home/user/MyDocs)

Choose show hidden files (Tools|Folder Options|...|Show hidden files and folders) and copy EVERYTHING to your pc (because we might erase something you need in the next steps)

Now, I don't have my N900 with me (it's in the hands of Nokia) and I do not remember if dotfolders (folders that start with a dot, i.e. application settings folders, like .osso-notes) reside in /home/user, or /home/user/MyDocs. Someone with his N900 at hand please confirm one or the other.

From the description of your problem it seems they should be in MyDocs so that Norton might have tampered with them.

Anyway, the idea is to remove all the folders that start with a dot (if they are in MyDocs you can do that on your pc. Ensure you have enabled "show hidden files" then delete all folders that start with a dot from your device, except .documents, .images (or .pictures, don't remember), .sounds, .videos. Then try launching settings again. If it is still not working try to delete all the contents of all the above (.documents etc.) folders too (not the folders themselves). If even this does not solve the problem you can try deleting everything in MyDocs, either from your pc or from terminal. Please do not continue before posting the result of running settings via terminal in this thread. It may well indicate something that will prove the following step stupid or ineffective.

WARNING: This may cause you to lose the customized icons for these folders permanently, but if that fails too, then the only thing that remains is a reflash, which will restore everything, so if you have reached here you probably have nothing to lose.

DISCLAIMER:
Do not use this command if you haven't made sure a backup of everything in the 27GB memory of your N900 is backed up safely. This will discard all your documents and probably settings. Passers by please do not try this to solve potential problems unless you know exactly what you are doing.

the command is rm -rf /home/user/MyDocs/*

Now settings should be working fine if I am right, and you can copy your stuff back to the phone, but you have to do it folder by folder, and keep testing to see what folder (or file) caused the problem, and delete it.


the comman which u gave me....it opened the settings for me.... :) thank u.....thanku very uch.....should i do something more now?

qwazix 2012-06-01 12:13

Re: Unable to go to settings
 
Do settings now open from the icon? If not the .desktop file is damaged and you will have to replace it. Please somebody with a N900 at hand post /usr/share/applications/hildon/settings.desktop (or similarly named file) here.

reinob 2012-06-01 12:30

Re: Unable to go to settings
 
1 Attachment(s)
OK, it's /usr/share/applications/hildon/hildon-control-planel.desktop

Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=copa_ap_cp_name
Comment=copa_ap_cp_name_thumb
Exec=/usr/bin/controlpanel
Icon=general_settings
X-Icon-path=/usr/share/pixmaps/
X-Window-Icon=tn-bookmarks-link
X-HildonDesk-ShowInToolbar=true
X-Osso-Service=controlpanel
X-Osso-Type=application/x-executable
X-Osso-User-Position=14
X-Maemo-Category=Main
X-Text-Domain=hildon-control-panel
X-Maemo-Wm-Class=Controlpanel


vi_ 2012-06-01 12:55

Re: Unable to go to settings
 
I am just going to cut this thread short and tell you the unfortunate truth.

Backup EVRYTHING you can then perform a complete reflash.

I will never understand what possessed you when you decided to run a virus scanner on your N900. Do not ever do that. Norton has broken everything by deleting all your files.

ramsheed 2012-06-01 16:27

Re: Unable to go to settings
 
Quote:

Originally Posted by reinob (Post 1215927)
OK, it's /usr/share/applications/hildon/hildon-control-planel.desktop

Code:

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=copa_ap_cp_name
Comment=copa_ap_cp_name_thumb
Exec=/usr/bin/controlpanel
Icon=general_settings
X-Icon-path=/usr/share/pixmaps/
X-Window-Icon=tn-bookmarks-link
X-HildonDesk-ShowInToolbar=true
X-Osso-Service=controlpanel
X-Osso-Type=application/x-executable
X-Osso-User-Position=14
X-Maemo-Category=Main
X-Text-Domain=hildon-control-panel
X-Maemo-Wm-Class=Controlpanel


so i just need to write the xterminal u gave and everything will go fine right?

qwazix 2012-06-01 18:25

Re: Unable to go to settings
 
no no. You have to copy this file on your device (the N900 folder i.e. MyDocs), then open xterm and write

sudo gainroot
cp MyDocs/hildon-control-panel.desktop.txt /usr/share/applications/hildon/hildon-control-planel.desktop

ramsheed 2012-06-01 18:40

Re: Unable to go to settings
 
Quote:

Originally Posted by qwazix (Post 1216086)
no no. You have to copy this file on your device (the N900 folder i.e. MyDocs), then open xterm and write

sudo gainroot
cp MyDocs/hildon-control-panel.desktop.txt /usr/share/applications/hildon/hildon-control-planel.desktop

i did it broo....now all is fine.... @qwazix...reniob....million thanks :)

sicelo 2012-06-01 18:58

Re: Unable to go to settings
 
Problem is clearly unrelated to Norton whatsoever. You have a corrupt filesystem, or crap software. I bet you'll run into bigger problems sooner than later.
as vi_ mentioned, you will eventually have to reflash.


All times are GMT. The time now is 09:59.

vBulletin® Version 3.8.8