Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-07-13 16:41:54

fdelente
Member
Registered: 2012-12-30
Posts: 15

Keybinding not working correctly, has to be re-registered

Hello,

I am on Fedora 34 with XFCE 4.16 (I guess, that's the version number that appears in the names of the RPM packages).

I upgraded from Fedora 33 last week with the automated system upgrade, everything went perfectly but (I don't now if it's related) one of my keybindings in XFCE doesn't work anymore.

I have bound Ctrl+Shift+% to a bash script I defined in my $HOME/bin. That command works correctly by itself if I start it from the command line. But the binding that is registered in Settings/Keyboard doesn't work. Removing the binding and recreating it with the same shortcut and command makes it work again... How can I ensure that I don't have to recreate this binding every time I reboot my PC? Thanks!

Offline

#2 2021-07-13 23:03:36

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

Can you post the contents of your ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml file?

Offline

#3 2021-07-14 05:54:10

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

Hello, here it is:

<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-keyboard-shortcuts" version="1.0">
  <property name="commands" type="empty">
    <property name="default" type="empty">
      <property name="&lt;Alt&gt;F1" type="empty"/>
      <property name="&lt;Alt&gt;F2" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Alt&gt;F3" type="empty">
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="XF86LogOff" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;t" type="empty"/>
      <property name="XF86Display" type="empty"/>
      <property name="&lt;Super&gt;p" type="empty"/>
      <property name="&lt;Primary&gt;Escape" type="empty"/>
      <property name="XF86WWW" type="empty"/>
      <property name="HomePage" type="empty"/>
      <property name="XF86Mail" type="empty"/>
      <property name="Print" type="empty"/>
      <property name="&lt;Alt&gt;Print" type="empty"/>
      <property name="&lt;Shift&gt;Print" type="empty"/>
      <property name="&lt;Super&gt;e" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;f" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Escape" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Escape" type="empty"/>
      <property name="&lt;Super&gt;r" type="empty">
        <property name="XF86Calendar" type="empty"/>
        <property name="XF86Memo" type="empty"/>
        <property name="XF86Terminal" type="empty"/>
        <property name="XF86Explorer" type="empty"/>
        <property name="XF86AudioMedia" type="empty"/>
        <property name="XF86AudioPlay" type="empty"/>
        <property name="XF86AudioPrev" type="empty"/>
        <property name="XF86AudioNext" type="empty"/>
        <property name="XF86Calculator" type="empty"/>
        <property name="startup-notify" type="empty"/>
      </property>
      <property name="&lt;Control&gt;&lt;Alt&gt;Escape" type="empty"/>
      <property name="XF86Calendar" type="empty"/>
      <property name="XF86Memo" type="empty"/>
      <property name="XF86Terminal" type="empty"/>
      <property name="XF86Explorer" type="empty"/>
      <property name="XF86AudioMedia" type="empty"/>
      <property name="XF86AudioPlay" type="empty"/>
      <property name="XF86AudioPrev" type="empty"/>
      <property name="XF86AudioNext" type="empty"/>
      <property name="XF86Calculator" type="empty"/>
    </property>
    <property name="custom" type="empty">
      <property name="&lt;Alt&gt;Print" type="string" value="xfce4-screenshooter -w"/>
      <property name="&lt;Alt&gt;F3" type="empty">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Alt&gt;F2" type="empty">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="Print" type="string" value="xfce4-screenshooter -f"/>
      <property name="override" type="bool" value="true"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;c" type="string" value="wxmaxima"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;a" type="string" value="pavucontrol">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;w" type="string" value="thunar">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;z" type="string" value="spotify">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;l" type="string" value="soffice">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;q" type="string" value="sayonara">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;m" type="string" value="/home/fab/bin/gmail">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;y" type="string" value="/home/fab/bin/pycharm.sh"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;n" type="string" value="episode-suivant">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_Add" type="string" value="/home/fab/bin/player_volumeUp"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_Subtract" type="string" value="/home/fab/bin/player_volumeDown"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_Enter" type="string" value="/home/fab/bin/player_nextSong"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;question" type="string" value="/home/fab/bin/warframe">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;b" type="string" value="brackets">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;x" type="string" value="small_RXvt"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;r" type="string" value="root_term"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;f" type="string" value="firefox">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;o" type="string" value="geogebra">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;p" type="string" value="rejoue-episode"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;e" type="string" value="emacs">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;u" type="string" value="/home/fab/bin/clavier_russe"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Cyrillic_u" type="string" value="/home/fab/bin/clavier_russe"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;v" type="string" value="playVOB"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Up" type="string" value="/home/fab/bin/pageUp"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Down" type="string" value="/home/fab/bin/pageDown"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;g" type="string" value="gimp"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;k" type="string" value="xkill"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;t" type="string" value="/home/fab/bin/popup_the"/>
      <property name="AudioPlay" type="string" value="/home/fab/bin/player_playPause"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;i" type="string" value="inkscape"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;F11" type="string" value="turnOffScreen"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;h" type="string" value="cherrytree">
        <property name="startup-notify" type="bool" value="true"/>
      </property>
      <property name="&lt;Primary&gt;&lt;Shift&gt;F8" type="string" value="/home/fab/bin/backlight +10"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;F7" type="string" value="/home/fab/bin/backlight -10"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Page_Up" type="string" value="episode-suivant -2"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Page_Down" type="string" value="episode-precedent -2"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_Right" type="string" value="rejoue-episode -2"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_6" type="string" value="/home/fab/bin/rejoue-episode -2"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_Right" type="string" value="rejoue-episode -3"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Page_Up" type="string" value="episode-suivant -3"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Page_Down" type="string" value="episode-precedent -3"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="string" value="rejoue-episode -3"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_Page_Up" type="string" value="episode-suivant -3"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_Next" type="string" value="episode-precedent -3"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_3" type="string" value="episode-precedent -2"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_9" type="string" value="episode-suivant -2"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;KP_4" type="string" value="rejoue-episode -5"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;Home" type="string" value="episode-suivant -5"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;End" type="string" value="episode-precedent -5"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;percent" type="string" value="/home/fab/bin/player_playPause"/>
    </property>
  </property>
  <property name="xfwm4" type="empty">
    <property name="default" type="empty">
      <property name="&lt;Alt&gt;Insert" type="empty"/>
      <property name="Escape" type="empty"/>
      <property name="Left" type="empty"/>
      <property name="Right" type="empty"/>
      <property name="Up" type="empty"/>
      <property name="Down" type="empty"/>
      <property name="&lt;Alt&gt;Tab" type="empty"/>
      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="empty"/>
      <property name="&lt;Alt&gt;Delete" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="empty"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="empty"/>
      <property name="&lt;Alt&gt;F4" type="empty"/>
      <property name="&lt;Alt&gt;F6" type="empty"/>
      <property name="&lt;Alt&gt;F7" type="empty"/>
      <property name="&lt;Alt&gt;F8" type="empty"/>
      <property name="&lt;Alt&gt;F9" type="empty"/>
      <property name="&lt;Alt&gt;F10" type="empty"/>
      <property name="&lt;Alt&gt;F11" type="empty"/>
      <property name="&lt;Alt&gt;F12" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="empty"/>
      <property name="&lt;Alt&gt;space" type="empty"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="empty"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="empty"/>
      <property name="&lt;Super&gt;Tab" type="empty"/>
      <property name="&lt;Primary&gt;F1" type="empty"/>
      <property name="&lt;Primary&gt;F2" type="empty"/>
      <property name="&lt;Primary&gt;F3" type="empty"/>
      <property name="&lt;Primary&gt;F4" type="empty"/>
      <property name="&lt;Primary&gt;F5" type="empty"/>
      <property name="&lt;Primary&gt;F6" type="empty"/>
      <property name="&lt;Primary&gt;F7" type="empty"/>
      <property name="&lt;Primary&gt;F8" type="empty"/>
      <property name="&lt;Primary&gt;F9" type="empty"/>
      <property name="&lt;Primary&gt;F10" type="empty"/>
      <property name="&lt;Primary&gt;F11" type="empty"/>
      <property name="&lt;Primary&gt;F12" type="empty"/>
      <property name="&lt;Super&gt;KP_Left" type="empty"/>
      <property name="&lt;Super&gt;KP_Right" type="empty"/>
      <property name="&lt;Super&gt;KP_Up" type="empty"/>
      <property name="&lt;Super&gt;KP_Down" type="empty"/>
      <property name="&lt;Super&gt;KP_Page_Up" type="empty"/>
      <property name="&lt;Super&gt;KP_Home" type="empty"/>
      <property name="&lt;Super&gt;KP_End" type="empty"/>
      <property name="&lt;Super&gt;KP_Next" type="empty"/>
    </property>
    <property name="custom" type="empty">
      <property name="Up" type="string" value="up_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="string" value="move_window_workspace_9_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="string" value="move_window_workspace_8_key"/>
      <property name="Left" type="string" value="left_key"/>
      <property name="&lt;Alt&gt;Insert" type="string" value="add_workspace_key"/>
      <property name="&lt;Alt&gt;Tab" type="string" value="cycle_windows_key"/>
      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="string" value="cycle_reverse_windows_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="string" value="move_window_workspace_7_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="string" value="right_workspace_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="string" value="move_window_right_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="string" value="show_desktop_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="string" value="up_workspace_key"/>
      <property name="&lt;Primary&gt;F7" type="string" value="workspace_7_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="string" value="move_window_prev_workspace_key"/>
      <property name="&lt;Alt&gt;F4" type="string" value="close_window_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="string" value="move_window_left_key"/>
      <property name="&lt;Alt&gt;F6" type="string" value="stick_window_key"/>
      <property name="&lt;Alt&gt;F12" type="string" value="above_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="string" value="down_workspace_key"/>
      <property name="&lt;Super&gt;Tab" type="string" value="switch_window_key"/>
      <property name="Escape" type="string" value="cancel_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="string" value="move_window_next_workspace_key"/>
      <property name="&lt;Primary&gt;F11" type="string" value="workspace_11_key"/>
      <property name="&lt;Alt&gt;F11" type="string" value="fullscreen_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="string" value="move_window_up_key"/>
      <property name="Right" type="string" value="right_key"/>
      <property name="Down" type="string" value="down_key"/>
      <property name="&lt;Alt&gt;F7" type="string" value="move_window_key"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="string" value="lower_window_key"/>
      <property name="&lt;Primary&gt;F12" type="string" value="workspace_12_key"/>
      <property name="&lt;Primary&gt;F1" type="string" value="workspace_1_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="string" value="left_workspace_key"/>
      <property name="&lt;Primary&gt;F2" type="string" value="workspace_2_key"/>
      <property name="&lt;Primary&gt;F4" type="string" value="workspace_4_key"/>
      <property name="&lt;Primary&gt;F5" type="string" value="workspace_5_key"/>
      <property name="&lt;Primary&gt;F6" type="string" value="workspace_6_key"/>
      <property name="&lt;Alt&gt;space" type="string" value="popup_menu_key"/>
      <property name="&lt;Primary&gt;F8" type="string" value="workspace_8_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="string" value="move_window_workspace_1_key"/>
      <property name="&lt;Alt&gt;Delete" type="string" value="del_workspace_key"/>
      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="string" value="raise_window_key"/>
      <property name="&lt;Primary&gt;F3" type="string" value="workspace_3_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="string" value="move_window_workspace_2_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="string" value="move_window_workspace_3_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="string" value="move_window_workspace_4_key"/>
      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="string" value="move_window_workspace_5_key"/>
      <property name="override" type="bool" value="true"/>
      <property name="&lt;Alt&gt;F2" type="string" value="maximize_window_key"/>
      <property name="&lt;Alt&gt;F1" type="string" value="hide_window_key"/>
      <property name="&lt;Primary&gt;&lt;Shift&gt;greater" type="string" value="resize_window_key"/>
    </property>
  </property>
  <property name="providers" type="array">
    <value type="string" value="commands"/>
    <value type="string" value="xfwm4"/>
  </property>
</channel>

The relevant command is /home/fab/bin/player_playPause; most other shortcuts work. Thanks!

Offline

#4 2021-07-14 10:50:18

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

On a fresh login, before you reset the keyboard shortcut, test it to ensure it isn't working, then post back the contents of ~/.xsession-errors (if you have that file).

most other shortcuts work.

Are you having this problem with other shortcuts too?

Offline

#5 2021-07-14 13:35:59

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

I have tested right now, ~/.xsession-errors is empty (0 bytes file). I don't have any problem with any of the other shortcuts. It's pretty mysterious. Is there a XFCE log file somewhere that could show errors?

Offline

#6 2021-07-14 16:29:12

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

You might also find the information in the journal:

journalctl --user -b 0

Offline

#7 2021-07-14 19:32:58

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

The following processes appear in journalctl since the last reboot:

at-spi2-registryd
at-spi-bus-launcher
dbus-broker-launch
gamemoded
imsettings-daemon
obexd
pipewire
pipewire-media-session
pipewire-pulse
pkexec
sayonara
spice-vdagent
sudo
systemd
systemd-coredump
systemd-xdg-autostart-generator

Nothing seems to refer to XFCE specificaly(?)

Offline

#8 2021-07-14 21:20:20

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

Just fired up the Fedora 34 Xfce spin in a VM, and it does log to ~/.xsession-errors. I'm not sure why yours is an empty file. Which display manager are you using?

Offline

#9 2021-07-14 21:33:33

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

I use lightdm but it aulogins me on my account (I'm the only one using the computer). What do you get in ~/.xsession-errors?

Offline

#10 2021-07-14 21:51:06

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

fdelente wrote:

What do you get in ~/.xsession-errors?

All the Xsession (in this case Xfce) related messages, warnings and error messages.

Try this. Create a /usr/local/bin/startxfce4 file with the following content:

#!/bin/bash

[ -f ~/.xsession-errors ] && mv ~/.xsession-errors ~/.xsession-errors.old
exec /usr/bin/startxfce4 > ~/.xsession-errors 2&1

...and make it executable.

This should override the existing startxfce4 (because /usr/local is before /usr in your $PATH) executable by running the main executable and send its log info to ~/.xsession-errors. lightdm runs the startxfce4 executable as per /usr/share/xsessions/xfce.desktop when selecting and logging into an Xfce session.

Offline

#11 2021-07-15 11:00:42

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

It didn't work, ssh-agent comes in the way because ps ax shows

/usr/bin/ssh-agent /bin/sh -c exec -l bash -c "/usr/bin/startxfce4"

I tried symlinking /usr/bin/startxfce4 to /usr/local/bin/startxfce4 while renaming /usr/bin/startxfce4 to /usr/bin/startxfce4_old and putting /usr/bin/startxfce4_old instead of /usr/bin/startxfce4 in your script but XFCE didn't start at all!

I'll try other things later or learn to live without my keybinding :^)

Offline

#12 2021-07-22 13:44:44

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

I have noticed today, another shortcut doesn't work: ctrl+shift+M. I'm wondering if it's because I'm on a french keyboard, and so maybe the keysyms are not in place on startup of XFCE but are OK after, so my shortcut doesn't work at the start of XFCE but works after beacuse XFCE has registered that my kb is fr? I'm wondering about that because my other bad shortcut (ctrl+shit+%) has % which is on a key right to M, and that key has 'ù' (a french character) on it. On another hand, my ctrl+shit+a and ctrl+shift+q shortcuts work correctly, even though a and q are switch on an AZERTY keyboard.

Offline

#13 2021-07-22 14:58:33

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

You might be on to something. I thought I read something (bug report, bug fix, discussion) related to something similar but I can't find anything searching now. Perhaps creating a but report against xfce4-settings would get one of the developers to comment.

Offline

#14 2021-07-23 01:58:22

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

Re: Keybinding not working correctly, has to be re-registered

does your ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml get changed at any time?  it should change when you change shortcuts whereas login or reboot should not change it (other than the read timestamp in its inode block at login).

Offline

#15 2021-07-23 08:42:02

lastonestanding
Member
Registered: 2018-11-12
Posts: 13

Re: Keybinding not working correctly, has to be re-registered

Based on the mentioned details (Xfce 4.16, auto login, different keyboard layout) it should be this bug.

Note that, it does not look like the fix was backported yet.

Offline

#16 2021-07-23 10:23:54

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Keybinding not working correctly, has to be re-registered

lastonestanding wrote:

Based on the mentioned details (Xfce 4.16, auto login, different keyboard layout) it should be this bug.

Note that, it does not look like the fix was backported yet.

That's the one. Thanks.

Offline

#17 2021-07-25 07:33:14

fdelente
Member
Registered: 2012-12-30
Posts: 15

Re: Keybinding not working correctly, has to be re-registered

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml doesn't seem to change between reboots (I never log out, only restart or stop the machine). I tried erasing it and recreating all my shortcuts, thinking that maybe the XML format had changed between version of XFCE and so needed to be cleaned up, but it didn't help. If there is a bugfix, I'll wait for the update in Fedora :^) However, the bug was introduced between the version of XFCE on F33 and the version on F34, because before upgrading to Fedora 34 all shortcuts worked on Fedora 33.

Thanks for your help!

Offline

Board footer

Powered by FluxBB