On Do, 15 Jun 13:54:15 +0800
Bill Kenworthy <bi...@iinet.net.au> wrote:
Hi,
   I am using the XFCE4 Terminal in drop down mode on an XFCE4
desktop.  Something has caused the "Set Title" hotkey to be set with the
letter "o" trapping that key whenever it is pressed.  Very frustrating
as "o" is a common letter :)

I've checked everywhere I can think of so I am now looking for
ideas/suggestions where this might be set/overridden?  Other systems I
have are fine so it probably something I accidentally altered.
Look for the file ‘accels.scm’ in your home directory. Mine is:

   ${XDG_CONFIG_HOME}/xfce4/terminal/accels.scm

and within that configuration change the line:

   (gtk_accel_path "<Actions>/terminal-window/set-title" "<Super>s")

to what ever you need.

Note, to completely remove/deactivate the shortcut, commenting the line doesn’t work because it falls back to the default ‘<Primary><Shift>s’. You have to set:
   (gtk_accel_path "<Actions>/terminal-window/set-title" "")

means no shortcut at all. After editing that file and a re-login you should be done.
BTW and in the case you remove the ‘Set Title’ shortcut, setting the 
title can be achieved in various ways:
   `xfce4-terminal --drop-down -T 'my new title'`

or in a running terminal by using escape control sequences [1]:

   `echo -ne '\033]2;my new title\007'`

or

   `printf '\e]0;%s\007' 'my new title'`


[1] man page: console_codes(4)


--
Regards,
floyd


Reply via email to