Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Useless X11 Keyboard input
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 218

PostPosted: Wed Apr 17, 2013 5:09 pm    Post subject: Useless X11 Keyboard input Reply with quote

Does anyone know how to make the X11 keyboard input actually produce usefull characters? Right now, I can produce completely random nonsense like ø@ł€¶€←... etc by holding "Alt Gr" (German Keyboard) and optionally shift and press a key. These rules do not appear to follow any sensible pattern at all.

In particular I'd like to be able to quickly type superscript, subscripts and greek characters. Has anyone ever bothered fixing that or is that one of those 10-year-old-no-one-ever-touched-it-again components of X11 which have no actual purpose at all?
_________________
PDF for documents is misused. Use HTML!
Math markup for HTML5
GCPM for Footnotes
Back to top
View user's profile Send private message
Bones McCracker
Veteran
Veteran


Joined: 14 Mar 2006
Posts: 1569
Location: U.S.A.

PostPosted: Sat Apr 20, 2013 10:14 pm    Post subject: Reply with quote

You can pretty much set your keyboard up to do whatever you want. Look at xmodmap, xev, and xkeycaps.
_________________
"The accumulation of all power, legislative, executive, and judiciary in the same hands...may justly be pronounced the very definition of tyranny."
--James Madison, Federalist 46
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 778
Location: Germany

PostPosted: Sun Apr 21, 2013 9:56 am    Post subject: Reply with quote

Well, the fact that there is no discernible pattern is a bit annoying. Other than that, I really like alt gr + key, alt gr + shift + key. (German keyboard)
I use Greek quite often, too. Easiest way to do that is, in my opinion, having a layout switcher and bind it to a key. I have bound it to the otherwise useless (at least for me) menu key. So I can easily switch between German and polytonic Greek.
Some of the key combos with alt gr are also very useful for me, like alt gr + z,u,i for ←↓→ and alt gr + shift + u for ↑. Sometimes, when I need others I have to experiment a bit until I find the right one - but then again, this is because I don't use them often enough to have the combos remembered by now.

As for superscript: ^ + any number works well. 1¹²³³⁴⁵, but you have to press ^ before every superscript character and you can only use numbers, + and - as far as I'm aware. Haven't found anything for subscript so far, and I'm not sure there is a subscript character set in unicode, so it might not be possible.

Using LibreOffice, I usually write superscript or subscript using the combo strg + alt + p resp. b.

Also, what BK said.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1508
Location: Switzerland (Romandie)

PostPosted: Sun Apr 21, 2013 11:07 am    Post subject: Reply with quote

You can configure Xorg in /etc/X11/xorg.conf to use several keyboard layouts.
If I remember well, kde have a preference for that, but to configure it in xorg.conf will enable it for any wm/desktop.
_________________
[[[ To any NSA and FBI agents reading that text: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Back to top
View user's profile Send private message
ManDay
Apprentice
Apprentice


Joined: 22 Jan 2008
Posts: 218

PostPosted: Sun Apr 21, 2013 3:48 pm    Post subject: Reply with quote

I don't want to change my keyboard layout as a whole. I just want to remap the AltGr part to sensible characters. I would have hoped that someone has a "fixed" keyboard map for that. I'm aware that I may always configure my keyboard by re-mapping each individual key. I just happen to be too lazy and expected that someone had a fix for this. Thanks then.
_________________
PDF for documents is misused. Use HTML!
Math markup for HTML5
GCPM for Footnotes
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2594
Location: UK

PostPosted: Sun Apr 21, 2013 10:41 pm    Post subject: Reply with quote

Neat, didn't know that about the superscript numbers. Works for ˇ+digit too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum