View Single Post
Posts: 391 | Thanked: 908 times | Joined on Aug 2011 @ suncity
#20
OK, here it is.

Some side notes before you go…:

- it is larger than 5 GB so I recommend copying it to a reformatted SD card – I created a ext3 partition on mine. The bigger the partition the more programs you are able to install…

- maybe you should untar it as root.

- there are some scripts that are meant to run kali in terminal or with i3. My kali image is on /media/mmc1p3 so maybe you should modify these scripts according to your kali image location. (There is a “bootkali” script – this remained from earlier; unnecessary, but I kept it)

- I have "sudo" and kernel-power installed; some of the scripts are using these. kaliwm sets CPU max to 1100 MHz so be careful! My n900 can handle this but maybe yours not... If you wish to reset to 600 MHz after quitting i3, just add the following line to the end of kali-i3 script: sudo kernel-config limits 250 600.

- if you wish to run a kali application from under Maemo then run: kalli the-program-that-you-want-to-run in osso-xterm.

- for terminal usage you should run the script named “kali” as root.

- for i3 you should run “kaliwm” but before doing that
- maybe you should install wmctrl on Maemo,
- modify some things in chrooted kali:
• for example the ~/.i3/config file – near the end of the file there is a line that randomly adds wallpapers at startup from my MyDocs folder so you should modify this line according to your needs.
• Btw. I recommend reading through this config file because it has many tweaks – keybindings (~/.xbindkeysrc has some tweaks too!) for example or status bar infos, etc. So getting familiar with these can spare you some headache (:

- if you do not like i3 just wipe it out and install xfce or lxde or openbox/fluxbox or anything you want…

- since I do not want to use this image as a dual boot but with chroot, I removed the modules folder completelyto get some space (I backed up this folder so in the future I can just copy it back…).

- there is a remapped keyboard config: /usr/share/X11/xkb/symbols/nokia_vndr/rx-51. This way I can type Hungarian characters easily with Shift+Up/Down/Left/Right arrow. Btw. “^” sign is Shift+Down arrow (twice) – it can be handy when using terminal…

- Basics…:
o I wanted to keep things as simple as possible so there are no fancy things installed that is why I chose i3 window manager. There are still several things that can be removed - and I removed those since I packed this image - but I thought maybe someone will need these.
o This image has st (simple terminal installed) as terminal emulator. If you are not familiar with it I recommend reading this. It uses Source Code Pro font with solarized theme and transparent background. If you would like to use something else then go to ~/st directory, make the needed changes in config.h then run command: make clean install.
o Midnight Commander has solarized theme too; just define something else in mc.ini if you wish to use something else.
o Using tor: sadly midori doesn’t have to option to set/use socks proxy and tsocks midori command doesn’t work either (at least for me…) so if you want to stay lightweight you should use links2: after running tor (or tor&) just type torlinks2 or if you want a “gui” then torxlinks2 – this will run links2 with the appropriate socks proxy settings (at least it is working for me but you can test it if you visit check.torproject.org). Alternatively you can install iceweasel but it is painfully slow…
o there is neovim installed too – not the up to date one; I didn’t try to update it from github but you can try. Sadly I couldn’t compile it from source because of the dependencies – libjemalloc always fails and I cannot figure out why… So this neovim and the libs it is depending on are from debian repo… But it is working as it should. I configured it to my needs – I use python so all configs are made according to this fact (pydiction, flake8, vulture, etc.). Config is: ~/.config/nvim/init.
o for video there is mplayer, for audio there is cmus.
o if you want to manage volume then type alsamixer – if you don’t hear anything search for HP DAC and set it other than 0 (:

Last edited by justmemory; 2017-03-29 at 07:48.
 

The Following 8 Users Say Thank You to justmemory For This Useful Post: