Forums

Passing xmodmap key mappings to POL apps

Issue with Office 2007 running on Chromebook

Auteur Réponses
cpmorris Mercredi 21 Janvier 2015 à 12:33
cpmorrisAnonymous

I'm successfully running MS Office 2007 on POL, on Ubuntu Trusty running via Crouton on a Chromebook. ok, it's a pretty roundabout way of running MS Office but I have a lightweight £200 computer and it works well.

 

Except that Chromebooks don't have a caps lock or delete key.  I have solved that for general Ubuntu use by running a script call xmodmap to map the search key to CAPS Lock and shift-bcksp to Delete. Whilst the MS Office apps respond to caps-lock they ignore the mapped Delete key combo.  Is there a reliable way of getting xmodmap-ped key mappings into POL??

 

My simple script is

xmodmap -e 'keycode 133 = Caps_Lock'
xmodmap -e 'keysym BackSpace = BackSpace Delete'

 

Given I have an issue with one and not the other, could it maybe be that I am using keysym in the latter??

 

 

cpmorris Mercredi 21 Janvier 2015 à 16:19
cpmorrisAnonymous

SOLVED!

 

Turned out to be the keysym line.  I mapped the un-used alt gr key to delete by

xmodmap -e 'keycode 108 = Delete'  and it now works. Case closed.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com