Please support VectorLinux!

Author Topic: How can I write in cyrillic?  (Read 3192 times)

marcus

  • Member
  • *
  • Posts: 19
How can I write in cyrillic?
« on: October 07, 2007, 03:43:06 am »
How can I use my regular keyboard to write cyrillic letters? I can look at Russian stuff over the web just fine, but I can't figure out how to write in Russian myself. Can I create a shortcut which would allow me to switch between latin characters and cyrillic on the fly? I'm stuck with copy & paste from Character Map: there must be a quicker way!

I'm using Standard VL 5.8 with xfce.

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: How can I write in cyrillic?
« Reply #1 on: October 07, 2007, 06:41:06 pm »
This nifty gizmo may help you out until someone can give you the proper answer. http://ourworld.compuserve.com/homepages/PaulGor/screen_e.htm
I stumbled upon it while trying to find out how it's "supposed" to be done.

Miki Tebeka

  • Member
  • *
  • Posts: 27
    • My Blog
Re: How can I write in cyrillic?
« Reply #2 on: October 08, 2007, 01:19:35 pm »
Have the following in your /etc/X11/xorg.conf

Code: [Select]
Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option  "XkbLayout"  "us,ru"
EndSection

Note: I *think* it's "ru" for Russian.

Restart your X (CTRL-ALT-BACKSPACE).

Then click on the panel, "Add new item" and select "Keyboard Layout Switcher"
(if you're using XFCE, don't know about KDE).

HTH.
--
Miki

blurymind

  • Packager
  • Vectorian
  • ****
  • Posts: 1082
Re: How can I write in cyrillic?
« Reply #3 on: October 09, 2007, 01:05:08 am »
"us,ru(phonetic)" 
if you preffer phonetic keyboard layout (like me)..

there is another way around it, by making a launcher that changes them with commands..but this ones best
« Last Edit: October 09, 2007, 01:07:47 am by blurymind »
status: playing around with new tablet and learning to 3d :p
google page :  http://blurymind.googlepages.com
DA PAGE :  http://www.blurymind.deviantart.com/

NeoGeo

  • Member
  • *
  • Posts: 1
Re: How can I write in cyrillic?
« Reply #4 on: November 11, 2007, 10:51:48 pm »
In /etc/X11/xorg.conf change

For use CAPS Lock for switch

Code: [Select]
Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:caps_toggle,grp_led:caps"
EndSection

or this - Ctrl+Shift

Code: [Select]
Section "InputDevice"
Identifier  "Keyboard0"
Driver      "kbd"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
EndSection

budulay

  • Packager
  • Vectorian
  • ****
  • Posts: 568
  • NewComer
Re: How can I write in cyrillic?
« Reply #5 on: April 07, 2008, 05:27:53 pm »
Hello,
I have VectorLinux 5.9 standard gold.
Is this way will work in my case?
thank you.
VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!

budulay

  • Packager
  • Vectorian
  • ****
  • Posts: 568
  • NewComer
Re: How can I write in cyrillic?
« Reply #6 on: April 09, 2008, 01:53:56 pm »
I did tryed and it works!!!
Now I have 2 keymaps!
It the event to celebrate.

I think it will be useful to add this tweak to HowTos...
If nobody is against it, I will do it:-)

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!

fuelinux

  • Member
  • *
  • Posts: 52
Re: How can I write in cyrillic?
« Reply #7 on: April 09, 2008, 10:50:02 pm »
does anybody know, how to manage to switch between layouts with LEFT shft+alt?
Vector Linux 5.8 Standard

boneygamba

  • Member
  • *
  • Posts: 22
Re: How can I write in cyrillic?
« Reply #8 on: April 10, 2008, 02:27:39 am »
does anybody know, how to manage to switch between layouts with LEFT shft+alt?

if you add the following line  to xorg.conf as detailed above, you should be able to switch layouts as you describe.

Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"

i tried this in vl5.9 and it works in kde + xfce desktop environments.  it also works if you press RIGHT shift+alt so it may not be entirely what you are looking for.
By the way, there are some other combinations listed in the file:
/etc/X11/xkb/rules/xorg.lst
that you might be able to use if deemed appropriate.

--paul

fuelinux

  • Member
  • *
  • Posts: 52
Re: How can I write in cyrillic?
« Reply #9 on: April 10, 2008, 02:44:19 am »
boneygamba
In my case ONLY the RIGHT alt+shft switches layouts :(
It is supposed that adding "l" will make LEFT alt+shft to work ("grp:lalt_lshift_toggle,grp_led:scroll"), but not with my keyboard :(
not a biggy indeed, but for me it's more convinient to use left keys
Vector Linux 5.8 Standard

boneygamba

  • Member
  • *
  • Posts: 22
Re: How can I write in cyrillic?
« Reply #10 on: April 10, 2008, 03:01:00 am »
boneygamba
In my case ONLY the RIGHT alt+shft switches layouts :(
It is supposed that adding "l" will make LEFT alt+shft to work ("grp:lalt_lshift_toggle,grp_led:scroll"), but not with my keyboard :(
not a biggy indeed, but for me it's more convinient to use left keys

sorry to see that it did not help.  ???  i tried adding the 'l' to various combinations but then no layout switching occurred.  It seems that only the combinations that are listed in that xorg.lst file that i mentioned in my last post are allowed.?  i do not know if this is truly the case but it seems to be from my trial and error experiments.
i was mildly surprised that the LEFT alt/shift (or shift/alt) combination worked but when i reread the rule description it merely says 'Alt+Shift changes group.'. So i assume that means that both sides should work.  Maybe it is your keyboard.  i have no other clues except to maybe suggest that you set the keyboard model in xorg.conf(if you have not already done so) to see if that makes a difference.

--paul

fuelinux

  • Member
  • *
  • Posts: 52
Re: How can I write in cyrillic?
« Reply #11 on: April 10, 2008, 04:03:12 am »
It's OK Paul
I just replaced it with LEFT WIN key :)
Vector Linux 5.8 Standard

boneygamba

  • Member
  • *
  • Posts: 22
Re: How can I write in cyrillic?
« Reply #12 on: April 10, 2008, 04:09:12 am »

I just replaced it with LEFT WIN key :)

yay!  glad to see you've been able to put the WIN key to some good use. ;)

fuelinux

  • Member
  • *
  • Posts: 52
Re: How can I write in cyrillic?
« Reply #13 on: April 12, 2008, 02:23:54 am »

I just replaced it with LEFT WIN key :)

yay!  glad to see you've been able to put the WIN key to some good use. ;)

LOL indeed! #flooding a little :D
Vector Linux 5.8 Standard