Skip to content

Instantly share code, notes, and snippets.

@PretzelJones
Last active February 14, 2017 23:06
Show Gist options
  • Save PretzelJones/aa39289bb1242ce5cfb2d629faf76a73 to your computer and use it in GitHub Desktop.
Save PretzelJones/aa39289bb1242ce5cfb2d629faf76a73 to your computer and use it in GitHub Desktop.
Fix CTRL/SHIFT key bug in epiphany 3.18.10
The follow commands are intended to fix a bug in epiphany 3.18.10 that forces double tapping keys when used in conjunction
with SHIFT and/or CTRL. For example, SHIFT-A for a capital A or CTRL-C for copy. The A and the C would need to be tapped twice
for the function to work. This has been patched in 3.18.11 but if you are on elementary Loki than that version is not available.
These commands will download the source code. You will then edit the code and recompile into a .deb package which you can then install with
the bug fixed.
Credit to Brad Pitcher for this fix http://elementaryos.stackexchange.com/users/8570/brad-pitcher
sudo apt install build-essential
sudo apt build-dep epiphany-browser
apt source epiphany-browser
cd epiphany-browser-3.18.10
Make the changes from the commit I linked to: edit src/ephy-window.c,
make a new line after line 882 and enter 'return TRUE;'
dpkg-buildpackage -us -uc
cd ..
sudo dpkg -i epiphany-browser*.deb
sudo apt-get -f install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment