maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [HOW TO] Remove Orientation Lock From Status Menu (https://talk.maemo.org/showthread.php?t=81296)

pusak gaoq 2012-01-03 03:41

[HOW TO] Remove Orientation Lock From Status Menu
 
Well after reading a lot of request asking to remove Orientation Lock from status menu i decided to show all CSSU Testing user how to remove it.....



STEP 1......

make sure you have install these apps/program on your device....
1.filebox
2.leafpad (for editing in filebox)
3.Powatool



STEP 2......

Open filebox and make sure at filebox setting you use....
1.leafpad at text editor....
2.enable root access...
3.show hidden files and folders....



STEP 3......

Using filebox navigate to this path......

Code:

/usr/share/applications/hildon-status-menu
look for status-area-orientationlock-applet.desktop....
once you have found it then press & hold at it to open one popup....
select edit in that popup....editor mode will open using leafpad....



STEP 4......

in editor mode you will see like this......

Code:

[Desktop Entry]
Name=Orientation lock
Comment=Orientation lock applet
Category=permanent
Type=default
X-Path=lib-orientationlock-status-menu.so

using leafpad (editor mode) all you need to do is delete this line.....

Code:

Category=permanent
Save the files after you have deleted the line.....exit leafpad (editor mode) & filebox completely.....



STEP 5......

Open Powatool & select status bar....untick Orientation lock then you done....



STEP 6.....

open status menu to see the result.....



STEP 7.....

Press The Thanks Button Below If My Step Works
:D :D :D :D :D :D :D :D

ed_boner 2012-01-03 03:49

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
i dont get it..why not simply use powatool directly?

pusak gaoq 2012-01-03 03:52

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
Quote:

Originally Posted by ed_boner (Post 1144885)
i dont get it..why not simply use powatool directly?

as long as the line is still there then you will never remove it from status menu....
the line show it made to be permanent so by deleting the line you can remove it just like other status menu applet....

ed_boner 2012-01-03 04:01

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
ok..if u say so..i never took any line and checking and unchecking in powatool makes my orientation lock appear and disappear imediatly...

pusak gaoq 2012-01-03 04:14

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
Quote:

Originally Posted by ed_boner (Post 1144887)
ok..if u say so..i never took any line and checking and unchecking in powatool makes my orientation lock appear and disappear imediatly...

if checking & unchecking is that easy to remove it than why CSSU team tell CSSU Testing user that it is impossible to remove it :rolleyes:

ed_boner 2012-01-03 04:20

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
really appreciate your intention and the well done tut...and maybe i am confusing removing with hiding or something...but i really dont need to edit anything...and believe me i dont have a superphone or any special weird mods as i do not know anything about coding..

pusak gaoq 2012-01-03 04:27

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
Quote:

Originally Posted by ed_boner (Post 1144894)
really appreciate your intention and the well done tut...and maybe i am confusing removing with hiding or something...but i really dont need to edit anything...and believe me i dont have a superphone or any special weird mods as i do not know anything about coding..

well if you using CSSU Stable then yes it easy to remove/hide it but if you using CSSU Testing then Orientation Lock is permanent...

ed_boner 2012-01-03 04:33

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
flavour testing here..strange..well..for me this is useless dont know why...hope someone can find use for your knowledge.

Keneraali 2012-01-03 16:59

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
Why not simply
Code:

cd /usr/share/applications/hildon-status-menu
mkdir disabled
mv status-area-orientationlock-applet.desktop disabled/

That's how Powatool does it.
If you want to reverse then
Code:

cd /usr/share/applications/hildon-status-menu
mv disabled/status-area-orientationlock-applet.desktop ./


the_envy 2012-01-05 12:14

Re: [HOW TO] Remove Orientation Lock From Status Menu
 
thx, I'll try this one as soon as I'll get my n900 to work properly :)


All times are GMT. The time now is 10:34.

vBulletin® Version 3.8.8