Skip to main content

Modify shortcut key of xfce4-terminal

1. mkdir -p /home/<username>/.config/xfce4/terminal
2. vim /home/<username>/.config/xfce4/terminal/accels.scm
content of the accels.scm file:

; ShortCut Key Map for xfce4-terminal
;Primary=Ctrl, Move = Ctrl+Shift+Left or Right, Switch = Shift+Left or Right. 
;goto-tab
(gtk_accel_path "<Actions>/terminal-window/goto-tab-1" "<Alt>1")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-2" "<Alt>2")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-3" "<Alt>3")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-4" "<Alt>4")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-5" "<Alt>5")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-6" "<Alt>6")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-7" "<Alt>7")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-8" "<Alt>8")
(gtk_accel_path "<Actions>/terminal-window/goto-tab-9" "<Alt>9")
;
;tab-switch
(gtk_accel_path "<Actions>/terminal-window/new-tab" "<Primary><Shift>t")
(gtk_accel_path "<Actions>/terminal-window/close-tab" "<Primary><Shift>w")
(gtk_accel_path "<Actions>/terminal-window/undo-close-tab" "")
(gtk_accel_path "<Actions>/terminal-window/next-tab" "<Shift>Right")
(gtk_accel_path "<Actions>/terminal-window/prev-tab" "<Shift>Left")
(gtk_accel_path "<Actions>/terminal-window/detach-tab" "<Primary><Shift>d")
(gtk_accel_path "<Actions>/terminal-window/move-tab-right" "<Primary><Shift>Right")
(gtk_accel_path "<Actions>/terminal-window/move-tab-left" "<Primary><Shift>Left")
;
;Copy-Paste
(gtk_accel_path "<Actions>/terminal-window/copy" "<Primary><Shift>c")
(gtk_accel_path "<Actions>/terminal-window/paste" "<Primary><Shift>v")
(gtk_accel_path "<Actions>/terminal-window/select-all" "<Primary><Shift>a")
;
;Zoom
(gtk_accel_path "<Actions>/terminal-window/zoom-in" "<Primary>plus")
(gtk_accel_path "<Actions>/terminal-window/zoom-out" "<Primary>minus")
(gtk_accel_path "<Actions>/terminal-window/zoom-reset" "<Primary>0")
;
;Search
(gtk_accel_path "<Actions>/terminal-window/search" "<Primary><Shift>f")
;
;reset
(gtk_accel_path "<Actions>/terminal-window/reset" "")
(gtk_accel_path "<Actions>/terminal-window/reset-and-clear" "")
;
; (gtk_accel_path "<Actions>/terminal-window/file-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/close-other-tabs" "")
; (gtk_accel_path "<Actions>/terminal-window/copy-html" "")
; (gtk_accel_path "<Actions>/terminal-window/show-menubar" "")

; (gtk_accel_path "<Actions>/terminal-window/close-window" "<Primary><Shift>q")
; (gtk_accel_path "<Actions>/terminal-window/save-contents" "")
;
; (gtk_accel_path "<Actions>/terminal-window/view-menu" "")
;
; (gtk_accel_path "<Actions>/terminal-window/show-toolbar" "")
; (gtk_accel_path "<Actions>/terminal-window/copy-input" "")
;
; (gtk_accel_path "<Actions>/terminal-window/edit-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/fullscreen" "F11")
; (gtk_accel_path "<Actions>/terminal-window/read-only" "")
; (gtk_accel_path "<Actions>/terminal-window/scroll-on-output" "")
;
; (gtk_accel_path "<Actions>/terminal-window/search-prev" "")
;
; (gtk_accel_path "<Actions>/terminal-window/about" "")
; (gtk_accel_path "<Actions>/terminal-window/search-next" "")
; (gtk_accel_path "<Actions>/terminal-window/toggle-menubar" "F10")
;
; (gtk_accel_path "<Actions>/terminal-window/help-menu" "")
;
; (gtk_accel_path "<Actions>/terminal-window/show-borders" "")
; (gtk_accel_path "<Actions>/terminal-window/new-window" "<Primary><Shift>n")
;
; (gtk_accel_path "<Actions>/terminal-window/contents" "F1")
; (gtk_accel_path "<Actions>/terminal-window/preferences" "")
;
; (gtk_accel_path "<Actions>/terminal-window/set-title" "<Primary><Shift>s")
; (gtk_accel_path "<Actions>/terminal-window/paste-selection" "")
;
; (gtk_accel_path "<Actions>/terminal-window/tabs-menu" "")
; (gtk_accel_path "<Actions>/terminal-window/zoom-menu" "")
;
; (gtk_accel_path "<Actions>/terminal-window/terminal-menu" "")

Comments

Popular posts from this blog

Upgrading Issue for RHEL 7 to 8 With Leapp

Overview The Leapp utility is a framework for updating and upgrading operating systems as well as applications. The operations of this utility consist of two phases 1. the preupgrade Phase – that chack the upgrade possibilities and 2. the actual upgrade phase – that map packages between previous and current versions of the software packages. Issue – 01: After running ‘ sudo leapp preupgrade ‘ sometimes you find the below issue in ‘ /var/log/leapp/leapp-report.txt ‘. Detail: Risk Factor: high (inhibitor) Title: Leapp detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed. Summary: Support for the following RHEL 7 device drivers has been removed in RHEL 8: – pata_acpi Key: f08a07da902958defa4f5c2699fae9ec2eb67c5b Remediation: 1. Disable detected kernel drivers in order to proceed with the upgrade process using the rmmod or modprobe -r . rmmod – Simple program to remove a module from the Linux Kernel modprobe – Add and remove modules from the Linux Ke

Upgrading Oracle Linux 6 to 7

Overview It is possible to upgrade an Oracle Linux 6 system to Oracle Linux 7.6 under the following conditions: The system meets the minimum installation requirements for Oracle Linux 7 as described in Chapter 1, System Requirements and Limits. The Oracle Linux 6 system has been completely updated from the ol6_x86_64_latest channel or ol6_latest repository. UEK R3 or UEK R4 has been installed on the system to be upgraded and is the default boot kernel. Upgrading from UEK R2 is not supported. Note that the system is upgraded to use the UEK R5 release provided with Oracle Linux 7.6. Upgrading is supported only for systems that are installed with the Minimal Install base environment. If additional packages are installed from an alternative repository or channel, upgrade might fail or the resulting upgrade might not function as expected. reference: https://docs.oracle.com/en/operating-systems/oracle-linux/7/relnotes7.6/ol7-install.html#ol7-upgrade-ol6 Verifying the system before Upgrade: #

Software-only Installation of oracle Database 21c on RHEL 8

Overview Oracle Database 21c is a multi-model database that provides full support for relational and non-relational data, such as JSON, XML, text, spatial and graph data. There are lots of new features available in this new release like partitioned hybrid tables, encryption capabilities in the built-in data dictionary, statistics-only queries, and many more. It also enables Oracle's Autonomous Database Cloud Services. This article describes the installation of Oracle Database 21c 64-bit on Red Hat 8 64-bit. Lab Environment Particulars                                     Database Info --------------                                            ------------------------------------------------------- OS Release                                     Red Hat Enterprise Linux release 8.4 (Ootpa) Kernel                                              4.18.0-425.10.1.el8_7.x86_64 IP Address                                     1 92.168.0.10 Host Name                                  oemsrv User Na