|
2010-01-07
, 14:35
|
Posts: 883 |
Thanked: 980 times |
Joined on Jul 2007
@ Bern, Switzerland
|
#32
|
The Following 4 Users Say Thank You to twaelti For This Useful Post: | ||
|
2010-01-07
, 17:56
|
|
Posts: 345 |
Thanked: 72 times |
Joined on Dec 2009
@ Reunion Island
|
#33
|
|
2010-01-07
, 20:29
|
|
Posts: 547 |
Thanked: 461 times |
Joined on Aug 2009
@ UK
|
#34
|
|
2010-01-07
, 21:16
|
Posts: 56 |
Thanked: 17 times |
Joined on Dec 2009
@ Carlisle, PA
|
#35
|
finaly edited the file for reboot option, iv checjed it 7 times to make sure its correct but after a power off there is still no reboot option in the power key menu.... HELP!
<!--
<menuitem priority="20" name="Reboot">
<return>6</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="10" name="Soft poweroff">
<return>7</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="5" name="Top in XTerm">
<callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true">
<argument type="string">/usr/bin/top</argument>
</callback>
</menuitem>
-->
<powerkeymenu path="/">
<title>powerup_application_title</title>
<po>osso-powerup-shutdown</po>
<menuitem priority="700" name="powerup_memainmenu_lockscreen">
<return>1</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="600" name="powerup_memain_endcurrenttask">
<return>10</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="350" name="powerup_memainmenu_normalmode" visible="flight">
<keyfile>/var/lib/mce/mode</keyfile>
<icon>statusarea_cell_level5</icon>
<return>2</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="350" name="powerup_memainmenu_flightmode" visible="normal">
<keyfile>/var/lib/mce/mode</keyfile>
<icon>statusarea_cell_off</icon>
<return>3</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="100" name="powerup_memainmenu_lockdevice" disabled="yes">
<keyfile>/var/run/mce/call</keyfile>
<return>4</return>
<po>osso-powerup-shutdown</po>
<disabled_reason name="powerup_ib_device_lock_not_available">
<po>osso-powerup-shutdown</po>
</disabled_reason>
</menuitem>
<menuitem priority="90" name="powerup_memainmenu_poweroff">
<return>5</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="300" name="powerup_memainmenu_silent" visible="general">
<keyfile>/home/user/.profiled/current</keyfile>
<icon>statusarea_silent</icon>
<return>8</return>
<po>osso-powerup-shutdown</po>
<callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true">
<argument type="string">silent</argument>
</callback>
</menuitem>
<menuitem priority="200" name="powerup_memainmenu_general" visible="silent">
<keyfile>/home/user/.profiled/current</keyfile>
<icon>general_profile</icon>
<return>9</return>
<po>osso-powerup-shutdown</po>
<callback service="com.nokia.profiled" path="/com/nokia/profiled" interface="com.nokia.profiled" method="set_profile" bus="session" autostart="true">
<argument type="string">general</argument>
</callback>
</menuitem>
<!--
<menuitem priority="20" name="Reboot">
<return>6</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="10" name="Soft poweroff">
<return>7</return>
<po>osso-powerup-shutdown</po>
</menuitem>
<menuitem priority="5" name="Top in XTerm">
<callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true">
<argument type="string">/usr/bin/top</argument>
</callback>
</menuitem>
-->
</powerkeymenu>
|
2010-01-07
, 21:19
|
|
Posts: 547 |
Thanked: 461 times |
Joined on Aug 2009
@ UK
|
#36
|
|
2010-01-07
, 21:21
|
Posts: 56 |
Thanked: 17 times |
Joined on Dec 2009
@ Carlisle, PA
|
#37
|
|
2010-01-07
, 21:22
|
|
Posts: 547 |
Thanked: 461 times |
Joined on Aug 2009
@ UK
|
#38
|
|
2010-01-07
, 21:26
|
Posts: 56 |
Thanked: 17 times |
Joined on Dec 2009
@ Carlisle, PA
|
#39
|
|
2010-01-07
, 21:30
|
|
Posts: 547 |
Thanked: 461 times |
Joined on Aug 2009
@ UK
|
#40
|
You have the file name correct after restoring it from the backup file?
Just shooting at anything right now
Tags |
maemo mods, mods thread |
Thread Tools | |
|
----------------------------------------------------
WARNING: CHANGING THIS FILE OTHER THAN WHAT I ADVISE MAY BRICK YOUR DEVICE, I AM IN NO WAY RESPONSIBLE IF U BRICK ur N900!
Edit the file /usr/share/X11/xkb/symbols/nokia_vndr/rx-51
find:
--------------------------------------------
key <LFSH> {
type[Group1] = "ONE_LEVEL",
symbols[Group1] = [ Shift_L ]
};
modifier_map Shift { Shift_L };
--------------------------------------------
Replace LFSH with RALT. This makes FN behave like shift.
Then find
--------------------------------------------
include "level3(ralt_switch)"
--------------------------------------------
remove this line, and replace it with:
--------------------------------------------
key <LFSH> {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level3_Shift ]
};
modifier_map Mod5 { ISO_Level3_Shift };
--------------------------------------------
This makes the shift key behave as FN.
After editing rx-51, use the command "setxkbmap" in xterm to activate it.
Last edited by F2thaK; 2010-01-08 at 07:58.