I use a MacBook pro and am using Linux Mint. I know this is an Ubuntu forum but Mint is built on top of Ubuntu so I am trying here.

The Macbook Pro doesn't have a Page Down or Page Up button. Applications such as Epiphany and Terminal use these buttons to switch between tabs. Ubuntu and Mint both use APT so I assume all applications are the same if not extremely similar. You cannot re-key-bind the terminal nor Epiphany. So I tried the Keyboard settings app and Keyboard Layout app to see if I could change the keys. This proved futile.

What I want is either to rebind the keys in Epiphany and the Terminal, or bind Page up and Page down to something else.

link|improve this question
feedback

2 Answers

up vote 3 down vote accepted

I use a macbook air and the fn+up and fn+down keys provide page up and page down functionality.

Alternatively, you can map additional keys to the page up and down functions, i.e. the right command and alt/option keys (honestly, how often do you use them?) Some info on this can be found here:

https://wiki.archlinux.org/index.php/Xmodmap

The short version is to use the xev program to determine what the key codes you want to change are, and create a program (say, ~/.Xmodmap) with information that remaps the key. I use this to swap my capslock and delete keys using:

keycode 0x16 = Delete keycode 0x42 = Backspace

Then add the command "xmodmap ~/.Xmodmap" to either your ~/.profile or ~/.bashrc files, and then run the command xmodmap ~/.Xmodmap from terminal, and your changes should take effect.

link|improve this answer
feedback

You can press Ctrl + fn + up/down

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.