maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone (https://talk.maemo.org/showthread.php?t=37242)

白い熊 2009-12-15 02:18

Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
You can utilize full Chinese Japanese Korean (CJK) input on the Nokia N900 GNU mobile phone, using GNU Emacs.

http://sumoudou.org/0/17.html

You can send SMS, edit contacts, basically use any application and use this way to input CJK text, it works.

UPDATE: 2009-12-15-174111 GNU Emacs 23.1.1 .deb installation package uploaded, getting rid of the problems, discussed in the following posts.

keiel 2009-12-15 02:50

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
http://sumoudou.org/n900/emacs_23.1.1_armel.deb

Not Found

The requested URL /n900/emacs_23.1.1_armel.deb was not found on this server.

wmarone 2009-12-15 02:56

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
I suppose that is a way, if slightly rickety.

Are you aware of any organized project to bring real CJK input to the N900? I would like to offer my time and skills, if needed. I know there was a system in place for OS2008, but I'm unsure where to start in terms of porting to Fremantle.

白い熊 2009-12-15 03:10

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by keiel (Post 428253)
http://sumoudou.org/n900/emacs_23.1.1_armel.deb
Not Found
The requested URL /n900/emacs_23.1.1_armel.deb was not found on this server.

Fixed......

白い熊 2009-12-15 03:11

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by wmarone (Post 428259)
I suppose that is a way, if slightly rickety.

:) Works great for me, I'm used to this way of input, use it even on the desktop PC, don't need no input methods etc. Just have Emacs and I'm ready to go always, everywhere, it's rock solid.

dvergin 2009-12-15 03:16

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by wmarone (Post 428259)
Are you aware of any organized project to bring real CJK input to the N900?

Work is under way by the same person(s) who did the OS2008 tool, but with some major changes in some of the mechanics.

Latest report is here:
http://domaemon.blogspot.com/2009/12...creencast.html

wmarone 2009-12-15 03:26

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

