General :: Define A Keyboard Layout / Input Method For Ubuntu In Python?

Jun 20, 2010

defining keyboard layouts in linux (ubuntu 10.04 here). there does not seem to be any easy, graphical way to define keyboard mappings (except for keyboardlayouteditor, but frankly, i do not understand the installation description.i am using an apple aluminum keyboard with a german layout, but no matter what i do the (<>) and (^) keys are always swapped (i did manage to change the default behavior for the f1...f12 keys from multimedia back to 'ordinary', application-centric... all you have to do is add the line echo 2 > /sys/module/hid_apple/parameters/fnmode to /etc/rc.local... this is so bloody obvious i am ashamed i had to search the web for this!).

adding to my distress, i find the chinese IMEs a horror (not a single one of the many i tried does anywhere come near google pinyin for windows), and have gotten neither ibus nor scime to work in a satisfactory way for me. i find linux keyboard handling a morass. i know this must be one of the hardest problems in computer science, since this subject gets so convoluted no matter whether its on windows or in-the-browser javascript. as a linguist i am well aware of the inherent complications proper text handling poses, but looking at descriptions how to configure xkb makes building interstellar spaceships look like a cakewalk.

find a place in the system where keystrokes are recorded;read out those codes (could be scan codes or character codes) using a daemon (implemented in python; i heard you have to listen to IOCTL or somesuch); when certain code combinations appear, switch them to do what you want;applications now get to see a X where formerly the got to see a U and vice versa;profit!

Is there a place, in ubuntu / linux systems that does allow reading out keyboard codes? Is there a way to block processing of such keyboard actions until an intercepting daemon has processed them? Would such an interceptor work for a broad range of use cases? like on the command line, in a gtk app, in wine, in firefox and so on? An alternative would actually be to grok keyboardlayouteditor, so if someone could post about a readable, complete installation instruction or point out installable packages, that'd be great, too.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Keyboard Layout Won't Register Ctrl Input?

Mar 31, 2010

Been a long time since I was on ubuntu again. Saw the new 9.10 version and decided I should take it up again. Only problem is, and I've come across it quite alot, (but never a working solution). That my ctrl key isn't doing anything at all, therefor making every keyboard shortcut (copy/paste/new tab in firefox...etc) not working. It's not compiz his fault, i've had the same issue before i installed it.

Also i tried switching keyboard layouts, when i key press i don't see the ctrl key light up on screen, BUT when i press shift+ctrl, it does Anyone got a clue in how to revive my loving and overused ctrl button again ?

View 1 Replies View Related

Ubuntu :: Keyboard Input Method Pref Menu Does Not Load?

Oct 16, 2010

I'm running Maverick, trying to change my input method from IBus to Anthy (Japanese) but whenever I click on System > Preferences > Keyboard Input Methods, it won't load the preferences window. It'll say "Starting..." on the taskbar but then disappear. The usual keyboard shortcut does nothing

View 4 Replies View Related

General :: Define A Hebrew/Latin Layout + Compose Key In Mageia 2?

Aug 23, 2011

I'm on Mageia Linux Cauldron (what will become Mageia 2), where Mageia Linux is a recent community fork of Mandriva Linux. this script gives me the Xkb layout that I need:

#!/bin/sh
setxkbmap
-option ""
-option "compose:ralt,grp:switch,grp:alt_shift_toggle,grp_led:scroll"
-variant ",lyx"
'us,il'

[Code]...

View 1 Replies View Related

Ubuntu :: Adding Spanish Language Keyboard Layout Disables Alt_R On USA Layout?

May 29, 2010

Running Ubuntu Lucid Lynx, GNOME 2.3Keyboard Preferences utilityAdding any Spanish language keyboard layout makes my Alt_R not work in ANY layout! I see that it changes Alt_R to "Iso_L..." for all/both layouts, including USA layout. When I click "Reset to Defaults" it's fine again, USA layout shows Alt_R again. I've tried all the variants of the Latin American layout and the Spain layout and they all do the same thing.What is "ISO_L..." and what's going on?i DESPERATELY need my Alt_R to work!

View 2 Replies View Related

General :: Using Ubuntu Keyboard Layout In Mac OS X With A PC Keyboard?

Dec 24, 2010

I'm a used Ubuntu user on a pc, and I like the french keyboard layout because it allows me to type accentued characters easily.I found a win-fr keyboard layout but it's much like windows and not so good.I found xmodmap.fr keyboard layout and I'd like to know if it was possible use it with my Mac SL 10.6.5, maybe I could do xmodmap xmodmap.fr or a way to convert to mac layout file.

View 1 Replies View Related

OpenSUSE Install :: Keyboard Layout Constantly Resets To Another Layout In OSUSE 11.3?

Aug 9, 2010

I have installed opensuse 11.3 a couple of weeks ago in 2 computers and both suffer of the same problem.In my asus laptop, i have a german keyboard. It is correctly recogniced as german keyboard by ev-dev, i guess. (ev-dev managed). But i need to write some spanisch symbols too, like accents (ᠩ ? 񬠷hich in a normal linux, they do work. For some reason, after rebooting, or after some time of having it running, the keyboard layout resets to an invalid setup, here accents get not over the letter (?a ?e ?i ?o ?u), so i have to select my layout again in the gnome control center.

With my other computermore or less the same.Its a desktop PC with an spanisch keyboard. But i thinck i picked German keyboard during installation and now it starts always with german with some sort of 5 secs delay when setting it. I have to pick spanisch and i always delete the german layout, but after some time having it running, it resets to the previusly deleted german layout.

View 7 Replies View Related

Fedora :: Gnome Keyboard Layout Set To USA Default Layout After Upgrade From 11 To 12

Dec 2, 2009

having problems with my keyboard layout since upgrade from F11 to F12. When I reboot and login into gnome I have to switch back to my layout as it has been set to USA default layout.

View 3 Replies View Related

Ubuntu :: Can't Get Thai Language Input To Work - In "ibus Preferences/input Method" - No Languages Are Shown

May 29, 2010

I can't get Thai language input to work.

In "language support" I installed Thai, but it remains grayed out.

In "ibus preferences / input method", no languages are shown.

I added:

I added: "ibus-daemon --xim" to startup applications. No effect.

View 1 Replies View Related

General :: Removing SCIM Input Method As Default From Gnome Terminal?

Feb 16, 2010

While I can find my way around most things, terminals and desktop managers are different than I remember. One of the biggest problems that I am encountering today is that when running a gnome terminal (this is Suse 10.0 enterprise), I'm getting behavior in the window that I don't want. Specifically, when I type, my typing is underlined as if something is trying to spell check my window. Further, it seems as if when running vi or less, my keystrokes are only processed by these apps when I hit 'return'. I.e. if I'm running less and want to go back a page, I'll hit b, but nothing happens until I hit 'return'.

I seem to have tracked this down to the 'input method". Right clicking in the Gnome terminal allows me to set my input method to one of a dozen values. It seems that currently, it's set to "SCIM Input Method". If I then select 'default' or 'X Input Method', apps (i.e. things like less, vi, and even the bash shell) behave as I would expect.

a) what is this SCIM input method

b) how can I make it so that it is not the default?

