maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Minor customisation (https://talk.maemo.org/showthread.php?t=5504)

TA-t3 2007-03-29 11:00

Re: Minor customisation
 
Ah, since then at least <TAB> - completion has been invented! ;)

timmorris 2007-03-29 11:37

Re: Minor customisation
 
I've tested it in as many applications as I can and it works as expected.

I've found a minor bug. en_GB is shown instead of English (GB) in the regional control panel.

Tim

timmorris 2007-03-30 07:13

Re: Minor customisation
 
Can anyone point me in the direction of a knowledgebase that describes the use of locale tools and I'll try to see if I can edit it myself? While I'm looking what flavour of Unix Debian does the N800 use? I've seen the references to osso and hildon (the latter of which I believe to be the GUI overlay) from browsing through the file system.

The other thing that I can find is the location of the user documents folders from within xterm (or a way of searching for files - grep rings a bell but I can't remember how to use it, tree from the root piped into grep rings a bell, but it is so faint I can't hear it...)

I promise I'm not a complete numpty, I'm just the wrong side of 40 so it is all a long way in the distant past. I didn't use Unix at university, we had VAX 11/780s, dumb terminals, together with high resolution graphics terminals, which were basically CRT equivalents of laser printers (driven by the TeX typesetting language) with a frame rate of about 1 frame every 20 seconds. You pesky kids don't know you're born the N800 has about as much power as the whole computing centre did...

Tim

SeRi@lDiE 2007-03-30 08:03

Re: Minor customisation
 
Quote:

Originally Posted by timmorris (Post 41934)
The other thing that I can find is the location of the user documents folders from within xterm (or a way of searching for files - grep rings a bell but I can't remember how to use it, tree from the root piped into grep rings a bell, but it is so faint I can't hear it...)
Tim

ls -a will display the hidden .folders in Linux...

The documents folders is located in /home/user/MyDoc/.documents
if you cd in xterm

cd /home/user/MyDoc

and do ls -a you will see all the hidden folders including your documents folder :)

timmorris 2007-03-30 08:09

Re: Minor customisation
 
Bang! I just got hit by a truck! ls -al | more

What's the command line which will enumerate down a tree and pipe it into grep? I generally hate it when people ask for spoon feeding, but it's driving me mad - the information is in my head but I just can't drag it out. I'm going back 20 years. On System V the online manual was accessed using "man". It isn't the same on Debian. Any clues?

Tim

jethro.itt 2007-03-30 08:10

Re: Minor customisation
 
Quote:

Originally Posted by timmorris (Post 41934)
Can anyone point me in the direction of a knowledgebase that describes the use of locale tools and I'll try to see if I can edit it myself?

Here's something: http://people.debian.org/~barbier/ta...ibc-locale.pdf

Quote:

Originally Posted by timmorris (Post 41934)
While I'm looking what flavour of Unix Debian does the N800 use? I've seen the references to osso and hildon (the latter of which I believe to be the GUI overlay) from browsing through the file system.

OSSO is Nokia's semi-internal name for all Open Source related. Hildon is the GUI framework. Neither of these are present in vanilla Debian. The Debian in the internet tablets is heavily customized. It does not directly map to any official Debian distribution.


Quote:

Originally Posted by timmorris (Post 41934)
The other thing that I can find is the location of the user documents folders from within xterm (or a way of searching for files - grep rings a bell but I can't remember how to use it, tree from the root piped into grep rings a bell, but it is so faint I can't hear it...)

Files and directories beginning with a period are not shown by UNIX command line tools (or the file manager) by default. In the user's home directory (/home/user) there is a directory called MyDocs. Under it there are several directories whose names begin with a period. That's why you cannot normally see them. Try:

Code:

ls -a MyDocs


Quote:

Originally Posted by timmorris (Post 41934)
You pesky kids don't know you're born the N800 has about as much power as the whole computing centre did...

The N800 has a computing power equal to about 200-300 VAX 11/780s...

EDIT: Looks like I was late! Someone already answered many of your questions.

timmorris 2007-03-30 08:23

Re: Minor customisation
 
Just a quick note of thanks to all those who have replied to this and other threads I've posted in the last week. I only bought the N800 to use it as a dedicated Squeezebox remote control (4 Squeezeboxes - 4 N800s). The geek in me won't let me just set up a shortcut on the homepage and leave it at that.

The reason I use Squeezeboxes and not Sonos is because slimserver, like the N800 is open source based and allows for so much customisation plus the sound quality is fantastic.

All I need now is for someone to work out how to launch the web-browser in full-screen mode at boot and I can set up three of them and leave them in their appropriate room and then fiddle with the one allocated for my "den" to my heart's content.

I swore I wasn't going to go down the Linux route. You're right about the 11/780 Jethro. I sold an IBM AS/400 B50 in 1990 which had 1.2Gb of disc storage for around 40 users of a dedicated manufacturing control package (Computer Associates PRMS). The hardware came in at £100k!

Tim

jethro.itt 2007-03-30 08:26

Re: Minor customisation
 
Quote:

Originally Posted by timmorris (Post 41940)
What's the command line which will enumerate down a tree and pipe it into grep? I generally hate it when people ask for spoon feeding, but it's driving me mad - the information is in my head but I just can't drag it out. I'm going back 20 years.

The "find" command is probably what you want. "find" on the N800 is a cut-down version from BusyBox (a multi-call binary designed to save space by combining most UNIX command into a single binary, with reduced functionality). It does not support the "-exec" command, so you need to get creative with "xargs":

Code:

find -name "*.txt" | xargs grep "hello"
Quote:

Originally Posted by timmorris (Post 41940)
On System V the online manual was accessed using "man". It isn't the same on Debian. Any clues?

Man pages are not available in the internet tablet due to space constraints. In any normal Debian install you could very well use man to find information. Although you need to give "man" a name of a command or "man -k topic" to get a list of matching commands.

BusyBox has a command help on the Internet: http://www.busybox.net/downloads/BusyBox.html. Note that not all commands are included in the N800 version.

timmorris 2007-03-30 08:27

Re: Minor customisation
 
Thanks again.

Edit: The Busybox pages are full of useful info. I'm starting to make some progress.

Tim

SeRi@lDiE 2007-03-30 15:26

Re: Minor customisation
 
Quote:

Originally Posted by timmorris (Post 41940)
Bang! I just got hit by a truck! ls -al | more

What's the command line which will enumerate down a tree and pipe it into grep? I generally hate it when people ask for spoon feeding, but it's driving me mad - the information is in my head but I just can't drag it out. I'm going back 20 years. On System V the online manual was accessed using "man". It isn't the same on Debian. Any clues?

Tim

Tim,

You dont need to pipe ls -al to more... it is only 4 folders big if you where in a full blown *nix enviroment than yes | more would be usefull because you would be able to controle the listing.

The rest like find etc... jethro.itt hasit pretty much cover...


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

vBulletin® Version 3.8.8