it's rock solid
Rock solid yes, but it depends on Emacs which is 25MB even on Maemo, and I would not use it for much else (I'd rather work on getting vim-gtk going!) I would also prefer that it integrate as seamlessly as possible with my UI, which I get on both Linux and Windows today.

Quote:

Work is under way by the same person(s) who did the OS2008 tool, but with some major changes in some of the mechanics.
Now see, that's what I'm talking about. A little cleaner integration (directly into gtk2 inputs instead of a fade window) and that'd be spectacular and more like the input modes I'm used to.

paulyeo 2009-12-15 03:35

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
i saved it onto my sdcard but cannot install it...how do I install it?

白い熊 2009-12-15 03:46

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Click and open it. Or from the xterm: dpkg -i filename

paulyeo 2009-12-15 03:48

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
dpkg: requested operation requires superuser privilege

uhh...?

白い熊 2009-12-15 03:52

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
http://sumoudou.org/0/14.html

Steps 3, 4, and 5 of the Basic guide posted on the page.

paulyeo 2009-12-15 04:08

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
when I open it, it says "what to open with" and gives me all the apps....
am i suppose to download it into a specific folder?

白い熊 2009-12-15 04:18

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
OK, my bad, I assumed that when you click on a .deb package, the N900 would be smart enough to install it. I only use the commandline, so never done it the GUI way.

Anyhow, you have to install via the commandline then, The instructions at http://sumoudou.org/0/14.html are fixed now.

paulyeo 2009-12-15 04:30

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
sorry to keep bothering you but where is the "home" folder? i don't see it anywhere on my sdcard or phone.

白い熊 2009-12-15 04:48

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
If you open File Manager and go all the way to the top you will see some folder that has the same name as you called your N900 device. This is the /home/user/MyDocs folder, so if you save the file to this folder, then open the terminal and:
cd /home/user/MyDocs
If you have a MicroSD card in there and you saved it to it, it should be automatically mounted somewhere in /media/ so you can cd there...

paulyeo 2009-12-15 05:02

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
seemed like it was working until i get

The following NEW packages will be installed:
libungif4g libxpm4
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
1

then it would fail saying it cannot be installed after like 1-2 minutes.

im getting ticked off =x

白い熊 2009-12-15 05:03

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Give me the exact text you get when it fails.

t_moyashi 2009-12-15 05:04

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Currently , N900 owners in Japan use web services such as Sumibi or Ajax IME.
but these services cannot be used when we are in off-line.
so , your guide is very useful. thanks.
#and I think this is a good opportunity for me to switch from vi to Emacs :)

白い熊 2009-12-15 05:08

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by t_moyashi (Post 428371)
#and I think this is a good opportunity for me to switch from vi to Emacs :)

You'll never regret it, man. You'll be flyin' with Emacs. You can read mail with it, manage files, send SMSes, make phonecalls, search dictionaries, browse the web, follow your twitter account, read pdf's, listen to music, view images...

You name it, GNU Emacs does it!

白い熊 2009-12-15 05:10

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
By the way, I've also compiled Prime http://taiyaki.org/prime/

This is the greatest input method especially for a handheld device. Though Japanese originally, can be used for any language, you only type one or two letters and get great predictive options for input.

I'll be posting soon on how to get it working with GNU Emacs on the N900.

keiel 2009-12-15 05:10

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Hi, could you help me with
"Before first using GNU Emacs, to make sure that GNU Emacs clipboard is integrated with the system clipboard (IMPORTANT), make sure you have an .emacs file in your home directory with the following text:
(set-clipboard-coding-system 'utf-8)
(setq x-select-enable-clipboard t)
$ echo "(set-clipboard-coding-system 'utf-8)" >> ~/.emacs
$ echo "(setq x-select-enable-clipboard t)" >> ~/.emacs"

i don't really get it. thanks

paulyeo 2009-12-15 05:12

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
dpkg: dependency problems prevent configuration of emacs:
emacs depends on libungif4g; however:
package libungif4g is not installed.
emacs depends on librsvg2-2 (>=2.26.0-1maemo0); however:
package librsvg2-2 is not isntalled.
emacs depends on libxpm4; however:
package libxpm4 is not installed.
dpkg: error processing emacs (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
emacs

urmybaby 2009-12-15 05:24

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
i installed emacs, but how can i open it or start it? i used $ emacs, it told me file not found.

白い熊 2009-12-15 05:45

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by keiel (Post 428375)
Hi, could you help me with
...
i don't really get it. thanks

1. Open the terminal.
2. Type:
echo "(set-clipboard-coding-system 'utf-8)" >> ~/.emacs

3. Hit ENTER
4. Type:
echo "(setq x-select-enable-clipboard t)" >> ~/.emacs

5. Hit ENTER

That's it.

白い熊 2009-12-15 05:46

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by paulyeo (Post 428378)
dpkg: dependency problems prevent configuration of emacs:
emacs depends on libungif4g; however:
package libungif4g is not installed.
emacs depends on librsvg2-2 (>=2.26.0-1maemo0); however:
package librsvg2-2 is not isntalled.
emacs depends on libxpm4; however:
package libxpm4 is not installed.
dpkg: error processing emacs (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
emacs

This is exactly what Step 5 says:
It will complain about missing dependencies, this is the expected behavior.
That's what it's doing...
Continue to Step 6.

白い熊 2009-12-15 05:47

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by urmybaby (Post 428387)
i installed emacs, but how can i open it or start it? i used $ emacs, it told me file not found.

You will have in icon saying GNU Emacs in your menu.

Or you can start it from the terminal. Type:
emacs

urmybaby 2009-12-15 05:51

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by 白い熊 (Post 428406)
You will have in icon saying GNU Emacs in your menu.

Or you can start it from the terminal. Type:
emacs

i dont have icon in menu, i typed emacs in xterminal it told me emacs not found. also there is no emacs in my application manager when i check on uninstall

urmybaby 2009-12-15 06:06

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

urmybaby 2009-12-15 06:10

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
i have a gnu emacs icon in my menu now, but when i click on it, nothing happens

wmarone 2009-12-15 06:16

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
I think suggesting to anyone not intimately familiar with Linux (ie. already probing around with the x terminal) that they install a .deb directly is a bad idea.

I would recommend most people wait until an actual package is available at least in extras-testing before trying for CJK input.

urmybaby 2009-12-15 06:22

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
one more thing, the emacs is not working for me, i have icon but cannot run it. i use xterminal $ emacs: it told me file not found.

also how can i uninstall the emacs?

thank you

白い熊 2009-12-15 06:25

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by urmybaby (Post 428419)
i have a gnu emacs icon in my menu now, but when i click on it, nothing happens

Sorry 'bout that, my bad. See http://talk.maemo.org/showpost.php?p=428430&postcount=7 and the answer in the first part. Do either of those, I'll fix the package soon, but if you don't wanna redownload, the solution there will work.
Or you can start it from the terminal by specifying the full path:
/opt/emacs_23.1.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs
and it'll run

白い熊 2009-12-15 06:27

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by urmybaby (Post 428434)
one more thing, the emacs is not working for me, i have icon but cannot run it. i use xterminal $ emacs: it told me file not found.

also how can i uninstall the emacs?

thank you

It'll work, if you do the above step.

To uninstall, either go to the Package manager, and choose Uninstall, then Emacs, or from the terminal as root, i.e. after sudo gainroot:
apt-get remove emacs

白い熊 2009-12-15 06:31

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by wmarone (Post 428429)
I think suggesting to anyone not intimately familiar with Linux (ie. already probing around with the x terminal) that they install a .deb directly is a bad idea.

I agree with what you're saying, if the .deb can do something potentially harmful, like yeah uninstall half the system. That's not the case here, though yeah, if you don't know GNU/Linux you could sometimes mess it up.

But nobody worry. Nuthin' bad with this one. Also, that's how you learn in GNU/Linux, overcoming problems, right.
Quote:

I would recommend most people wait until an actual package is available at least in extras-testing before trying for CJK input.
If you need CJK input just go ahead, you can get it working, it's not that hard, and it might take a long time for Emacs to pop up in extras-testing, plus if you're not deeply familiar with GNU/Linux, messing with extras-testing is the same problem.

But it's rock solid in this package, and you can use CJK right now.

urmybaby 2009-12-15 06:31

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
$ echo "(set-clipboard-coding-system 'utf-8)" >> ~/.emacs
$ echo "(setq x-select-enable-clipboard t)" >> ~/.emacs

in my n900, i cannot type "~" symbol.... neither it on the keyboard, nor can't type in the virtual keyboard.

白い熊 2009-12-15 06:32

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by urmybaby (Post 428414)
unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

That's the step 6 man. If you can't fetch, you ain't got an internet connection, you need it to install the dependencies.

urmybaby 2009-12-15 06:35

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
i opened xterminal and typed /opt/emacs_23.1.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs. it still showing me: not found.

白い熊 2009-12-15 06:37

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by urmybaby (Post 428442)
$ echo "(set-clipboard-coding-system 'utf-8)" >> ~/.emacs
$ echo "(setq x-select-enable-clipboard t)" >> ~/.emacs

in my n900, i cannot type "~" symbol.... neither it on the keyboard, nor can't type in the virtual keyboard.

Edit a file on the PC, make it have the following text:
(set-clipboard-coding-system 'utf-8)
(setq x-select-enable-clipboard t)

Save it as .emacs (note the DOT in front of the `e').
Copy it to the N900.
In the terminal, move it to /home/user

Or just run emacs, then:
C-x C-f .emacs
Then type the text, then save with
C-x C-s
Then restart Emacs, and you it'll work.

白い熊 2009-12-15 06:38

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Quote:

Originally Posted by urmybaby (Post 428451)
i opened xterminal and typed /opt/emacs_23.1.1_shiroikuma_2009-12-15-001000_fremantle_armel/bin/emacs. it still showing me: not found.

What does:
ls /opt/
give you?

urmybaby 2009-12-15 06:40

Re: Full Chinese Japanese Korean (CJK) input for the Nokia N900 GNU mobile phone
 
Failed to open connection to "session" message bus: (null)


All times are GMT. The time now is 23:39.

vBulletin® Version 3.8.8