LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 06-28-2020, 11:10 PM   #1
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 60

Rep: Reputation: 1
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.
 
Old 06-29-2020, 05:26 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 1,029

Rep: Reputation: Disabled
Quick search for "Debian tecla mayor menor" turned up this and this.

Last edited by shruggy; 06-29-2020 at 05:55 AM.
 
1 members found this post helpful.
Old 06-29-2020, 11:14 AM   #3
DarrenDrapkin
Member
 
Registered: Aug 2014
Location: Leeds, England
Distribution: Slackware x86 64 current
Posts: 96
Blog Entries: 1

Rep: Reputation: 19
If the previous post does not work try
Code:
man xmodmap
for some documentation on how to remap your keys.
 
1 members found this post helpful.
Old 06-29-2020, 11:15 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Xubuntu
Posts: 5,563

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
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 11:17 AM.
 
1 members found this post helpful.
Old 06-29-2020, 11:43 PM   #5
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 60

Original Poster
Rep: Reputation: 1
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:~$
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Questions relating to Unicode characters and missing glyphs/characters coralfang Linux - Software 4 04-20-2018 05:20 PM
LXer: Mastering Characters Sets in Linux (Weird Characters, part 2) LXer Syndicated Linux News 0 11-25-2009 11:30 PM
splitting numbers and characters from an array of characters. trscookie Programming 6 11-14-2008 09:34 AM
Accented Characters and other "foreign language" Characters Mark_in_Hollywood LQ Suggestions & Feedback 2 04-30-2007 06:10 PM
How to modify the names of files and replace characters with other characters or symb peter88 Linux - General 2 12-10-2006 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration