Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Custom Xmodmap for mathematical symbols.
Index -> General Discussion
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
rizzix




PostPosted: Thu Jul 31, 2008 12:04 am   Post subject: Custom Xmodmap for mathematical symbols.

ωishεδ yθυ cθυlδ τψpε liκε τhis?

Well now you can! Attached is my .Xmodmap (you might have to rename it) that will enable you to do the same (and a bit more).

You will have to setup your Xorg to be able to toggle layouts on the fly. One way to do this is by adding the following line to your xorg.conf in the keyboard section:
code:
Option "XkbOptions" "grp:switch"
Then you need to run xmodmap with the attached file as an argument.

Now if you did the above then typing greek/mathematical characters is switched by the right-alt key on your keyboard. I particularly find this useful when discussing mathematical topics over msn. However both parties must be using utf8/unicode supported clients.

So for example right-alt + e = ε (epsilon)



Xmodmap.txt
 Description:

Download
 Filename:  Xmodmap.txt
 Filesize:  1.07 KB
 Downloaded:  132 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
alex.john95




PostPosted: Fri Aug 01, 2008 1:54 pm   Post subject: RE:Custom Xmodmap for mathematical symbols.

What is Xmodmap ?
Tony




PostPosted: Fri Aug 01, 2008 2:23 pm   Post subject: RE:Custom Xmodmap for mathematical symbols.

keyboard map for the X server; as was stated in the post.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> General Discussion
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: