[Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
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 Interesting System/Hardware config files in Maemo 5: Powerbutton-Interface: Code:
/etc/systemui/systemui.xml Code:
/etc/mce/mce.ini Code:
/usr/share/X11/xkb/ Code:
/etc/apt/sources.list Instead, you should edit: Code:
/etc/hildon-application-manager/catalogues Code:
hildon-application-manager-config add <FILE> Code:
/etc/hildon-welcome.d/default.conf Code:
/usr/share/hildon-desktop/transitions.ini Code:
/etc/xdg/menus/hildon.menu Configtools: Hardware Status Code:
lshal Code:
gconftool-2 -R / 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 Works almost like in every debian-based distro: Code:
apt-get install <program name> Careful with thisone, link /var/cache/apt/archives to somewhere with enough space! Code:
apt-get dist-upgrade 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 Code:
ssh -X root@<deviceip> 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) 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> Code:
echo "deb https://repo.codemages.net opt/" >> /etc/apt/sources.list http://talk.maemo.org/showpost.php?p...0&postcount=51 |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
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. |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
This is also a nice page to have in your collection:
http://wiki.maemo.org/Documentation/devtools/maemo5 |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Quote:
|
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Great topic idea for devel/customization, I'll keep an eye there ;)
Quote:
Would be a great idea to have some man on maemo (even as extra package) for cli programs... |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
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.
|
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
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 Code:
hildon-application-manager-config add FILE |
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. |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Just upgraded to PR1.1 with this command:
Code:
apt-get dist-upgrade 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 ;-) ... |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Quote:
Code:
apt-get update -o dir::cache=/home/user/MyDocs/.apt-archive-cache |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Quote:
|
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
In first, it was a space issue. What I did was to softlink /var/cache/apt/archives to /opt/archives (worked). But still the package installation process (probably decompressing or sth) filled up my rootfs, somewhere in /var , so I also softlinked /var which worked (enough space now). But somewhere in the middle of the installation - there was still enough space, I checked all the time - the device just restarted and like I said - it didn't come up anymore.
Maybe I should have mounted /var proberly with fstab instead of softlinking it... |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Ahha I did exactly what you did. http://talk.maemo.org/showpost.php?p...&postcount=802 I was luckier in my efforts whilst typing df / in a second terminal and faffing around hoping to keep it moving. It turned out okay for me thankfully.
|
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Does anybody know whether mounting /usr makes the system eventually slower? If it doesn't this would be a quite good permanent solution for getting rid of space problems.
|
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
anyone knows how to hack the sip application?
looks like rtcomm is doing the sip and i found the sip account settings in .rtcom-accounts/accounts.cfg but ... if i change things here .. disabling and enabling my sip account cancels all my changes i need to set the info the caller id should send anyone knows how i could hack these setings and how to add the caller id settings? thank you! |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
I was going to start a thread just like this.. But you beat me to it!
I was thinking how am I going to start this.. But you have almost everything I need on there.. Thanks!! |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
i added this bug
https://bugs.maemo.org/show_bug.cgi?id=7789 please ... vote for it .. maybe someone can fix this before until we can figure out a solution on our own :D |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Quote:
Without knowing the boot sequence you risk /usr not being mounted when something stored in there is required. I think that's what /bin is for(?) so that shouldn't happen, but unless you're happy with dealing with the potential problems this might cause I'd proceed with extreme caution... Cheers, Jan |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
Well... I would like to change the way USB connection is handled. Now, to turn off "Mass Storage Mode" and continue USB charging, you need to take out the cable. It doesn't improve longevity of USB port. It would be better to be able to disconnect from Mass Storage Mode without pulling cable out.
There is /usr/sbin/osso-usb-mass-storage-disable.sh which could be used for this. But I don't want to go to X Term and call this sh again. I would like it to be integrated into Status Menu. In Status Menu status of USB is shown by usb_plugin.so. It's a ELF file. Thus, it is compiled from some source. Where can this source be found to modify it? I don't want to start from scratch. I know it will not crash whole system, but still... The modification would be small and useful, maybe, somebody has already done it? |
Re: [Hackers/Devs Only] Collection of Low-Level Config-Files / Tools
No more collection
is this thread closed btw nice work guys |
All times are GMT. The time now is 11:27. |
vBulletin® Version 3.8.8