Keyboard problem


 
Thread Tools Search this Thread
Operating Systems Solaris Keyboard problem
# 8  
Old 05-31-2009
Quote:
Originally Posted by microbot
Thanks it worked just fine
and now how to resolve other keys , i need others signs which i have on my keyboard
alt gr + qwe bnm kl
Just do the same way I did for the v key, i.e. stripping extraneous symbols (8 set vs 4 expected).
Put all this in a script you'll run each time you start X11.

Quote:
PS. Crotian keyboard has support for UTF8 and for ISO 8859-2, but oly UTF8 works
Not sure about what the problem is here. Keyboards do not matter character encoding, they just send keycodes.
# 9  
Old 06-01-2009
Tried but only for @ command is working Smilie
xmodmap -e "keycode 55 = v V at grave"
xmodmap -e "keycode 24 = q Q q Q backslash Greek_OMEGA"
xmodmap -e "keycode 25 = w W w W bar Lstroke"
xmodmap -e "keycode 26 = e E e E EuroSign EuroSign"
xmodmap -e "keycode 41 = f F f F bracketleft ordfeminine"
xmodmap -e "keycode 42 = g G g G bracketright ENG"
xmodmap -e "keycode 45 = k K k K lstroke ampersand"
xmodmap -e "keycode 46 = l L l L lstroke Lstroke"
xmodmap -e "keycode 56 = b B b B braceleft apostrophe"
xmodmap -e "keycode 57 = n N n N braceright braceright"
xmodmap -e "keycode 58 = m M m M asciicircum masculine"

who is crazy I or Solaris.

ps can I replace Solaris keymap table with this one from Ubuntu ???
# 10  
Old 06-01-2009
Quote:
Originally Posted by microbot
Tried but only for @ command is working Smilie
Sure, I tell you to remove 4 extra entries and you only remove two of them.
Try this instead:
Code:
xmodmap -e "keycode 55 = v V at grave"
xmodmap -e "keycode  24 = q Q backslash Greek_OMEGA"
xmodmap -e "keycode  25 = w W bar Lstroke"
xmodmap -e "keycode  26 = e E EuroSign EuroSign"
xmodmap -e "keycode  41 = f F bracketleft ordfeminine"
xmodmap -e "keycode  42 = g G bracketright ENG"
xmodmap -e "keycode  45 = k K lstroke ampersand"
xmodmap -e "keycode  46 = l L lstroke Lstroke"
xmodmap -e "keycode  56 = b B braceleft apostrophe"
xmodmap -e "keycode  57 = n N braceright braceright"
xmodmap -e "keycode  58 = m M asciicircum masculine"

Quote:
who is crazy I or Solaris.
None of the above ...
Quote:
ps can I replace Solaris keymap table with this one from Ubuntu ???
That wouldn't help and possibly break things further ...
# 11  
Old 06-01-2009
It works
but do I have load that script every time, why i can not save that configuation as my default ???

You have a beer when you come in Pula Smilie
# 12  
Old 06-01-2009
Quote:
Originally Posted by microbot
It works
but do I have load that script every time, why i can not save that configuation as my default ???
Run that as root:
Code:
mkdir /etc/dt/config
cp Xstartup /etc/dt/config
cat >> /etc/dt/config/Xstartup <<%EOF%
xmodmap -e "keycode  55 = v V at grave"
xmodmap -e "keycode  24 = q Q backslash Greek_OMEGA"
xmodmap -e "keycode  25 = w W bar Lstroke"
xmodmap -e "keycode  26 = e E EuroSign EuroSign"
xmodmap -e "keycode  41 = f F bracketleft ordfeminine"
xmodmap -e "keycode  42 = g G bracketright ENG"
xmodmap -e "keycode  45 = k K lstroke ampersand"
xmodmap -e "keycode  46 = l L lstroke Lstroke"
xmodmap -e "keycode  56 = b B braceleft apostrophe"
xmodmap -e "keycode  57 = n N braceright braceright"
xmodmap -e "keycode  58 = m M asciicircum masculine"
%EOF%

Then the commands will be automatically run at each session.
Quote:
You have a beer when you come in Pula Smilie
Looking forward to drink it Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem getting vertical bar with British keyboard layout on US (physical) keyboard

Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it. I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies

2. Shell Programming and Scripting

Problem with script invoked from a keyboard shortcut

-EDIT- I have solved my problem below by using a different program. Instead of xsel I am using xclip which basically does the same thing and works fine from a script invoked by a global hotkey. -END EDIT- Hi, I've written a simple script to copy my email address into both the... (0 Replies)
Discussion started by: gencon
0 Replies

3. OS X (Apple)

keyboard problem how to insert --> {} \

I have MACOSX Leoparad and MacBook Pro but I am unable to insert the above letters when I am in terminal any help please? e.g. to insert them I need to press alt+shift+) == } but if I do so pressing alt+shift+) nothing works :( ---------- Post updated at 03:54 AM ---------- Previous update was... (2 Replies)
Discussion started by: c_lady
2 Replies

4. Programming

keyboard type

hi I am using a GUI language (based on C/C++) for my application. Now i need to identify the "Again" key in the Sun keyboard. I tried to do this by getting the ascii value (4155)of it . it was fine. but it is clashing with F12, whose ascii is 4155 in normal keyboards. Due to this either one of... (0 Replies)
Discussion started by: nimishm
0 Replies

5. UNIX for Dummies Questions & Answers

Linux 7.2, Keyboard Problem!

I recently tried to install Linux 7.2 on my home PC (Compaq), and it did not recognise my keyboard. I could not proceed with the installation as I could not type anything. I installed 6.2 and it worked fine???????????. I was wondering if anybody has encountered this problem (very frustrating). ... (4 Replies)
Discussion started by: camerja1
4 Replies

6. UNIX for Advanced & Expert Users

How can I map Unix keyboard for PC keyboard

A Solaris AXI 440 machine with Solaris 8 version. I have PC users who use an emulation to login to the Solaris server. How can I change the keyboard mapping of the Sun keyboard to fit to the PC keyboard ? Any comment will be appreciated. Thanks (1 Reply)
Discussion started by: simhab
1 Replies

7. UNIX for Advanced & Expert Users

Unix and keyboard

Hi, I need to set Unix I/O terminal such as once key "," is pressed charcter "." is shown. Do you have any suggesion? The best to me is to accomplish this feauture with an environment variabile if it is possible. Michele Ferrero (3 Replies)
Discussion started by: micfer
3 Replies
Login or Register to Ask a Question