Xfce Forum

Sub domains
 

You are not logged in.

#1 2019-03-04 13:56:12

rolgiati
Member
From: Asuncion, Paraguay
Registered: 2013-06-08
Posts: 36

Unlocking menus to change shortcuts

I would like to change the menu shortcuts in xfce4-terminal, so I can ise Ctrl-T and Ctrl-V instead of Ctrl-Shift-T and Ctrl-Shift-T.

But the menus seem to be locked; is there a way to unlock them ?

Offline

#2 2019-03-04 15:06:13

ctac
Member
Registered: 2017-05-08
Posts: 57

Re: Unlocking menus to change shortcuts

Add in ~/.config/xfce4/terminal/accels.scm

(gtk_accel_path "<Actions>/terminal-window/paste" "<Primary>v")
(gtk_accel_path "<Actions>/terminal-window/copy" "<Primary>c")

Offline

#3 2019-03-04 16:46:31

rolgiati
Member
From: Asuncion, Paraguay
Registered: 2013-06-08
Posts: 36

Re: Unlocking menus to change shortcuts

ctac wrote:

Add in ~/.config/xfce4/terminal/accels.scm

(gtk_accel_path "<Actions>/terminal-window/paste" "<Primary>v")
(gtk_accel_path "<Actions>/terminal-window/copy" "<Primary>c")

I notice in that file the lines:

; (gtk_accel_path "<Actions>/terminal-window/paste" "<Primary><Shift>v")
; (gtk_accel_path "<Actions>/terminal-window/copy" "<Primary><Shift>c")

Can I just remove the <Shift> and the leading ; from those lines ?

Does it require restarting X ?

Offline

#4 2019-03-04 17:47:45

ctac
Member
Registered: 2017-05-08
Posts: 57

Re: Unlocking menus to change shortcuts

Can I just remove the <Shift> and the leading ; from those lines ?
Does it require restarting X ?

Can't you try yourself ? sad

I don't know enough about that but it seems to me :
The line in the file are the default action .
Lines starting with ; are comments.

No need to restart X, only xfce4-terminal.

Offline

Board footer

Powered by FluxBB