LinuxQuestions.org
Help answer threads with 0 replies.
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-29-2020, 12:10 AM   #1
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 83

Rep: Reputation: 4
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, 06:26 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,706

Rep: Reputation: Disabled
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.
Old 06-29-2020, 12:14 PM   #3
DarrenDrapkin
Member
 
Registered: Aug 2014
Location: Leeds, England
Distribution: Slackware x86 64 version 15.0
Posts: 127
Blog Entries: 3

Rep: Reputation: 27
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, 12:15 PM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,200

Rep: Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340Reputation: 2340
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.
Old 06-30-2020, 12:43 AM   #5
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 83

Original Poster
Rep: Reputation: 4
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 06:20 PM
LXer: Mastering Characters Sets in Linux (Weird Characters, part 2) LXer Syndicated Linux News 0 11-26-2009 12:30 AM
splitting numbers and characters from an array of characters. trscookie Programming 6 11-14-2008 10:34 AM
Accented Characters and other "foreign language" Characters Mark_in_Hollywood LQ Suggestions & Feedback 2 04-30-2007 07:10 PM
How to modify the names of files and replace characters with other characters or symb peter88 Linux - General 2 12-10-2006 04:05 AM

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

All times are GMT -5. The time now is 03:49 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
Open Source Consulting | Domain Registration