Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-29-2020, 12:10 AM
|
#1
|
Member
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 83
Rep:
|
Setting up new characters on a keyboard
I have a Spanish keyboard that misses the characters "<" and ">". Even with AltGr, I am getting characters like "«" and "»", but the character for "greater" and "minor" are actually missing.
The keyboard is a Cybertel CVB K107, but on the Web, I find other descriptions with the same model name and even the packaging it came with shows another photo where actually keys for "greater" and "minor" can be seen.
As I like this keyboard for its small size and the characters for foreign languages like ç and â, I only would like to have a simple key combination like CTRL-2 or so which would print "<", e.g.
I found a plethora of all sorts of info about xfce and keyboards, but unfortunately nothing about how to simply set up a new character with the ALT or CTRL key or any other keys suitable for that.
Add the moment, I help myself with the program xvkbd, where I select the ">" key with the mouse. But that's cumbersome for command line editing.
|
|
|
06-29-2020, 06:26 AM
|
#2
|
Senior Member
Registered: Mar 2020
Posts: 3,706
Rep:
|
Quick search for "Debian tecla mayor menor" turned up this and this.
Last edited by shruggy; 06-29-2020 at 06:55 AM.
|
|
1 members found this post helpful.
|
06-29-2020, 12:14 PM
|
#3
|
Member
Registered: Aug 2014
Location: Leeds, England
Distribution: Slackware x86 64 version 15.0
Posts: 127
Rep:
|
If the previous post does not work try for some documentation on how to remap your keys.
|
|
1 members found this post helpful.
|
06-29-2020, 12:15 PM
|
#4
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,200
|
The Spanish keyboard driver that I have uses, not AltGr+Sh with Z and X, but with full stop and comma. If neither solution works, come back and I'll show you how to alter the keyboard. Actually, in Peru your computer is probably set for the driver latam rather than es, and that expects < and > to be on the keyboard. What do you get from this command?
Code:
setxkbmap -print | grep symbols
Incidentally, xmodmap is generally deprecated these days as it predates the current XKB system.
Last edited by DavidMcCann; 06-29-2020 at 12:17 PM.
|
|
1 members found this post helpful.
|
06-30-2020, 12:43 AM
|
#5
|
Member
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 83
Original Poster
Rep:
|
Thanks a lot to everybody. AltGr + Sh did already the trick. It works with AltGr+Sh+z --> "<" and AltGr+Sh+x --> ">".
The language code on the PC is "es".
Quote:
acer-pc:~$ setxkbmap -print | grep symbols
xkb_symbols { include "pc+es+inet(evdev)" };
acer-pc:~
|
according to:
Quote:
acer-pc:~$ cat /etc/default/keyboard
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="es"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"
acer-pc:~$
|
|
|
|
All times are GMT -5. The time now is 03:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|