maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   * The Truly Epic Maemo 5 MODs Thread * (https://talk.maemo.org/showthread.php?t=39565)

F2thaK 2010-01-07 13:24

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by beli (Post 457258)
My N900 doesn't need a button to reboot ... it does that automatically ;)

huh?..............

F2thaK 2010-01-07 13:27

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Blinde (Post 457245)
Thanks for the info. Does it matter if two settings has the same value, like "power on" has white, so can i set it also for "sms?

the file says something about rGb..... but i just set them to what i wanted in all lower case letters (r,g,b) and it works sweeet.. :)

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

biggzy 2010-01-07 13:34

Re: N900 MODs - share your MODs!!
 
once iv edited the systemui.xml in x term how do i save what iv changed? thanx

Blinde 2010-01-07 13:37

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by f2thak (Post 457264)
the file says something about rGb..... but i just set them to what i wanted in all lower case letters (r,g,b) and it works sweeet.. :)

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

Did those too. It works, sweet!

biggzy 2010-01-07 13:50

Re: N900 MODs - share your MODs!!
 
ok i need to know howto save the file iv edited in xterm and how do i remove blank lines of text also? thanx

edit, almost done...
http://img689.imageshack.us/img689/7...0010713510.png
http://img689.imageshack.us/img689/s...png/1/w800.png

but lots of blank space

F2thaK 2010-01-07 13:51

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by biggzy (Post 457271)
once iv edited the systemui.xml in x term how do i save what iv changed? thanx

i did it thru MC like i said, after edited (using stylus is easiest) press save then exit and reboot...
dont worry about blank lines, dont alter file too much, just single letters rgb

F2thaK 2010-01-07 14:05

Re: N900 MODs - share your MODs!!
 
just delete the space with backspace like txt editor.

HtheB 2010-01-07 14:09

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by beli (Post 457258)
My N900 doesn't need a button to reboot ... it does that automatically ;)

hahaha nice one :D

NUTNDUN 2010-01-07 14:28

Re: N900 MODs - share your MODs!!
 
I just wanted to give an example of another way of going about changing the file that you want to edit. I found it easier or quicker.

Install rootsh and leafpad from the extras repo(leafpad is really easy to save and edit as opposed to vi or vim)

This is an example for giving the extra options for the power button.

Open xterm
type: sudo gainroot
type: cd /etc/systemui
type: cp systemui.xml systemui.xml.back
type: leafpad systemui.xml

leafpad will open in a new window. It is just like using notepad in windows and scroll down till you find the line starting with:
<!--
and delete it and then find the line starting with:
-->
and delete it and then click on the title bar and click save and then reboot the device.

All credit goes to the original poster, I just wanted to share maybe an easier and quicker way to do it with terminal commands and a simple text editor.

If you uncomment it all it also gives you a button for the top command to open up in a xterm window and also a soft poweroff option.

Also wanted to mention pwngu!n had already posted the quicker way using vi and I missed it when scanning through the thread the first time.

F2thaK 2010-01-07 14:31

Extended keyboard shortcuts
 
1 Attachment(s)
EXTENDED KEYBOARD SHORTCUTS:




WARNING: CHANGING THIS FILE OTHER THAN WHAT I ADVISE MAY BRICK YOUR DEVICE, I AM IN NO WAY RESPONSIBLE IF U BRICK ur N900!





1. download this file, remove '3' from filename.
http://my.arava.co.il/~matan/770/n90...ildon_desktop3
2. copy to root dir of phone and disconnect phone from pc
3. open xterm, type:

sudo gainroot [enter]
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]

4. Install "dbus-scripts.deb" FILE ATTACHED

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.

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





SOURCE THREAD:
http://talk.maemo.org/showthread.php?t=38314


All times are GMT. The time now is 23:58.

vBulletin® Version 3.8.8