You are not logged in.
I have used the instructions quoted below for an older version of xfce-terminal on xubuntu 16.04 and it worked. The source is on the last line of the quote.
I have just upgraded to xubuntu 18.04 LTS beta (daily build as of March 12), and the instructions below don't seem to work anymore.
Any ideas how I could get this to work?
# use the following to create keybindings for
# the xfce terminal.
#
# Start (Mouse) Button -> Settings -> Appearance -> Settings (fourth tab) -> CHECK the Third checkbox under "Menus and Buttons" ie "Enable Editable Accelerators"
#
# Create a terminal, and use menu to create an extra tab in it.
#
# Open the menu item for "Tabs", and hover over each of the first four items, and while hovering, type your preferred keyboard shortcut.
#
# Source/Credit:
# http://docs.xfce.org/faq
# http://docs.xfce.org/xfce/xfce4-setting … nd_buttons
Thank you,
Ambrose
Offline
Hello and welcome.
You're probably using a gtk3 build of xfce4-terminal. The "hover and change accelerator" is a GTK2 feature.
To change the keyboard shortcuts in a gtk3 build of xfce4-terminal, edit the file ~/.config/xfce4/terminal/accels.scm, find the action/shortcut you want to change, remove the leading ";" (semicolon) from the line and change the shortcut at the end of line.
Save the file and quit all instances of and restart xfce4-terminal.
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
Thank you -- your advice resolved the issue!
Best regards
Offline
Hi. This didn't work for me. I tried changing the shortcut for new tab to Ctrl-t in ~/.config/xfce4/terminal/accels.scm. More specifically changing the line:
; (gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary><Shift>t")
to
(gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary>t")
but nothing happened. The shortcut for opening a new tab is still Ctrl-Shift-t. And when I restart xfce4-terminal the line changes back and my change was overwritten. In the beginning of the file it says:
; this file is an automated accelerator map dump
so I guess this has to be changed somewhere else.
I have xfce4-terminal 0.8.8. ldd shows it is linked to libgtk-3.so.0, so the old gtk trick doesn't work either.
Edit.
I worked around this by patching the source. On gentoo this is easy by creating the directory /etc/portage/patches/x11-terms/xfce4-terminal and dropping the patch there. Here is my patch that changes three shortcuts:
https://gist.github.com/AlbertVeli/71ab … b189bdff0a
Please respond to this post if you find another way to permanently change the shortcuts.
Regards,
Albert - treblA
Last edited by trebla (2020-03-14 10:20:56)
Offline
Hello and welcome to the forums trebla.
It looks like you need to make the change when there are no instances of xfce4-terminal running. If it is running, it will overwrite the setting on exit.
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
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 536.09 KiB (Peak: 536.93 KiB) ]