User:Joerg rw/tools

patch eMMC aka *VANILLA* image file for larger /home partition (much easier than repartitioning the N900 *after* flashing. So if that's not obvious, this part is meant to be done on your linux desktop, prior to fresh full flash): NEW-HOME-SIZE=4096 sed -e "s/2048/$NEW-HOME-SIZE/" path/to/*VANILLA*.bin >patched-VANILLA.bin

the text below is intended to c&p to N900 xterm root cat >/usr/local/bin/apt-get <<"wikiETX"
 * 1) ! /bin/sh
 * 2) file /usr/local/bin/apt-get
 * 3) due to $PATH will override original apt-get cmd and create
 * 4) a file installed-aps.sh in ~root/ which can be sourced to redo
 * 5) all the apps installed via `apt-get install `

ag=/usr/bin/apt-get if [ "$1" = "install" ]; then echo '############ logged install ###########' $ag $@ && echo result: $? && echo $ag "$@" >>$HOME/installed-aps.sh else $ag $@ fi wikiETX chmod a+x /usr/local/bin/apt-get

bash and tools apt-get install bash3

cat <<"wikietx" >/home/user/.bashrc
 * 1) ~/.bashrc: executed by bash(1) for non-login shells.

PATH=/usr/bin/gnu:$PATH export PS1='\h:\w\$ ' umask 022

export LS_OPTIONS='--color=auto' eval "`dircolors`" alias ls='ls $LS_OPTIONS' alias ll='ls $LS_OPTIONS -l' alias l='ls $LS_OPTIONS -lA' alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' wikietx
 * 1) You may uncomment the following lines if you want `ls' to be colorized:
 * 1) for unclear reasons messybox feels obliged to source .bashrc >:-(
 * 2) so this will break the messy ls, and you'll need to use bash
 * 1) Some more alias to avoid making mistakes:
 * 1) Some more alias to avoid making mistakes:

cp /home/user/.bashrc /root/

chown user /home/user/.bashrc

apt-get install coreutils-gnu apt-get install less apt-get install findutils apt-get install man-db-n900

random stuff to config / fix 'things' (c&p to shell)

mv /usr/lib/xchat/plugins /usr/lib/xchat/plugins_disabled
 * 1) disable annoying xchat notifications introduced with some more recent update
 * 2) goes along with 'undocumented' command /notify_mode -vl - thanks cehteh :-/
 * 1) goes along with 'undocumented' command /notify_mode -vl - thanks cehteh :-/

echo IroN900 >/etc/hostname
 * 1) master device name
 * 1) master device name

touch /home/user/.cherry_state
 * 1) kill that cherry PITA, before it sends SMS
 * 2) see http://wiki.maemo.org/PR1.2_compulsory_My_Nokia_subscription
 * 1) see http://wiki.maemo.org/PR1.2_compulsory_My_Nokia_subscription


 * 1) fix annoying hildon-desktop cpu hog bug
 * 2) new: with ctrl-BS for nice taskswitching, see
 * 3) http://my.arava.co.il/~matan/repo/Modified_Hildon_Desktop.html
 * 4) and http://share.ovi.com/media/joerg900.screenshots/joerg900.10092 video
 * 1) and http://share.ovi.com/media/joerg900.screenshots/joerg900.10092 video

cd ~user/MyDocs/tmp/

wget http://my.svgalib.org/770/n900/hd-2.2.141/\ modified-hildon-desktop_3.1_armel.deb
 * 1) wget http://mohammadag.xceleo.org/repo/pool/\
 * 2) free/h/hildon-desktop/hildon-desktop_2.2.142-1_armel.deb

dpkg -i modified-hildon-desktop_3.1_armel.deb
 * 1) dpkg -i hildon-desktop_2.2.142-1_armel.deb

killall hildon-desktop

gconftool-2 -s \ /apps/osso/hildon-desktop/key-actions/ctrl_backspace_in_tasknav -t int 5
 * 1) set ctl-BS to my preferred operation mode

apt-get remove mp-fremantle-generic-pr
 * 1) ... and restore apt-get install (it's a metapkg,
 * 2) so nothing bad seems to happen)
 * 3) might want to apt-get install it prior to next SSU to PR1.3

sed -e "s/Defaults env_reset/Defaults env_reset\nDefaults targetpw/;\ s+user ALL = NOPASSWD: /usr/sbin/gainroot+user ALL =\ PASSWD: /usr/sbin/gainroot+" \ -i /etc/sudoers.d/01sudo update-sudoers
 * 1) fix NOPASSWD for root / sudo gainroot
 * 2) MAKE SURE YOU'VE SET PROPER ROOT PASSWORD PRIOR TO THIS!
 * 1) MAKE SURE YOU'VE SET PROPER ROOT PASSWORD PRIOR TO THIS!

sed -i -e "s/Throttle=0/Throttle=10/" /home/user/.config/tracker/tracker.cfg
 * 1) nice trackerd, doesn't exactly make it bearable, but somewhat less sucking
 * 1) nice trackerd, doesn't exactly make it bearable, but somewhat less sucking

gconftool-2 -s /apps/osso/inputmethod/ext_kb_repeat_enabled --type boolean true
 * 1) "fix" the hold-key=sym nonsense
 * 2) http://wiki.maemo.org/Customizing_Maemo#Keyboard_Sym_on_auto_hold

cd ~user/MyDocs/tmp/ wget --no-check-certificate \ https://bugs.maemo.org/attachment.cgi?id=2705 \ -O libvte4_0.16.14-0mh9.m5_armel.deb dpkg -i libvte4_0.16.14-0mh9.m5_armel.deb
 * 1) NK-Enter bug, putting less /, htop "search", and many other back to proper
 * 2) https://bugs.maemo.org/show_bug.cgi?id=6009
 * 1) https://bugs.maemo.org/show_bug.cgi?id=6009

/etc/X11/Xsession.d/10hildon_welcome = shaking-hands-video