You are not logged in.
Pages: 1
Hi. In xfce4-terminal, one can use <Shift><PgUp> and <Shift><PgDn> to page up and down through the screen buffer (rather than using the scroll-bar). As a keyboard-oriented guy, I really like this feature, but want to change the shortcuts to ones that I am more used to. But I cannot find where these shortcuts are set (and I've looked everywhere I could think of)! I'd also like to set additional shortcuts to scroll up/down in the screen buffer line-by-line, if possible. Can anyone point me to the proper location to change these shortcuts?
Offline
xfce4-terminal>>edit>>preferences>>shortcuts
I think there down towards the bottom.
Siduction
Debian Sid
Xfce 4.18
Offline
Thanks, but I couldn't find screen-buffer shortcuts in that dialog.
Offline
Isn't this what you asked for. Page up/down and line up/down??? Sorry about the pic.
Siduction
Debian Sid
Xfce 4.18
Offline
Yes! That is what I am looking for. But... those do not appear in my terminal menu Edit>Shortcuts. I am using xfce4-terminal 1.0.4 (the latest available on Salix). What is your version?
Offline
Not sure what to suggest. I'm on version 1.1.1 so this is probably the difference. Salix is built on Slack yes? I see an newer version is available in there list.
Siduction
Debian Sid
Xfce 4.18
Offline
Yes, it is. Is there a way that I can add or use Slackware repositories?
Offline
Note that that Shortcuts tab requires a newer version of libxfce4ui (version 4.17.2 I believe) for it to display. I think you can also directly edit ~/.config/xfce4/terminal/accels.scm if you don't have the dialog.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thanks. My libxfce4ui shows 4.18.1-x86_64-1gv, but the xfce4-terminal is older. From what I've been reading, Slackware repos are already included in Salix package manager, so don't know how I could get the newer one, since it's not listed.
Yes, I would think that accels.scm should work. Trouble is, I don't know the function names to add in there, since they are not already there. Would you mind seeing what they are called in yours?
EDIT: Also, I should add that the accelerator/shortcuts I would like to use with these functions use the <Alt> modifier. Would these work? The only <Alt> modifiers I see in my current accels.scm are Alt-1, Alt-2, etc. to select tabs.
Last edited by mobius (2024-02-08 21:27:57)
Offline
I changed "Scroll one line up" to Alt+Up and "Scroll one page down" to Alt+Down, and this is what was saved in my accels.scm file:
(gtk_accel_path "<Actions>/terminal-widget/shift-up" "<Alt>Up")
(gtk_accel_path "<Actions>/terminal-widget/shift-pageup" "<Alt>Down")
I believe you need to write to this file when xfce4-terminal isn't running.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
@ToZ, thanks very much for taking the time to check. I added those lines and saved with the terminal closed, but upon restarting the terminal, those keystrokes had no effect. In my accels.scm file, there are no "terminal-widget" lines; they are all "terminal-window" lines. So, I changed that part of each one, and again saved with the terminal closed. Sadly, upon restarting, those keystrokes still had no effect. It appears as though I would need to have the newer version of the terminal, in order to customize those functions.
It puzzles me that the official Salix repos, which supposedly include the Slackware repos, have an older version of terminal, and yet @eriefisher reports seeing a newer version in Slackware!
EDIT: Here is another oddity: in my accels.scm, all of the goto-tab-x lines are commented out, and yet in the shortcut dialog, all of the Go to Tab X settings have the corresponding Alt-X shortcuts shown. The file I'm using is definitely ~/.config/xfce4/terminal/accels.scm. Could there be another, overriding file somewhere?
Last edited by mobius (2024-02-08 22:47:43)
Offline
Yes, these accels were added after 1.0.4:
* https://gitlab.xfce.org/apps/xfce4-term … fe610286e5
* https://gitlab.xfce.org/apps/xfce4-term … 1425aa6bce
Offline
@Tamaranch, thanks for the confirmation. So, I need a newer version of terminal, but it doesn't seem to be available in the Salix repos.
In any case, I wouldn't mind testing some other terminal emulators. Is it okay to use, with Xfce, some other system's terminal, such as KDE's konsole? Or is that going to create problems?
Offline
No, that shouldn't be a problem. There's also gnome-terminal if you want to stay in the GTK world (and perhaps add fewer dependencies).
Offline
Thanks. I've heard that konsole is very configurable, which is why I asked. But there are many terminal emulators listed in the Salix repos, including gnome-terminal, so I may spend some time playing with several.
Offline
So, I tried xfce4-terminal version 1.2 in PCLinux, and was able to change the shortcuts shown in Preferences for scroll-line-up/down and scroll-page-up/down, but there are no settings in that dialog for screen-buffer-top/bottom (under any name), although screen-buffer-top/bottom do exist with Shift-Home/Shift-End--they just can't be changed, not even by editing the accels.scm file.
And I also tried xfce4-terminal version 1.0.4 in MX-Linux (the latest available in that distro), which strangely enough did not have any way to change the shortcuts in any of the menus, and did not have an accels.scm file, even though that is the same version which I have on Salix!
Would it be safe to download and manually upgrade xfce4-terminal on my Salix (if that is possible), since there is already a recent version installed?
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 577.32 KiB (Peak: 594.6 KiB) ]