Notices


Reply
Thread Tools
Jef91's Avatar
Posts: 191 | Thanked: 129 times | Joined on Dec 2009 @ Bloomington, IL
#1
Hey All,

So I must say one thing I find strange/annoying on my N900 is its lack of some very basic Linux commands (wget, nano, fdisk, etc.) are not included by default.

When I am poking around with my device I keep finding the need to edit text files - is there a way default text editor included on the system I can use to do so?

Or I also installed pygtkeditor from the repositories - however i cannot figure out the command line argument for the life of me to launch the editor to open a certain file.

Any help/suggestions would be awesome

Thanks,
~Jeff
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#2
You can find and install Leafpad. It's simpler than pygtkeditor.
Once you have root access, you can launch it from the terminal.

# leafpad /home/user/MyDocs/readme.txt
 

The Following User Says Thank You to jakiman For This Useful Post:
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#3
My favorite is vi, but leafpad is a very easy one. It may not be available yet for everyone because some routine processing may be underway, but it is either there now to be installed or will be very soon.

VI is very fun and you can pretend to be a computer geek just by using it. Just getting the basic idea takes a small amount of concentrated effort.
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#4
you can get some of those basic tools by adding the fremantle/tools repository:

Catalog name: Maemo Fremantle Tools
Web address: http://repository.maemo.org/
Distribution: fremantle/tools
Components: free non-free
Disabled: unchecked


List of apps (from an Italian site):
Code Analysis
doxygen a source code documentation generator tool
gtk-doc an API documentation generator

Debugging
gdb GDB is the GNU debugger
functracer an allocation backtrace tool
functracer-postproc a post-processing tool for functracer output data
latrace display a program’s dynamic library calls
ltrace a library call tracer
maemo-debug-scripts a set of scripts to help with debugging tasks
sp-error-visualizer displays log messages as banners
sp-rich-core a core dump data saver
sp-response-time a library for monitoring UI response times
sp-startup-time a library for calculating application startup times
strace a system call tracer
syslog a log message collecting service
valgrind a suite of tools for debugging and profiling programs
x11-utils a collection of X Window System debugging tools; xev, xwininfo, xprop, xlsatoms and xlsclients.

Miscellaneous
less a text file viewer/pager
osso-xterm a terminal emulator
man-db manual page infrastructure
screen provides access to detachable console sessions

Editors
nano a friendly text editor
vi a text editor

Graphics
screenshot-tool a command line utility to take screenshots
xresponse measures the time taken to update the screen after user action
xresponse-visualize scripts for visualizing xresponse logs

Networking
iputils a collection of TCP/IP related utilities
netcat a utility to read and write data across network connections
tcpdump a network traffic capturing utility
traceroute print the route packets take to a network host
wget a utility to non-interactively download files from the Web

Performance
oprofile a low overhead system wide profiler
oprofileui a user interface to oprofile
sp-startup-time a library for calculating application startup times
valgrind a suite of tools for debugging and profiling programs
xresponse measures the time taken to update the screen after user action
xresponse-visualize scripts for visualizing xresponse logs

Resource Usage
functracer an allocation backtrace tool
functracer-postproc a post-processing tool for functracer output data
htop an interactive process viewer
sp-endurance tools to collect system endurance related information
sp-endurance-postproc postprocessing scripts to parse and generate a report from endurance measurement data
sp-memusage a collection of memory usage monitoring tools and scripts
sp-smaps-measure utilities for taking snapshots of smaps memory information
sp-smaps-visualize utilities for analyzing smaps memory information
sysstat tools for collecting and reporting system activity information
valgrind a suite of tools for debugging and profiling programs
xrestop shows X clients’ X resource usage

Test Automation
check a unit test framework for C
sp-stress tools to create artificial system load
xnee automate user actions under X11
xresponse measures the time taken to update the screen after user action

Wireless Tools
bluez-hcidump a tool to monitor Bluetooth activity
wireless-tools tools for manipulating Linux Wireless Extensions


You've got to use apt-get or red pill mode on the application manager.
 

The Following 6 Users Say Thank You to debernardis For This Useful Post:
Posts: 145 | Thanked: 88 times | Joined on Nov 2009 @ Copenhagen
#5
vi is included, but on my n900 I prefer using the wonderfull Vim editor which can be installed by enabling the extras repository (or directly from here)

Even though I primarily use GNU Emacs on my main computers, I much prefer Vim's modal approach on the n900 with its small keyboard and lack of certain (function) keys.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#6
wget was, as far as I can tell, pre-installed on my N900 (I certainly didn't install it.). I'm using it all the time.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Jef91's Avatar
Posts: 191 | Thanked: 129 times | Joined on Dec 2009 @ Bloomington, IL
#7
Thanks for that repos listing! Very useful stuff there, is there an easy way/a repos I can add that will give me the fdisk command?

~Jeff
 

The Following User Says Thank You to Jef91 For This Useful Post:
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#8
nano as "very basic"?
there's vi available by default.
and emacs from the repositories...
__________________
maemo.org Bugmaster
 
Khertan's Avatar
Posts: 1,012 | Thanked: 817 times | Joined on Jul 2007 @ France
#9
Originally Posted by Jef91 View Post
Hey All,

Or I also installed pygtkeditor from the repositories - however i cannot figure out the command line argument for the life of me to launch the editor to open a certain file.

Any help/suggestions would be awesome
in xterm : pygtkeditor mypythonscript.py

that's all
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:36.