You are not logged in.

#1 2007-09-25 08:02:05

fiod
Member
Registered: 2007-04-02
Posts: 205

A strange idea - kbd layout

Hey,

I use 2 different keyboard layouts as my native language is hebrew.

I have a strange idea:
Everyone who uses 2 different keyboard layouts know how irritating it is to mistakenly start
to type at the location line in the browser using the second layout, not english.

I was wondering if it is somehow possible to tell XORG someway that whenever the location bar is pressed, to
switch to the English layout.

Any ideas?

Tnx
Fiod

Offline

#2 2007-10-01 18:04:02

daf666
Member
Registered: 2007-04-08
Posts: 470
Website

Re: A strange idea - kbd layout

If you use KDE, you can setup the Keyboard Layout - Switching Options - Switching Policy, to 'Application'.
so.. if you switch from a chat window to a firefox window, typing in the firefox window will be in the default layout

Offline

#3 2010-11-02 11:05:42

AleXoundOS
Member
From: Russia
Registered: 2009-07-18
Posts: 31
Website

Re: A strange idea - kbd layout

And if I don't use KDE (I just use awesome wm), can I set switching policy in xorg.conf, or I need to install something for this purpose?

Offline

#4 2010-11-02 12:12:02

Nichollan
Member
From: Stavanger, Norway
Registered: 2010-05-18
Posts: 110

Re: A strange idea - kbd layout

There could be an application in the X Window System that notifies when certain windows are given focus. However, this may need to be a window manager that has selected for being notified of such events by applying the SubstructureRedirect mask to the root window – and there can only be one such running window manager on a display at any one time.

Sorry for not providing complete knowledge. I have been reading up on XCB in hope of being able to create my own window manager, but I find it very dry.

Scrap that. I have seen plenty of docks that are aware of what application currently has focus. I suspect that they are because the running window manager follow the EWMH standard.

Last edited by Nichollan (2010-11-02 12:16:26)

Offline

#5 2010-11-10 06:22:51

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: A strange idea - kbd layout

Do NOT necro-bump 3 year old threads. Read the forum rules and abide by them


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB