How to customize keyboard shortcuts for PageUp/PageDown?

LXTerminal is the standard terminal emulator of LXDE - http://wiki.lxde.org/en/LXTerminal
Locked
crquan
Posts: 7
Joined: Thu May 21, 2009 1:01 am

How to customize keyboard shortcuts for PageUp/PageDown?

Post by crquan »

lxterminal-0.1.5 has supported shortcuts for Tab navigation PageUp/PageDown well, but the default shortcuts for PageUp/PageDown is

Code: Select all

Previous_Tab Ctrl+Shift+PageDown
Next_Tab     Ctrl+Shift+PageUp
It is different from other terminals (gnome-terminal and xfce-terminal, ...), is hard to use, the worst is that totally opposite order: other termnals use PageUp for Previous and PageDown for Next, those all keep consistent with Firefox tab navigation,

Only lxterminal-0.1.5 stands the opposite of gnome-terminal/xfce-terminal/firefox,

So there should be a customization method for lxterminl shortcuts, or lxterminal developers should change the default:

Code: Select all

Previous_Tab Ctrl+PageUp
Next_Tab     Ctrl+PageDown
and optionally,

Code: Select all

Shift_to_previous Ctrl+Shift+PageUp
Shift_to_next     Ctrl+Shift+PageDown
Thank you, lxterminal developers
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: How to customize keyboard shortcuts for PageUp/PageDown?

Post by Marty Jack »

One of our users noticed this recently and supplied a patch. I have released lxterminal 0.1.6 to address your concern.
jcm
Posts: 1
Joined: Mon Jul 05, 2010 6:59 pm

Re: How to customize keyboard shortcuts for PageUp/PageDown?

Post by jcm »

I see that the suggested key bindings for next/previous tab have been set as the default on 0.1.7. Is there a way to customize them? I modified them in the source, but I think this would be a pretty good feature to have.
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

Re: How to customize keyboard shortcuts for PageUp/PageDown?

Post by Marty Jack »

We would resist adding an option for this, particularly when it was changed to be consistent with many other products. Please feel free to use any terminal emulator you like. One of the ways of remaining lightweight is to minimize the amount of control knobs that exist.
stephaneeybert
Posts: 2
Joined: Fri Jan 27, 2012 8:19 am

Re: How to customize keyboard shortcuts for PageUp/PageDown?

Post by stephaneeybert »

In which config file should we put these directives ?

Shift_to_previous Ctrl+Shift+PageUp
Shift_to_next Ctrl+Shift+PageDown

I tried to have them in the file .config/lxterminal/lxterminal.conf but it did nothing even on a new instance of the terminal.

Do we need to reload or something ?
stasiu_zyjesz
Posts: 1
Joined: Mon Oct 15, 2012 9:14 am

Re: How to customize keyboard shortcuts for PageUp/PageDown?

Post by stasiu_zyjesz »

Hi. I have similar question -
is there any possibility to change shortcut for opening NEW TAB in lxterminal?
Should I have to change it in source code or so?
Please help.
stephaneeybert
Posts: 2
Joined: Fri Jan 27, 2012 8:19 am

Re: How to customize keyboard shortcuts for PageUp/PageDown?

Post by stephaneeybert »

I have the same question :-)

I just downloaded and installed Lubuntu today.

I would like to customize the shortcut key bindings for my editor LXTerminal 0.1.11

I hope this nice little editor will not force on my 12 years of key binding use its own default ones.
Locked