I've poked around various configuration files in my home directory as well as in /etc, but I can't see to find how this is set.

View 1 Replies View Related

General :: Change Keyboard Layout From US To UK (GB)?

May 13, 2011

I use Puppy Linux 5.1.1. My keyboard layout is US but I want it to be UK (GB). I have used the mouse/keyboard wizard (Choose keyboard layout for your country) in Setup and made all the right choices but nothing changes. In the 'Advanced Xorg keyboard configuration', when I choose 'layouts', I am told 'Your xorg.config file does not contain any Xkb layout options'.
What else can I do?

View 7 Replies View Related

General :: How To Change The Keyboard Layout

May 2, 2010

I have Debian running in Russian and English. The Russian keyboard layout isn't the typewriter standard, which I know and much prefer to the one it gives me.

NOTE: I am NOT using KDE or gnome. (ratpoison is my windows manager.) I need to solve this via CLI-based solution, I want it to affect the keyboard I get both in ratpoison and in a basic CLI tty (when I'm not in X).

View 14 Replies View Related

Software :: Script To Delete The User Define Input

Oct 26, 2010

I ve a script to delete a folder is given below:

1. I need a script to clear the cacheroot in my box.

2. What user mention to delete the folder that should ve to delete.

View 5 Replies View Related

Ubuntu :: Customized Keyboard Layout Isn't Listed In Preferences/Keyboard?

Mar 3, 2011

I defined a variant to my keyboard layout (Italian) editing the file/usr/share/X11/xkb/symbols/it and adding this block:

Code:
partial alphanumeric_keys
xkb_symbols "itaro" {

[code]....

View 1 Replies View Related

General :: Keyboard Layout - One Handed Dvorak On X11

May 18, 2010

I can change to standard dvorak by running setxkbmap dvorak, how do I change to right handed Dvorak, is there a new keymap I need to download?

View 1 Replies View Related

General :: Alternate Keyboard Layout In Openbox?

Jul 3, 2011

I constantly need to switch between the English and Hungarian keyboard layouts. When I add the Hungarian layout in Gnome/KDE/XFCE, I get multiple variations of the layout (like, Hun (101 key, qwerty, dead keys) etc), which I need, because the default Hungarian layout switches the y and z keys (qwertz). So I always choose the "qwerty" option.In Openbox there's no option for this, butfound a post about switching layouts with keybindings.That's OK, but if I type the command

Code:
setxkbmap -model pc101 -layout hu
I can only get the default "qwertz" option, which I refuse to use, lol

View 1 Replies View Related

Debian Multimedia :: General Way To Switch Keyboard Layout?

Nov 22, 2010

What is the general way to switch the keyboard layout?
What works for me currently is the custom Section in /etc/X11/xorg.conf.d/kbd.conf.
However this section must include Option "Device" "/dev/input/by-path/..." which identifies the current keyboard. This works fine for my laptop keyboard.
However when I attach USB keyboard, keyboard switching does not work.
I also found somewhere it should be done via /etc/default/keyboard, but that does not work for me at all.

View 2 Replies View Related

General :: Keyboard Layout For Mathematical / Greek Symbols?

May 12, 2010

I've been wondering about this for a long time but never thought to ask: I do a lot of scientific work so there are many times it would be really handy to be able to type mathematical symbols or Greek letters which, for the most part, aren't part of the ASCII character set. Like "∞ ρ σ τ ω ∑ ... √ ∫ ≤ ≥ " and so on. Is there a keyboard layout (for Linux) that maps simple key combinations to these kinds of characters? (Assuming all the encoding and font issues are worked out properly) I know I could create one myself but it'd be a lot easier if someone's already done the work, or at least if there's a partial solution I could modify.

View 3 Replies View Related

General :: Adding A Custom Keyboard Layout In Kubuntu?

Feb 28, 2011

I have written a custom keyboard layout that I'm trying to install in Kubuntu 10.10. This is the layout: [URL]

I have added the layout as /usr/share/X11/xkb/symbols/dotan and made these changes:

In /usr/share/X11/xkb/rules/base.lst I added this:
! layout
dotan Dotan
Of course, the !layout line was already there, I did not touch it.
In /usr/share/X11/xkb/rules/base.xml I added this:
<layoutList>
<layout>

[Code]....

However, after a reboot I do not see the new layout in KDE's configuration for these things.

Note: this is a repost of a post on the geekhack forums. After posting I realised that LinuxQuestions is the better place to ask this. For reference, here is the original geekhack thread: [URL]

View 2 Replies View Related

General :: Changing Non-printing Keys In Keyboard Layout

May 9, 2011

I'm trying to write a new keyboard layout. I'm testing using Debian Squeeze and Kubuntu 11.04, both with KDE. It is important to solve this issue with a keyboard layout as opposed to playing with xmodmap or scancodes and keycodes because I need to leave other keyboard layouts intact and usable. For the time being the new layout is called Noah, implemented as a variant of US English. If this is done more easily by making whole new layout that is not a variant of another then I am willing to go that route.

First off, I am trying to move the Caps Lock key to the current location of the "B" Key. This is my code (the unshown parts of the files have not been touched):

Code:

The problem is that this configuration is also affecting the US English layout. When I press "B" the keyboard gives a B _and_ a Caps Lock! So typing I get output like this: "keybOARD". How do I restrict the B key to being Caps Lock only in the Noah layout?

Here is the homepage of the Noah layout: [url]

View 8 Replies View Related

General :: Unable To Have Keyboard Layout In Yast In Kde Suse 11.2

Oct 27, 2010

i wanted to add a language to my keyboard layout but i coudnot find it in yast.. previously while i insralled in same situation i go through the start menu and search for keyboard layout and it was comming,but right now after this new indtallation it doesnot come as the search result.

View 2 Replies View Related

General :: Environment Variable Containing The Current Keyboard Layout?

May 18, 2010

I have two keyboard layouts installed in my system and I need to determine in scripts which one I'm on. What the environment variable contains indicator of current keyboard layout?

Debian GNU/Linux 5.0.4;
GNOME 2.22.3.

View 1 Replies View Related

General :: Keyboard Layout Changed - Screen Locked Now Cannot Login

Aug 8, 2010

While I was away from my computer a friend changed my keyboard layout to a random layout thinking he could revert it via mouse actions only. Unfortunately, by the time I returned, my screen was locked. Now I cannot unlock my session to get back in to the KDE session to restore the correct keyboard layout.

However, I can log in to a console. In the console (e.g., Ctrl-Alt-F1), the keyboard layout is unchanged, so I can edit any text files and make any other changes required. How can I change the KDE keyboard layout from a console? I'm running Kubuntu 10.04. There is no .kderc file in my home directory. And Xorg.conf doesn't contain the settings either. I'm not sure where else to look.

View 5 Replies View Related

General :: Keyboard Layout - Can't Find <> (pipe) Combo (Fedora 14) / Get It?

Apr 18, 2011

This is my Keyboard layout (Norwegian layout on a US keyboard on a HP Mini 1000), but I just can't find the combination to hit when I need to pipe (> <) things.

Can anyone help me find the combination so I can use my netbook for more than just simple browsing?

View 3 Replies View Related

Ubuntu :: Cant Find Keyboard Layout For Keyboard?

Nov 20, 2010

Recently i have bought a Dell Inspiron n5010 laptop and installed ubuntu 10.10. I have a windows 7 installed as well. In windows Us English Table for IBM Arabic 238_L keyboard layout works for my pc. But, i can not find this layout in my ubuntu.

View 2 Replies View Related

General :: Gnome - US International Keyboard Layout That Mimics Windows' Behavior?

Jun 19, 2010

I am used to using US International as my keyboard layout. However, the implementation appears to differ greatly between Windows and Linux (Gnome, in my case - may well be a GTK issue since GTK behaves the same on Windows).The layout uses dead keys, for example for keys such as ', ", ^, &c. allowing easy entry of characters with diacritics. On Windows pressing a dead key and then a key that has no pair associated results in the dead key's character (when paired with space) and the character from the second key. Example: Pressing ", a yields "ä", however, pressings yields "'s", as there is no pairing for ' and s.

Now, there is a language called English which makes frequent use of exactly those two characters and since it works on Windows to just type them as usual it's muscle memory for me now. Which brings me to my problem:On Linux (and GTK on Windows), there is a pairing for ' and s (among many others), resulting in ś (which, in turn, leads to me frequently typing "itś"). So typing "it's" requires me to type ', , s at the end.There are a few other combinations I'm used to that don't work. Among those is that for non-existant pairs simply nothing is the result. Typing "I'd" results in "I". Hitting one of those keys twice results in a non-spacing diacritic which breaks my habit of typing strings by first typing both quotation marks (which now result in a non-spacing acute accent or macron).

Long story short: None of the supplied US International layouts appears to function the same as in Windows - are there any that do work identically? Or any chance to configure it that way? While it may be nice to type an s with acute accent or non-spacing diacritics, those aren't exactly common needs for me.

View 2 Replies View Related

Ubuntu :: Install Chinese Input Method?

Mar 14, 2011

My system is English edition but for work... I have to input Chinese and be able to read chinese documents

View 1 Replies View Related

Ubuntu :: Set System Default Input Method?

Apr 15, 2011

I am wondering how i could set the system default Input Method of my choice. I have install extra language support (Chinese) and SCIM package (Chinese packages included)

All went well when i test it in Leafpad. The only thing I found it troublesome is that I need choose the input method manually every time. SCIM is already running at start up.

I have tried to set it via Language support without joy.... the System IME still showing X input method..

View 2 Replies View Related

OpenSUSE :: Run IBUS Input Method On 11.2?

Jan 16, 2010

I just heard about the newly developed input method IBUS (ibus - Project Hosting on Google Code) the other day. Supposedly, it fixes a number of problems of SCIM (which, unfortunately, is pretty much dead upstream), and both Ubuntu and Fedora are moving toward making IBUS the standard input on their systems.

Interestingly, there's nothing on the openSUSE forums yet, so this thread is supposed to fill the void and become, eventually, a how-to guide for running IBUS on openSUSE 11.2. I've tried to get IBUS running the past few days, but without succcess so far. Perhaps some of you how got it up and running already can help me out?

[Code]...

The IBUS website also mentions the repository Index of /repositories/home:/swyear for openSUSE, but as far as I can see, the IBUS files don't exist there anymore.

View 9 Replies View Related

Debian :: How To Change The Input Method

Mar 24, 2010

i open google page and want to search something, now , i want to change the input font which will be put into the search box, the default is english, how to exchange with others.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved