LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-16-2011, 12:26 AM   #1
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
How to use non-European scripts in terminal?


I am having a problem inputting non-English script in the terminal. Ibus is installed with all necessary packages and is working fine in every application, except the terminal. I cannot even copy and paste Chinese into the terminal. The non-Latin-based characters are displayed as "?".
I do not want to run Chinese shell commands. I only want the terminal to recognise the names of files that have Chinese characters. Two examples are: copying and creating directories with Chinese names; and selecting image files with feh when configuring Openbox. Basic stuff like that. So it is not necessary to enable direct input of non-Western characters. I would be happy if I could paste Chinese characters into the terminal.
I have experimented with terminal and system configurations, but cannot figure out how to do it.
 
Old 10-16-2011, 03:15 AM   #2
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Is your locale set to UTF-8 in your config(usually something like /etc/profile.d/lang.sh)?
What terminal do you use? Does it support unicode?
 
Old 10-16-2011, 05:25 AM   #3
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711

Original Poster
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Yes, my Chinese locale is set to UTF-8.
As for inicode, I believe it is one of the default settings with Debian, but I am not sure. It has been a while since I have configured anything that has unicode as an option. And to be honest, my brain is so muddled from work at the moment, I cannot think of where to look for unicode settings.
I usually use the root terminal, with Debian 6 Stable. Although Ibus does not work with the simple word processor (Mousepad), I can still paste non-European writing. Only the terminal has a problem with displaying Chinese.
 
Old 10-16-2011, 06:00 AM   #4
millgates
Member
 
Registered: Feb 2009
Location: 192.168.x.x
Distribution: Slackware
Posts: 852

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by Randicus Draco Albus View Post
I usually use the root terminal, with Debian 6 Stable.
Is that a terminal emulator? I mean a terminal emulator such as rxvt, aterm, xterm, eterm, konsole etc. Some of them have unicode versions, such as uxterm or urxvt.
 
Old 10-16-2011, 06:30 AM   #5
Randicus Draco Albus
Senior Member
 
Registered: May 2011
Location: Hiding somewhere on planet Earth.
Distribution: No distribution. OpenBSD operating system
Posts: 1,711

Original Poster
Blog Entries: 8

Rep: Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635Reputation: 635
Debian's documentation describes XFCE's terminal as a lightweight and easy to use terminal emulator for X11. "Comparable to GNOME 2 terminal."
I am a beginner with the terminal. Judging from my limited experience, I thought the difference was root terminal with full root privileges and terminal emulators without full privilege, because only root terminal gives me complete access.
If XFCE has an emulator, is it possible to configure it the way I want or is an emulator limited to Latin-based text?
Yes, I am a shell command beginner. Since, apparently, I seem confused about the difference between a regular terminal and an emulator, I am not experienced enough to be considered even a novice.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Launching 3 other scripts in their own terminal from a script rng Linux - Newbie 5 09-27-2011 08:10 AM
Terminal for running VB scripts (a secureCRT like terminal) eviatarkhen Linux - Software 4 04-06-2011 09:54 AM
Can't launch scripts in terminal (ubuntu) plzhelpme Linux - Newbie 5 10-18-2009 07:49 PM
How to emulate user on terminal (without bash scripts) Laedrus Linux - Server 2 08-20-2008 01:59 AM
Run php scripts in terminal gpm1982 Programming 3 04-30-2008 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration