LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2015, 02:10 PM   #1
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Rep: Reputation: Disabled
swap input language on keyboard


Hi guys, I run ubuntu 14.04 and I need to find a way to quickly swap from an english keyboard to a russian one. Ideally,it would be better to have it as a virtual keyboard so that I can see where each character sits on the keyboard. Do I have to install any cirillic package or any software to handle the language and something to allow the virtual keyboard to appear?
thanks
 
Old 11-27-2015, 06:09 PM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Install andy. It allows you to switch languages. A bit like windows icon that allows differentinput methods.

If you just want a quick temporary way to switch keyboard layout,

Code:
loadkeys jp
Or whatever layout double abbreviation you need. Loadkeys will onlyswitch keyboard layout, not allow you to type the cirrilics, andy will.


I think ubuntu has easy setup menus to do that if you go to languages or accesibility. Cannot remember ubuntu well though.

Last edited by ericson007; 11-27-2015 at 06:11 PM.
 
Old 11-28-2015, 10:57 AM   #3
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
happy to install andy, but I don't seem to be able to find it anywhere, not a reference on the net, not a website, where do I find it?
thanks
 
Old 11-28-2015, 12:02 PM   #4
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
http://www.localizingjapan.com/blog/...s-trusty-tahr/

There is a guide. Anthy is the one I was looking for. Sorry for spelling. But the languages/accessibility should have been a pretty straight forward hint for your distro.

Appologies for the rabbit hunt.
 
Old 11-28-2015, 12:47 PM   #5
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
No problem at all, no wonder I couldn't find it :-)! I will have a look at it, thanks a lot!
 
Old 11-28-2015, 01:50 PM   #6
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
Right, so I followed that procedure but I don't get the language icon at the very top as I should according to the guide.
I installed the russian language from language support,restarte, but I don't get any language icon.I run again
Code:
sudo apt-get install language-selector
just in case, restarted, and the icon appeared just before I logged in (on the login screen), but after I logged in, it disappeared again
I haven't installed anthy as yet though, as the guide didn't ask for it. Should I install it?
thanks
 
Old 11-29-2015, 12:27 AM   #7
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Check if ibus is installed and running. If not start it. Also make sure anthy is installed.
 
Old 11-29-2015, 09:54 AM   #8
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
thanks, so here is what I've done.
Ibus seems to be installed:
Code:
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$ apt-cache policy ibus
ibus:
  Installed: 1.4.1-3ubuntu1
  Candidate: 1.4.1-3ubuntu1
  Version table:
 *** 1.4.1-3ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$
Same goes for anthy:
Code:
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$ apt-cache policy anthy
anthy:
  Installed: 9100h-9ubuntu1
  Candidate: 9100h-9ubuntu1
  Version table:
 *** 9100h-9ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
antobbo@antobbo-linux-Dell-System-XPS-L702X:~$
Since I have no idea whether ibus is running I went to startup applications and added ibus to it (see attached screenshot ibus_cropped.jpg) and then restarted ubuntu. Still no language button to the top, this is what I have instead (desktop.jpg):
Attached Thumbnails
Click image for larger version

Name:	ibus_cropped.png
Views:	18
Size:	42.9 KB
ID:	20159   Click image for larger version

Name:	desktop.png
Views:	17
Size:	67.7 KB
ID:	20160  
 
Old 11-29-2015, 11:12 AM   #9
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,084

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279
You don't need any of that stuff, andy or ibus. Nor do you use loadkeys, which is for the console, not the GUI. I have 3 keyboard drivers and it's really very simple.

Somewhere in Ubuntu's applications there should be a keyboard configuration tool. If you run that, you can install extra extra drivers. You should also be able to select a key or key combination for the GroupShift function: toggling from one keyboard driver to another. I use ScrollLock, because you should also be able to set the ScrollLock light to come on when you're not using using the default keyboard, which prevents accidently typing τηιϲ ϲορτ οφ τηινγ. You should also be able to specify whether changing drivers will be (1) global, (2) confined to the active program, or (3) confined to the active window. You should also be able to put an applet on the panel which shows which keyboard is in use, and enable you to change by clicking on it.

Whether all that that applies to Unity I can't say, as this computer can't run it. If it doesn't, then use Mate/Xfce/KDE/Cinnamon.
 
Old 11-29-2015, 11:23 AM   #10
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
hi thanks, to be honest, whichever way I get there I don't really mind, as long as I can easily toggle between english and russian. ericson007's solutions seemed pretty simple, but something in my laptop doesn't like it I suppose. Happy to give yours a go of course.
Is the attached what you're referring to?
Attached Thumbnails
Click image for larger version

Name:	keyboard.png
Views:	16
Size:	33.8 KB
ID:	20161  
 
Old 11-29-2015, 11:30 AM   #11
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
Ah OK, good news, apparently since I added russian to the screen above (layout settings under keyboard) I know get the "en"/"ru" button on my toolbar. I guess I used a bit of a mixed approach.
It's working now, so happy with that. Thank you both guys!
 
Old 11-29-2015, 04:21 PM   #12
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
@david: Would installing drivers not just allow mapping of a different keyboard layout? I always thought ibus is required to have the keyboard input in a different language. On my system I use a setup similar to yours to map keys, but if i need language input, the language packs and ibus is a must. Or do I have the cat's tail for non asian languages?

Glad you got it working though.

Last edited by ericson007; 11-29-2015 at 04:31 PM.
 
Old 11-29-2015, 05:07 PM   #13
jazzo
Member
 
Registered: Jul 2012
Posts: 270

Original Poster
Rep: Reputation: Disabled
Ah forgot, the only thing is that since I don't know the position of the russian letters on the keyboard it's a bit difficult to know what's what. Is there anyway to have like a virtual keyboard to pop up so i know where each letter sits where?
thanks
 
Old 11-29-2015, 09:55 PM   #14
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
With anthy, you should be able to use your keyboard map, i.e. us, and anthy will translate to cyrillic. Remove the russian keyboard keymap. See what happens.
 
Old 11-30-2015, 10:40 AM   #15
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,084

Rep: Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279Reputation: 2279
There are two types of Russian keyboard. What one might call the "Russian Russian" has the same layout has a keyboard you'd buy in Russia, so the home row starts with Ф (ef) instead of A. If you don't know to type in Russian, there's the phonetic Russian, which matches as many Cyrillic letters as possible to their Latin counterparts, so that the home row starts with A. When you install a keyboard driver, you should be able to select the phonetic, although naturally the default is the standard one.

On my system, right clicking on the panel indicator gives a "show current layout" option for a popup if I've forgotten where something goes.

For diagrams, see
https://en.wikipedia.org/wiki/Keyboard_layout#Russian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] dual keyboard input (2 language) in X (xorg.conf) slackman77 Slackware 17 09-30-2010 05:24 AM
can't differentiate system language from keyboard language? lilou_b Linux - Newbie 3 04-14-2010 05:47 PM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
Switching input keyboard language in Linux fabianrios Linux - Software 3 09-15-2005 04:46 PM
my mouse input is takes as keyboard input in BASH e1000 Slackware 5 12-08-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:54 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