Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-11-20 15:10:18

franckyvee
Member
Registered: 2021-12-01
Posts: 5

Where to find the info as to how to edit accels.smc?

Hey,

Trying to uniformize shortcuts accross a bunch of apps, and I want to switch tabs within a terminal with alt+tab (alt+shift+tab).

Apparently to do that, I need to edit ~/.config/xfce4/terminal/accels.scm:

From some other place, I gathered that it would look somehting like this:

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

Ahem... sure... but how to I know what <primary> is (or, for my purposes, what "alt" would be), the list of action, the context (I guess that's what terminal-window stands for)? Surely there's some doc somewhere listing this?


By the way, I think this info should find its way in the relevent doc, perhaps with one example if anyone has edit rights?

Offline

#2 2022-11-20 17:01:13

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Where to find the info as to how to edit accels.smc?

Most are pretty straight foward:

  • <Shift> is the shift key

  • <Super> is the windows key

  • <Alt> is the Alt key

In GTK 3.4, the GTK devs changed "<Control>" to "<Primary>".

Note that in 4.18, mousepad, thunar and xfce4-terminal will have shortcut editors - so you won't need to directly edit the file anymore:
term2.png

By the way, I think this info should find its way in the relevent doc, perhaps with one example if anyone has edit rights?

Feel free to create a bug report, it but it won't really be relevant anymore as of 4.18.


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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.13 KiB (Peak: 528.44 KiB) ]