User:Cas07/Sandbox/Customise:N900

When using the X-Terminal with root access enabled, be EXTREMELY CAUTIOUS! Root access enables you to modify (and thus also DAMAGE) all system files, which can even result in BRICKING the device. If you don't know what you are doing, better don't do it.

Backup files before editing from console: cp filename.conf filename.conf.bak

mc commander

leadpad (launch from root console)

root mode (sudo gainroot or ssh -lroot)

Contents

Software

Boot

Startup Image

Startup Video

/usr/share/hildon-welcome/media

Remove video or change video

Cite: http://talk.maemo.org/showthread.php?t=32935&highlight=boot+screen

Folder

Ini File


Shutdown Image

put the png image you want to use in:

Folder: /usr/share/icons/hicolor/scalable/hildon

Ini File or Filename: startup_nokia_logo

Reboot phone


Menus

Skinning

Conversations

Originally Posted by b666m (Post 479324) modded the sms conversation window. 1. moved contact's avatar to the right 2. added own avatar on the left 3. changed some alignments to fit the screen :)


Icons

you can install them into ~/.local/share/icons/hicolor/scalable/hildon and they'll override the system icons, but leave them in place.

  • /usr/share/icons/hicolor/scalable/hildon
    • Signal images
    • Battery1 images
statusarea_battery_full13.png
statusarea_battery_full25.png
statusarea_battery_full38.png
statusarea_battery_full50.png
statusarea_battery_full63.png
statusarea_battery_full75.png
statusarea_battery_full88.png
statusarea_battery_full100.png
  • /usr/share/icons/hicolor/48x48/hildon/
    • Battery2 images
    • Availability images
  • /usr/share/icons/hicolor/16x16/hildon
    • Availability (Small) images


Transition Effect

The effect when zooming out or closing web pages

  • /usr/share/themes/?????/images
    • wmWhiteSparkle

Cite: http://talk.maemo.org/showpost.php?p=478938&postcount=189

Sounds

  • /usr/share/sounds/
  • Offline Notify: presence-offline.wav
  • Online Notify: presence-online.wav
  • Installation Complete: ui-information_note.wav
  • General Warning: ui-general_warning.wav
  • Charging: ui-charging_started.wav
  • Shutdown: ui-shutdown.wav

Transition Control

transitioncontrol app

Smoother Transition Example

Rotate% = 85
Rotate In = 25
Rotate Out = 25
Blank min = 0
Blank max = 0



Power Button Menu

Add Reboot Option

cat /var/lib/dsme/boot_count Increases by 3 each reboot? then make sure to shutdown and only then boot (all this without being connected to a power source) before it reaches 48 (at 51 you're device won't boot!)


/ect/systemui/ folder and select the systemui.xml file Uncomment MenuSelection for Reboot


1) Open X terminal as root 2) cd /etc/systemui 3) Make a backup of the systemui file: cp systemui.xml systemui.xml.orig 3) Edit the file in any editor, e.g. vi systemui.xml

You need to make this section: Code:

 <!--
 <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>
 -->
 

look like:

 <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>
 -->


App Menu

MyMenu


Profiles

profile presets


Desktop

"cpumem-applet" or "load applet"

Menu

POWATOOL: easily remove boot video, and change what is displayed in status bar


Operator Logo

Operator logo Mod?


Shortcuts

Folders on the desktop

  • Using the browser file:/// then bookmark the selected folder

MultiMedia

Extra Decoders

Fonts

Droid Fonts


Xterm

Fullscreen Mode

gconftool-2 -s /apps/osso/xterm/toolbar -t bool "false"

Keybar

The following works to add the "|" button on the Fremantle osso-xterm bar:

~ $ gconftool-2 -s /apps/osso/xterm/key_labels -t list --list-type=string "[Tab,Esc,PgUp,PgDn,|]"
~ $ gconftool-2 -s /apps/osso/xterm/keys -t list --list-type=string "[Tab,Escape,Page_Up,Page_Down,bar]"



Hardware

This section is for modifications that directly associate with the hardware of the N900. E.g. LEDs, Buttons, Keyboard.

Buttons

Volume Key

Keyboard

how to swap the Fn and Shift keys

This makes the shift key behave as FN. 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. find

include "level3(ralt_switch)"

remove line, and replace it with:

key <LFSH> {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level3_Shift ]
};
modifier_map Mod5 { ISO_Level3_Shift };

After editing rx-51, use the command "setxkbmap" in xterm to activate it.

extended keyboard shortcuts MOD

1. download this file, remove '3' from filename. http://my.arava.co.il/~matan/770/n900/kf/hildon_desktop3 cd /home/user/MyDocs [enter] chmod a+x hildon-desktop [enter] mv /usr/bin/hildon-desktop.launch /usr/bin/hildon-desktop.launch.org [enter] mv hildon-desktop /usr/bin/hildon-desktop.launch [enter]

Install dbus-scripts (from extras-devel).

5. Copy http://my.arava.co.il/~matan/770/n900/kf/hdk-scripts to /etc/dbus-scripts.d

6. Copy http://my.arava.co.il/~matan/770/n900/kf/hdk to /usr/local/bin (making sure it is executable)

<shift><ctrl>H takes you to home screen. LEFT and RIGHT keys change desktops <shift><ctrl>f launches FBreader <shift><ctrl>b opens a new browser window, and a few other shortcuts.

  1. in the application menu (launcher) and window switcher:

q - selects the top left thumbnail/icon w - selects the top, second from left ... a - selects the left of the second row

And so on. In addition, in the window switcher pressing shift or FN together with the letter closes the window instead of moving to it.

Currently configuring shortcuts is by editing the python script /usr/local/bin/ hdk. Code Source: http://my.arava.co.il/~matan/770/n900/kf/ Cite: http://talk.maemo.org/showthread.php?t=38314

Camera Button

Change function out-with Camera app

Camkeyd or Shortcutd

Sensors

Proximity Sensor

Proximityd or Shortcutd

Ambient Light Sensor

Screen

Backlight

Link to Brightness App

Battery Info

Desktop Command Execution Widget

Cellular Control

Cellular Modem Control 2G/3G Switcher

Notification LEDs

edit the file "etc/mce/mce.ini" What kind of combinations do work? Does blue&green work? RGB_illumination.jpg red yellow blue white green purple = rb lightblue = bg

red for missed call and power off blue for sms/email/im green for on/ full charge white for device on/charge


FM Transmitter

Simple fmtx desktop widget

Increase Power

"FM Boost"

RDS Output

PR1.1 Added a basic version of this feature

"RDS Notify" has more options such as output screen size


Camera

LEDs as Flashlight

Flashlight App

Shutter Sound

usr/share/sounds the files are camera_snd_title_1, 2 and 3 1 is the camera shutter sound, 2 is the video recording sound and 3 is the focus sound, just replace them with any working wav sound file.


Bluetooth

switchOnBT

Other

Network

IPv6

Need more info on enabling IPv6



For Shortcuts Wiki: tapping and holding the Back arrow button (in the upper right corner of the screen) switches to the main view of that application


See Also

Shortcuts & Gestures

Tweaks

Personalise

Reference

http://my-maemo.com

http://talk.maemo.org/showpost.php?p=429079

http://talk.maemo.org/showthread.php?t=39565

http://talk.maemo.org/showpost.php?p=429079&postcount=27

http://talk.maemo.org/showthread.php?t=34926