TheFrankyJoe / elementaryos-chromebook

ChromeeOS - elementary OS installation script for Chromebooks
GNU Lesser General Public License v3.0
81 stars 9 forks source link

Delete key on Acer C720 #14

Open fiddleseth opened 10 years ago

fiddleseth commented 10 years ago

Excellent work with this script. Elementary OS is perfect for Chromebooks.

I was having trouble getting the key combination shift + backspace to function as the delete key on my Acer C720. For some reason right shift + backspace sends an escape character and causes the shift key to stick. Pressing left shift + backspace works great but requires two hands. So my workaround was to swap the left and right shift keys. To do this I edited the xkb_symbols for the pc105 layout:

cd /usr/share/X11/xkb/symbols
sudo pico pc

Scroll down to the lines:

    key <LFSH> {        [ Shift_L       ]       };
    key <LCTL> {        [ Control_L     ]       };
    key <LWIN> {        [ Super_L                       ]       };
    key <RTSH> {        [ Shift_R       ]       };
    key <RCTL> {        [ Control_R     ]       };

And replace with:

    key <LFSH> {        [ Shift_R       ]       };
    key <LCTL> {        [ Control_L     ]       };
    key <LWIN> {        [ Super_L                       ]       };
    key <RTSH> {        [ Shift_L       ]       };
    key <RCTL> {        [ Control_R     ]       };

Not the best solution but it's working now.