Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools

    Reply
    Page 1 of 2 | 1   2   | Next
    BlueGene | # 1 | 2010-01-10, 15:28 | Report

    In this thread I'd like to collect a list of system configuration files, lowlevel-tools and oneliners. When there's enough content, I will make a wiki-page. Feel free to contribute :-) !

    Remember: Modify these files only if you know what you're doing! Understanding how to work with textbased applications is a must!


    Type
    Code:
    <command> --help
    for additional info.




    Interesting System/Hardware config files in Maemo 5:


    Powerbutton-Interface:
    Code:
    /etc/systemui/systemui.xml
    Hardware button/LED/vibration behaviour:
    Code:
    /etc/mce/mce.ini
    Keyboard Stuff:
    Code:
    /usr/share/X11/xkb/
    /usr/share/X11/xkb/symbols/nokia_vndr/rx-51 (Keymaps of onboard kb)
    Repositories:
    Code:
    /etc/apt/sources.list
    Editing /etc/apt/sources.list.d/hildon-application-manager.list directly is pointless since HAM overwrites it.
    Instead, you should edit:
    Code:
    /etc/hildon-application-manager/catalogues
    or invoke the config script with the proper arguments:
    Code:
    hildon-application-manager-config add <FILE>
    Welcome Video:
    Code:
    /etc/hildon-welcome.d/default.conf
    /usr/share/hildon-welcome/media/
    Animation behaviour (transitions, zooms):
    Code:
    /usr/share/hildon-desktop/transitions.ini
    App Menu:
    Code:
    /etc/xdg/menus/hildon.menu
    /usr/share/applications/hildon/ -> .directory files / .desktop files
    Icons: /usr/share/icons/hicolor/48x48/hildon



    Configtools:


    Hardware Status
    Code:
    lshal
    e.g.    lshal | grep battery
    Software Settings/Options
    Code:
    gconftool-2 -R /
    (returns all possible options/settings of gconf)
    Keyboard Shortcuts
    Description how to setup keyboard shortcuts

    Status Menu Configuration Tool:
    powatool

    Better Menu Structure:
    mymenu (repository: deb http://qole.org/repository maemo fremantle)

    Basic access/modifikation tools:
    I prefer modify, install and update via ssh, these are my most used tools:
    Code:
    openssh
    putty (when i login from windows)
    vim
    grep
    apt-get
    apt-cache
    dpkg
    Search/Install/Update Packages:
    Works almost like in every debian-based distro:
    Code:
    apt-get install <program name>
    apt-cache search <string>
    apt-cache showpkg <program name>
    apt-get update (updates the cache from repositories)
    apt-get upgrade (installs newest version of installed packages)
    dpkg -i <.deb file> (installs .deb file)
    Firmware Upgrade (Since 1.0.1):
    Careful with thisone, link /var/cache/apt/archives to somewhere with enough space!
    Code:
    apt-get dist-upgrade
    Reboot to see all the changes.

    List of Devtools:
    http://wiki.maemo.org/Documentation/devtools/maemo5

    X-Forwarding to Unix-Computer
    On Maemo 5, install xauth:
    Code:
    apt-get install libxmuu1
    Now X-Forwarding works (quite buggy though):
    Code:
    ssh -X root@<deviceip>
    In any opened window press F4 to access the menu.




    Shortcuts:

    http://wiki.maemo.org/N900_shortcuts_and_gestures




    Hacks:


    Fullscreen-Mode for XTerm:
    Code:
    gconftool-2 -s /apps/osso/xterm/toolbar -t bool "false"  (to return to menu press ctrl+backspace)
    SAMBA / CIFS (Windows) FS access:
    http://talk.maemo.org/showthread.php...highlight=cifs
    Automount in /etc/fstab:
    Code:
    //server.name.or.ip/share /home/user/some_directory  cifs   noauto,uid=29999,ro,nosuid,nodev,user=<user>,pass=<pass>,ip=<ip>
    Installing gcoreutils (Thanks to Ruski for the repo):
    Code:
    echo "deb https://repo.codemages.net opt/" >> /etc/apt/sources.list
    apt-get update && apt-get install gcoreutils
    Repartitioning the device (don't try this if don't understand every single command!):
    http://talk.maemo.org/showpost.php?p...0&postcount=51

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by BlueGene; 2010-01-14 at 13:47.
    The Following 35 Users Say Thank You to BlueGene For This Useful Post:
    009N, AlMehdi, attila77, b-man, balorbule, bandora, beli, bunanson, bzhnjm, cheve, Cobra, daperl, dba, frals, ioan, jakiman, jayford, jebba, juise-, kik, Marshall Banana, mason, Mentalist Traceur, mikec, nashith, nikul.padhya, nkirk, pichlo, pigeond, pycage, Snoshrk, Sourav.dubey, vi_, zeljkobo12

     
    Saturn | # 2 | 2010-01-10, 20:56 | Report

    Nice.. some quick comments

    For the shortcuts you can link to the wiki page:
    http://wiki.maemo.org/N900_shortcuts_and_gestures

    About the "apt-get dist-upgrade"; it should be removed completely. It doesn't work like in Debian.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Saturn For This Useful Post:
    BlueGene

     
    Saturn | # 3 | 2010-01-10, 21:03 | Report

    This is also a nice page to have in your collection:
    http://wiki.maemo.org/Documentation/devtools/maemo5

    Edit | Forward | Quote | Quick Reply | Thanks

     
    codeMonkey | # 4 | 2010-01-11, 13:42 | Report

    Originally Posted by BlueGene View Post
    Type
    Code:
    man <command>
    or
    Code:
    <command> --help
    for additional info.
    man will work nicely on most Unices, but hasn't it been stripped out of Maemo?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to codeMonkey For This Useful Post:
    BlueGene

     
    peyo | # 5 | 2010-01-12, 01:09 | Report

    Great topic idea for devel/customization, I'll keep an eye there

    Originally Posted by codeMonkey View Post
    man will work nicely on most Unices, but hasn't it been stripped out of Maemo?
    It seems so, or at least on my device man dirs are empty and no man binary available on the env (as root "find / -iname man | grep -i bin" returns nothing, so seems like no man binary on maemo5).
    Would be a great idea to have some man on maemo (even as extra package) for cli programs...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jebba | # 6 | 2010-01-12, 01:12 | Report

    The problem is that even if you had man, you wouldn't get the man pages because HAM is set up to not install docs and manpages to save space. I have 48G on my device, yet need to save a few k of manpages, gah.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    aspidites | # 7 | 2010-01-12, 01:19 | Report

    Editing /etc/apt/sources.list.d/hildon-application-manager.list directly is pointless since HAM overwrites it.

    Instead, you should edit:
    Code:
    /etc/hildon-application-manager/catalogues
    or invoke the config script with the proper arguments:
    Code:
    hildon-application-manager-config add FILE

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to aspidites For This Useful Post:
    BlueGene, pelago

     
    BlueGene | # 8 | 2010-01-12, 08:16 | Report

    Thanks, I didn't realize that, because I never use HAM ;-)

    Added some information how to setup X-Forwarding.

    Does somebody know how to get this output to xephyr in a oneliner or a little script? Probably this would provide a better view.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by CrashandDie; 2010-01-12 at 09:55. Reason: double post

     
    BlueGene | # 9 | 2010-01-14, 13:50 | Report

    Just upgraded to PR1.1 with this command:

    Code:
    apt-get dist-upgrade
    I really begin to feel at home with this device ;-)

    EDIT: I was a little quick to post this ;-) If you don't want to experiment, don't do this :P I'm still working on some issues... mostly because of not enough space on rootfs.

    EDIT2: Bricked it while updating. It just restarted and wouldn't come up anymore. Seems this is NOT a proper way to do such a big update ;-) ...

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by BlueGene; 2010-01-14 at 15:05.
    The Following User Says Thank You to BlueGene For This Useful Post:
    debernardis

     
    jebba | # 10 | 2010-01-15, 00:50 | Report

    Originally Posted by BlueGene View Post
    Just upgraded to PR1.1 with this command:

    Code:
    apt-get dist-upgrade
    I really begin to feel at home with this device ;-)

    EDIT: I was a little quick to post this ;-) If you don't want to experiment, don't do this :P I'm still working on some issues... mostly because of not enough space on rootfs.

    EDIT2: Bricked it while updating. It just restarted and wouldn't come up anymore. Seems this is NOT a proper way to do such a big update ;-) ...
    I haven't tried it with PR1.1, but I have dist-upgraded in the past (including kernels). You probably ran out of space because by default apt uses /var/cache/apt and that filled up root. You should do something along the lines of:

    Code:
    apt-get update -o dir::cache=/home/user/MyDocs/.apt-archive-cache
    
    apt-get dist-upgrade -o dir::cache=/home/user/MyDocs/.apt-archive-cache

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 1 of 2 | 1   2   | Next
vBulletin® Version 3.8.8
Normal Logout