PDA

View Full Version : xvkbd focus and gnome



ka9qlq
April 4th, 2007, 01:08 AM
I have to use xvkbd to type. In KDE I don't have trouble with focus but in gnome you have to click the focus button on the keyboard then the window I want to type to. Why?
Alvin

frafu
April 4th, 2007, 08:08 PM
You might try the onscreen keyboard shipped with ubuntu called onboard. You can find it in the accessibility menu.

Francesco

ka9qlq
April 4th, 2007, 10:41 PM
Hay thanks, hadn't heard of that one. Wonder how you change the font? It's kinda small when you shrink the window to a small footprint [390*110]

frafu
April 5th, 2007, 03:32 PM
Hello,

There is no menu to change the font directly. However, the keyboard layout is customizable, so you can change it by editing the keyboard layout.

If it has not changed recently, layout files are in a hidden directory called .sok in your home directory. The layout files have .svg as extension and can be edited with an application called inkscape.

You can use the onboard settings window to make a copy of the default layout and I would suggest to edit the copy.

Francesco

ka9qlq
April 5th, 2007, 11:22 PM
OK I'll look into it thanks

frafu
April 11th, 2007, 09:14 PM
Hello,

Here is a layout with bigger letters that I created several months ago. Uncompress the zip archive and put the 4 files into onboards layout folder. (You can open the layout folder with a button situated in the settings window of onboard).

I hope that my modified layout will appear in the layout list after restarting onboard. Otherwise, I will have to look more precisely into it again.

On my system, the modified layout has a few issues on some keys; nevertheless I hope that it will be useful...

Francesco

ka9qlq
April 11th, 2007, 10:19 PM
Hay, That's real close. It would be nice to have the top row F keys and the shift work on the 1-0 keys. If I knew a little more about how to change things........Anyway Thanks.

frafu
April 12th, 2007, 11:05 AM
I am glad that it helps.

By the way, you can find the Fn keys by clicking on the purple square at the bottom right of onboard.

You might have a look here (https://wiki.ubuntu.com/?action=fullsearch&context=180&value=onboard&titlesearch=Titles) , here (https://wiki.ubuntu.com/?action=fullsearch&context=180&value=sok&titlesearch=Titles) and especially here (https://wiki.ubuntu.com/Accessibility/Projects/onBoard/definitions?highlight=%28onboard%29).

Have a nice day.

ka9qlq
April 23rd, 2007, 03:36 AM
Hay is there a list for keysym f I want to change any keys?

ka9qlq
April 23rd, 2007, 04:42 AM
I figured an example of what I wish to do to the layout file you gave me the shift 2 key is " I want it @ like on a regular keyboard and use the @ key for something else not to mention why are the z and y keys switchedß and the question mark as you see doesn´t work. I want to mod your keyboard to use for my use, but will gladly turn any improvements over to you to have credit I just want a cool keyboard. Also wanna assign stuff to he Wn keys.

frafu
April 23rd, 2007, 11:44 AM
Hay is there a list for keysym f I want to change any keys?

If you also installed the developer packages, you might find the list with the keysym in your Ubuntu installation. Look at:
/usr/include/X11/keysymdef.h

Otherwise, have a look here (http://packages.ubuntu.com/feisty/x11/x11proto-core-dev).

Have a nice day.

frafu
April 23rd, 2007, 11:58 AM
I figured an example of what I wish to do to the layout file you gave me the shift 2 key is " I want it @ like on a regular keyboard and use the @ key for something else not to mention why are the z and y keys switchedß and the question mark as you see doesn´t work.



I don't know exactly how it works, but the position of the characters of the keys also depend of the keyboard settings in Ubuntu under the System menu.



I want to mod your keyboard to use for my use, but will gladly turn any improvements over to you to have credit I just want a cool keyboard. Also wanna assign stuff to he Wn keys.


I did not post my layout right away because it is only a little hack not done very well. But if you are going to create an interesting layout, we/you might ask the developer to include it in his official distribution.

By the way, you should use Inkscape to design the layout of the keys; you can install it with the Synaptic Package Manager.

Francesco

ka9qlq
April 23rd, 2007, 10:13 PM
I have Inkscape but I'm not good at it my keys are never strait :) I just think it'd be easier to reassign some buttons on your board. We'll see. I just need to understand how to mod the .sok file to use shift, Alt, Ctrl, and Wn. I'll keep reading.