Re: [gentoo-user] national keyboard in open office
In your ~/.bashrc add: [ $DISPLAY != ] xmodmap ~/xmodmap.txt thx, but I mean another think: I print user's table into file $ xmodmap -pke xmodmap.txt I'd expect that xmodmap.txt is a mandatory map for the user so: Why after applying it to the same user the behaviour of the keyboard changes ??? $ xmodmap xmodmap.txt do You know why ? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Great Thanx all of You for help. Below is the solution of what was wrong and the summary: 1) openoffice was installed with: emerge openoffice-bin (no LANGUAGE, LINGUAS etc. variable) 2) Launching OO $ locales LANG= LC_CTYPE=POSIX LC_NUMERIC=POSIX LC_TIME=POSIX LC_COLLATE=POSIX LC_MONETARY=POSIX LC_MESSAGES=POSIX LC_PAPER=POSIX LC_NAME=POSIX LC_ADDRESS=POSIX LC_TELEPHONE=POSIX LC_MEASUREMENT=POSIX LC_IDENTIFICATION=POSIX LC_ALL= Now sth strange. Without 2 below commands I can't type Polish characters: $ xmodmap -pke xmodmap.txt $ xmodmap xmodmap.txt $ oowriter2 !!! NO specific LC_ALL, LANG settings !!! Now I can type Polish characters using rigt ALT both in OO and mozilla.. I don't understand above 2 steps with xmodmap. I tried also: $ cp xmodmap.txt ~/.xmodmaprc to have it whenever I log into my account but it didn't help. xmodmap.txt looks like: keycode 8 = keycode 9 = Escape keycode 10 = 1 exclam onesuperior exclamdown onesuperior exclamdown keycode 11 = 2 at twosuperior oneeighth twosuperior oneeighth keycode 12 = 3 numbersign threesuperior sterling threesuperior sterling keycode 13 = 4 dollar onequarter dollar onequarter dollar keycode 14 = 5 percent onehalf threeeighths onehalf threeeighths keycode 15 = 6 asciicircum threequarters fiveeighths threequarters fiveeighths keycode 16 = 7 ampersand braceleft seveneighths braceleft seveneighths keycode 17 = 8 asterisk bracketleft trademark bracketleft trademark keycode 18 = 9 parenleft bracketright plusminus bracketright plusminus keycode 19 = 0 parenright braceright degree braceright degree keycode 20 = minus underscore backslash questiondown backslash questiondown keycode 21 = equal plus dead_cedilla dead_ogonek dead_cedilla dead_ogonek keycode 22 = BackSpace Terminate_Server keycode 23 = Tab ISO_Left_Tab keycode 24 = q Q at Greek_OMEGA at Greek_OMEGA keycode 25 = w W lstroke Lstroke lstroke Lstroke keycode 26 = e E eogonek Eogonek eogonek Eogonek keycode 27 = r R paragraph registered paragraph registered keycode 28 = t T tslash Tslash tslash Tslash keycode 29 = y Y leftarrow yen leftarrow yen keycode 30 = u U downarrow uparrow downarrow uparrow keycode 31 = i I rightarrow idotless rightarrow idotless keycode 32 = o O oacute Oacute oacute Oacute keycode 33 = p P thorn THORN thorn THORN keycode 34 = bracketleft braceleft dead_diaeresis dead_abovering dead_diaeresis dead_abovering keycode 35 = bracketright braceright dead_tilde dead_macron dead_tilde dead_macron keycode 36 = Return keycode 37 = Control_L keycode 38 = a A aogonek Aogonek aogonek Aogonek keycode 39 = s S sacute Sacute sacute Sacute keycode 40 = d D eth ETH eth ETH keycode 41 = f F dstroke ordfeminine dstroke ordfeminine keycode 42 = g G eng ENG eng ENG keycode 43 = h H hstroke Hstroke hstroke Hstroke keycode 44 = j J keycode 45 = k K kra ampersand kra ampersand keycode 46 = l L lstroke Lstroke lstroke Lstroke keycode 47 = semicolon colon dead_acute dead_doubleacute dead_acute dead_doubleacute keycode 48 = apostrophe quotedbl dead_circumflex dead_caron dead_circumflex dead_caron keycode 49 = grave asciitilde notsign notsign notsign notsign keycode 50 = Shift_L keycode 51 = backslash bar dead_grave dead_breve dead_grave dead_breve keycode 52 = z Z zabovedot Zabovedot zabovedot Zabovedot keycode 53 = x X zacute Zacute zacute Zacute keycode 54 = c C cacute Cacute cacute Cacute keycode 55 = v V leftdoublequotemark grave leftdoublequotemark grave keycode 56 = b B rightdoublequotemark apostrophe rightdoublequotemark apostrophe keycode 57 = n N nacute Nacute nacute Nacute keycode 58 = m M mu masculine mu masculine keycode 59 = comma less horizconnector multiply horizconnector multiply keycode 60 = period greater periodcentered division periodcentered division keycode 61 = slash question dead_belowdot dead_abovedot dead_belowdot dead_abovedot keycode 62 = Shift_R keycode 63 = KP_Multiply XF86_ClearGrab keycode 64 = Alt_L Meta_L keycode 65 = space keycode 66 = Caps_Lock keycode 67 = F1 XF86_Switch_VT_1 keycode 68 = F2 XF86_Switch_VT_2 keycode 69 = F3 XF86_Switch_VT_3 keycode 70 = F4 XF86_Switch_VT_4 keycode 71 = F5 XF86_Switch_VT_5 keycode 72 = F6 XF86_Switch_VT_6 keycode 73 = F7 XF86_Switch_VT_7 keycode 74 = F8 XF86_Switch_VT_8 keycode 75 = F9 XF86_Switch_VT_9 keycode 76 = F10 XF86_Switch_VT_10 keycode 77 = Num_Lock Pointer_EnableKeys keycode 78 = Scroll_Lock keycode 79 = KP_Home KP_7 keycode 80 = KP_Up KP_8 keycode 81 = KP_Prior KP_9 keycode 82 = KP_Subtract XF86_Prev_VMode keycode 83 = KP_Left KP_4 keycode 84 = KP_Begin KP_5 keycode 85 = KP_Right KP_6 keycode 86 = KP_Add XF86_Next_VMode keycode 87 = KP_End KP_1 keycode 88 = KP_Down KP_2 keycode 89 = KP_Next KP_3 keycode 90 = KP_Insert KP_0 keycode 91 = KP_Delete KP_Decimal keycode 92 = keycode 93 = Mode_switch keycode 94 = less greater bar brokenbar bar brokenbar keycode 95 = F11 XF86_Switch_VT_11 keycode 96 = F12 XF86_Switch_VT_12 keycode 97 = Home
Re: [gentoo-user] national keyboard in open office
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Weird. In OO2, I can no longer type the áéíóú characters, but I CAN type the ñ character. )I using KDE and US and ES_es keyword settings). - -- Arturo Buanzo Busleiman - VPN Mail Project - http://vpnmail.buanzo.com.ar Consultor en Seguridad Informatica - http://www.buanzo.com.ar My Linux and Security Blog at http://linux-consulting.buanzo.com.ar/ Romper un sistema de seguridad los acerca tanto a ser hackers como encender autos puenteando los convierte en ingenieros automotrices. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEbI3OAlpOsGhXcE0RAlFWAJsGOpaNAMAqsSMttJk7Ll+hqDB34ACfeKH+ hlFMJiRbnR+WY7tzQqDJOTQ= =a2Rw -END PGP SIGNATURE- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Does composing the Polish characters work for you under applications such as Mozilla Thunderbird? What specific Polish characters are you missing, and how do normally compose them? If you tell me how you expect to compose them, I'll test to see if it works here. Unfortunately I can't type Polish charecters under mozilla as well (tried both pl_PL and pl_PL.utf8). I expect to use right ALT + character e.g. right ALT + o should result with ó and now it results with just o both in Mozilla and OpenOffice. Left ALT + o opens F'o'rmat menu under OpenOffice. While configuring xorg with xorgconfig I've chosen the following options: Please answer the following question with either 'y' or 'n'. Do you want to select additional XKB options (group switcher, group indicator, etc.)? y Group Shift/Lock behavior: 1 Right Alt key switches group while pressed The remaining XKB options I've left not assigned. thanx You for help __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
On Tuesday 09 May 2006 17:28, Pawel K wrote: Unfortunately I can't type Polish charecters under mozilla as well (tried both pl_PL and pl_PL.utf8). I expect to use right ALT + character e.g. right ALT + o should result with ó and now it results with just o both in Mozilla and OpenOffice. Left ALT + o opens F'o'rmat menu under OpenOffice. How did you start OOo? Have you tried starting it from a cli (like xterm, konsole, ..)? Does it give any errors messages if you do that? E.g. if I set my locale to pl_PL I get the following output (which is expected since I didn't build a polish locale and hence it is not showing up in locale -a): # LC_ALL=pl_PL oowriter2 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = pl_PL, LANG = pl_PL are supported and installed on your system. perl: warning: Falling back to the standard locale (C). I18N: Operating system doesn't support locale I18N: Operating system doesn't support locale en_US -- Bo Andresen pgpJOMOrUyPEu.pgp Description: PGP signature
Re: [gentoo-user] national keyboard in open office
Pawel K wrote on 09/05/06 17:28: Does composing the Polish characters work for you under applications such as Mozilla Thunderbird? What specific Polish characters are you missing, and how do normally compose them? It sounds as if you want to be able to produce accented characters such as ÁÉÍÓÚ áéíóú ÀÈÌÒÙ àèìòù ÄËÏÖÜ äëïöü. Am I right in this assumption? Unfortunately I can't type Polish charecters under mozilla as well (tried both pl_PL and pl_PL.utf8). I expect to use right ALT + character e.g. right ALT + o should result with ó and now it results with just o both in Mozilla and OpenOffice. Left ALT + o opens F'o'rmat menu under OpenOffice. Unfortunately, I don't know how much the Polish keyboard differs from the us_intl layout. This might be a stupid suggestion, but try defining your keyboard XkbLayout as us_intl. Using the us_intl XkbLayout, typing the accented characters you want works by hitting a quote ' and o to produce ó, without needing AltGr (right Alt) pressed. Hitting ` and o produces an ò, and o produces ö, all without AltGr pressed. To produce a single ' or you need to hit ' or followed by a space. For some strange reason, on my system OpenOffice seems to need the locale set to utf8 to work properly with international keyboard layouts. Without it, the ' and keys are dead, working only with AltGr pressed. I don't understand why, but since I changed my locale to en_US.utf8, the quote keys and Open Office work perfectly. While configuring xorg with xorgconfig I've chosen the following options: Please answer the following question with either 'y' or 'n'. Do you want to select additional XKB options (group switcher, group indicator, etc.)? y Group Shift/Lock behavior: 1 Right Alt key switches group while pressed I have none of these options set in my xorg.conf, just XkbLayout set to us_intl, nothing specified for (no)deadkeys or group switching either. You could try this in your xorg.conf: Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option CoreKeyboard Option XkbModel pc105 Option XkbLayout us_intl EndSection After restarting X, try this from a xterm command prompt: LC_ALL=en_US.utf8 oowriter2 Try this, and let us know if this lets you to enter accented characters in Open Office. With or without LC_ALL specified, you should be able to enter accented characters in Mozilla Thunderbird too with XkbLayout set to us_intl. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Friday 05 May 2006 17:30 Pawel K wrote: Hello How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. Additional information about my system: 1) system: linux Gentoo 2) open office 2.0 3) window manager: fluxbox 4) xorg.conf contains: Option XkbRules xorg Option XkbModel pc105 Option XkbLayout pl Option XkbOptions grp:switch 5) /etc/conf.d/keymaps contains KEYMAP=pl2 thank You for help I have an another idea. Maybe there is something wrong with XKB keyboard description compiler? What is the output of $ setxkbmap -print | xkbcomp - foo.xkm AFAIK if it works properly there should be only warnings similar to this one: Warning: No symbols defined for SYRQ (keycode 92) Check also if command above creates file foo.xkm and what size it is. -- regards, Grzegorz Kubiak -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
What is the output of # locale and # locale -a Thanx all of You for help but it didn't help. I've selected both pl_PL and pl_PL.utf8 (locale -a shows that values): LANG=pl_PL LC_CTYPE=pl_PL LC_NUMERIC=pl_PL LC_TIME=pl_PL LC_COLLATE=pl_PL LC_MONETARY=pl_PL LC_MESSAGES=pl_PL LC_PAPER=pl_PL LC_NAME=pl_PL LC_ADDRESS=pl_PL LC_TELEPHONE=pl_PL LC_MEASUREMENT=pl_PL LC_IDENTIFICATION=pl_PL LC_ALL=pl_PL or LANG=pl_PL.utf8 LC_CTYPE=pl_PL.utf8 LC_NUMERIC=pl_PL.utf8 LC_TIME=pl_PL.utf8 LC_COLLATE=pl_PL.utf8 LC_MONETARY=pl_PL.utf8 LC_MESSAGES=pl_PL.utf8 LC_PAPER=pl_PL.utf8 LC_NAME=pl_PL.utf8 LC_ADDRESS=pl_PL.utf8 LC_TELEPHONE=pl_PL.utf8 LC_MEASUREMENT=pl_PL.utf8 LC_IDENTIFICATION=pl_PL.utf8 LC_ALL=pl_PL.utf8 maybe there is something wrong with my following option in xorg.conf: Option XkbOptions grp:switch It is very important for me writing national characters. If You have any other ideas let me know PLEASE. THANK YOU __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Pawel K wrote: What is the output of # locale and # locale -a Thanx all of You for help but it didn't help. I've selected both pl_PL and pl_PL.utf8 (locale -a shows that values): LANG=pl_PL LC_CTYPE=pl_PL LC_NUMERIC=pl_PL LC_TIME=pl_PL LC_COLLATE=pl_PL LC_MONETARY=pl_PL LC_MESSAGES=pl_PL LC_PAPER=pl_PL LC_NAME=pl_PL LC_ADDRESS=pl_PL LC_TELEPHONE=pl_PL LC_MEASUREMENT=pl_PL LC_IDENTIFICATION=pl_PL LC_ALL=pl_PL or LANG=pl_PL.utf8 LC_CTYPE=pl_PL.utf8 LC_NUMERIC=pl_PL.utf8 LC_TIME=pl_PL.utf8 LC_COLLATE=pl_PL.utf8 LC_MONETARY=pl_PL.utf8 LC_MESSAGES=pl_PL.utf8 LC_PAPER=pl_PL.utf8 LC_NAME=pl_PL.utf8 LC_ADDRESS=pl_PL.utf8 LC_TELEPHONE=pl_PL.utf8 LC_MEASUREMENT=pl_PL.utf8 LC_IDENTIFICATION=pl_PL.utf8 LC_ALL=pl_PL.utf8 maybe there is something wrong with my following option in xorg.conf: Option XkbOptions grp:switch It is very important for me writing national characters. If You have any other ideas let me know PLEASE. THANK YOU __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Hi, For me the following is working (BG here of course)-/etc/X11/xorg.conf. ...SKIP... Section InputDevice ... Option XkbModel pc105 Option XkbLayout us,bg Option XkbVariant ,phonetic Option XkbOptionsgrp:caps_toggle,grp_led:scroll ...END... PS: the XkbVariant is needed because of two keyboard layout used and this (the setting) isn't the default, so dismiss it. The switching is done with CapsLock + keyboard LED for visual control. HTH.Rumen -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Pawel K wrote on 08/05/06 17:57: Thanx all of You for help but it didn't help. I've selected both pl_PL and pl_PL.utf8 maybe there is something wrong with my following option in xorg.conf: Option XkbOptions grp:switch It is very important for me writing national characters. If You have any other ideas let me know This is a snippet from my xorg.conf keyboard set-up. You'll probably prefer to use XkbModel=pc105 rather than the logitech model I use. My locale settings are LC_ALL=en_GB.utf8, but again, you might prefer LC_ALL=en_US.utf8 to match your OpenOffice preferences. Section InputDevice Identifier Keyboard0 Driver kbd Option AutoRepeat500 30 Option CoreKeyboard Option XkbModel logicdp Option XkbLayout us_intl EndSection I had this sort of problems only with OpenOffice, which misbehaved under KDE, but worked fine under IceWM. Setting LC_ALL=en_US.utf8 fixed it. Does composing the Polish characters work for you under applications such as Mozilla Thunderbird? What specific Polish characters are you missing, and how do normally compose them? If you tell me how you expect to compose them, I'll test to see if it works here. Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
On Monday 08 May 2006 18:57, Pawel K wrote: maybe there is something wrong with my following option in xorg.conf: Option XkbOptions grp:switch It is very important for me writing national characters. If You have any other ideas let me know PLEASE. mine xorg.conf has this for latvian layout and it works in every app, hope this helps: Option XkbRules xorg Option XkbModel logiik Option XkbLayout lv Option XkbOptions altwin:menu,compose:ralt m -- Linux 2.6.16-ck9 AMD Athlon(tm) 64 Processor 3200+ 01:06:25 up 2:14, 3 users, load average: 0.14, 0.28, 0.25 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
On Sunday 07 May 2006 01:03, Bo Andresen wrote: On Friday 05 May 2006 17:30, Pawel K wrote: Hello How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. What is the output of # locale and # locale -a Not all locales will support those characters. You can read more on locales at http://www.gentoo.org/doc/en/guide-localization.xml . isnt it enought to set keyboard layout in xorg.conf? Using KDE there is option to enable aditional layouts. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Martins Steinbergs wrote on 07/05/06 07:54: On Sunday 07 May 2006 01:03, Bo Andresen wrote: On Friday 05 May 2006 17:30, Pawel K wrote: How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. What is the output of # locale and # locale -a Not all locales will support those characters. You can read more on locales at http://www.gentoo.org/doc/en/guide-localization.xml . isnt it enought to set keyboard layout in xorg.conf? Using KDE there is option to enable aditional layouts. No. I had a very similar problem with OpenOffice under KDE, using the KDE keyboard settings did not fix the problem, The resolution was to set the locale to en_US.utf8 You can find gentoo-user discussion thread about it on http://readlist.com/lists/gentoo.org/gentoo-user/13/67698.html Cheers, Dave -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
On Friday 05 May 2006 17:30, Pawel K wrote: Hello How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. What is the output of # locale and # locale -a Not all locales will support those characters. You can read more on locales at http://www.gentoo.org/doc/en/guide-localization.xml . -- Bo Andresen pgptUL4kwfBlX.pgp Description: PGP signature
[gentoo-user] national keyboard in open office
Hello How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. Additional information about my system: 1) system: linux Gentoo 2) open office 2.0 3) window manager: fluxbox 4) xorg.conf contains: Option XkbRules xorg Option XkbModel pc105 Option XkbLayout pl Option XkbOptions grp:switch 5) /etc/conf.d/keymaps contains KEYMAP=pl2 thank You for help __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] national keyboard in open office
Pawel K wrote on 05/05/06 17:30: How to force open office to type national (Polish) fonts. I can see them on the screen when opening the document containing them but when I press the combination right alt-char it doesn't work. I've installed open office as english(USA) version and itshould stay like that. I want to be able to type Polish characters only. Additional information about my system: 1) system: linux Gentoo 2) open office 2.0 3) window manager: fluxbox 4) xorg.conf contains: Option XkbRules xorg Option XkbModel pc105 Option XkbLayout pl Option XkbOptions grp:switch 5) /etc/conf.d/keymaps contains KEYMAP=pl2 thank You for help I had a similar problem using the US_intl keyboard with OpenOffice. Try LC_ALL=PL_pl.utf8 (or something like that) and start OOo from the prompt to enable utf8. If this helps, to change your locale permanently you should change (maybe add) /etc/env.d/02locale and run env-update. You only need to set LC_ALL. Cheers, Dave -- gentoo-user@gentoo.org mailing list