Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-04-16 16:28:13

neverdimed
Member
Registered: 2022-07-04
Posts: 26

[SOLVED] xfce4-terminal - generate the accels.scm file

on a fresh install of mx linux i don't have the file ~/.config/xfce4/terminal/accels.scm. Only terminalrc appears in this directory. I enabled editable accelerators in the settings (as per https://docs.xfce.org/xfce/xfce4-settin … d_buttons). Can i generae the accels.scm file somehow? thanks

Last edited by neverdimed (2023-05-02 02:29:40)

Offline

#2 2023-04-16 18:20:18

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 812

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

people need to start making new threads instead of hijacking old ones.

Offline

#3 2023-04-16 20:06:21

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

Split into its own thread.

@neverdimed, what version of xfce4-terminal are you running? Newer versions added a shortcuts tab to the preferences window that replaced this functionality.


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

#4 2023-04-19 14:49:59

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

thanks. I am using 4.18. I don't see shortcuts in the terminal preferences unfortunately

Offline

#5 2023-04-19 16:39:44

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

It was introduced in xfce4-terminal version 0.9.2 and requires libxfce4ui 4.17 at a minimum. Can you confirm your versions?

shortcutseditor.jpg


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

#6 2023-04-21 07:26:27

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

how do i find the version for  libxfce4ui? for xfce terminal it is 1.0.2.

i'd like to attach a screenshot of terminal preferences but it seems i can't. I have 'drop down' but no 'shortcuts'

Offline

#7 2023-04-21 07:30:38

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

Skaperen wrote:

people need to start making new threads instead of hijacking old ones.

not hijacking, just amending. On other forums you get blasted for not searching the forum, so trying to tread carefully. But no problem creating new threads if that's what's desired here

Offline

#8 2023-04-21 10:41:20

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

neverdimed wrote:

how do i find the version for  libxfce4ui? for xfce terminal it is 1.0.2.

i'd like to attach a screenshot of terminal preferences but it seems i can't. I have 'drop down' but no 'shortcuts'

Depends on your distro and assuming you've installed from the repositories (as opposed to manually building).. For apt-based distros:

apt-cache policy libxfce4ui-2-0

For arch:

pacman -Qi libxfce4ui

Which distro are you using?


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

#9 2023-04-22 11:18:53

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

i'm using mx linux 21.3

the results form the command are as follows:
libxfce4ui-2-0:
  Installed: 4.18.1-1~mx21+1
  Candidate: 4.18.1-1~mx21+1
  Version table:
*** 4.18.1-1~mx21+1 500
        500 http://mirrors.dotsrc.org/mx-packages/mx/repo bullseye/main amd64 Packages
        100 /var/lib/dpkg/status
     4.16.0-1 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages

thanks

Offline

#10 2023-04-22 17:54:53

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

Strange. If you look at Thunar's preferences, you'll see the shortcuts tab that xfce4-terminal should have as well.

I've installed MS Linux 21.3 in a VM and surely enough, there is no keyboards tab. I'm not that familiar with MX Linux, but I do know its based on Debian, so I looked at the debian build log for version 1.0.3 - I can't find 1.0.2, and it seems to build with libxfce4ui version 4.16 for some reason, as opposed to 4.18:

checking for libxfce4ui-2 >= 4.16.0... 4.16.1

This would explain why its not showing. This looks like a potential MX Linux or Debian build bug of that package.

Let me see if I manually rebuild that package I can get it to show up.

Edit: Yes, building it manually enables the shortcuts editor (note: in 1.0.4, it only shows up in the Edit menu. With the new upcoming version release, it will also show up in Preferences). I think this is a packaging bug.

Last edited by ToZ (2023-04-22 18:13:05)


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

#11 2023-04-23 09:55:27

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

interesting, thanks a lot. MX will soon release MX-23. I will mention this over on thier forum. I might switch to another terminal (guake) for now

Offline

#12 2023-04-26 12:30:52

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

It looks like this issue is a little further spread. I just noticed on a fresh install of Arch, that the accels.scm file doesn't exist either and there are no menu entries for the new Shortcuts Editor either.

To get xfce4-terminal to generate an accels.scm file, you need to make a change to an accelerator to force it to save the file. Here is one way. Go to the Preferences screen to the Advanced tab and select the option to "Disable help window shortcut key". Close the window. This will initiate the creation of an accels.scm file. You can then go back and reverse the option if you want.

With the next release of xfce4-terminal we will get a Shortcuts Editor tab in the preferences that will eliminate this issue.


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

#13 2023-04-30 11:30:07

neverdimed
Member
Registered: 2022-07-04
Posts: 26

Re: [SOLVED] xfce4-terminal - generate the accels.scm file

ToZ wrote:

With the next release of xfce4-terminal we will get a Shortcuts Editor tab in the preferences that will eliminate this issue.

excellent, thanks

i tried selecting 'disable window shortcut ... ' and restarting but it didn't create the accels.scm file. Then i checked all 3 boxes re disable shortcuts on the advanced tab and the file appeared, thanks!

Offline

Board footer

Powered by FluxBB