You are not logged in.
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
Can you post the contents of your ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml file?
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
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="<Alt>F1" type="empty"/>
<property name="<Alt>F2" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="<Alt>F3" type="empty">
<property name="startup-notify" type="empty"/>
</property>
<property name="XF86LogOff" type="empty"/>
<property name="<Primary><Alt>Delete" type="empty"/>
<property name="<Primary><Alt>l" type="empty"/>
<property name="<Primary><Alt>t" type="empty"/>
<property name="XF86Display" type="empty"/>
<property name="<Super>p" type="empty"/>
<property name="<Primary>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="<Alt>Print" type="empty"/>
<property name="<Shift>Print" type="empty"/>
<property name="<Super>e" type="empty"/>
<property name="<Primary><Alt>f" type="empty"/>
<property name="<Primary><Alt>Escape" type="empty"/>
<property name="<Primary><Shift>Escape" type="empty"/>
<property name="<Super>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="<Control><Alt>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="<Alt>Print" type="string" value="xfce4-screenshooter -w"/>
<property name="<Alt>F3" type="empty">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Alt>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="<Primary><Shift>c" type="string" value="wxmaxima"/>
<property name="<Primary><Shift>a" type="string" value="pavucontrol">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>w" type="string" value="thunar">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>z" type="string" value="spotify">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>l" type="string" value="soffice">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>q" type="string" value="sayonara">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>m" type="string" value="/home/fab/bin/gmail">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>y" type="string" value="/home/fab/bin/pycharm.sh"/>
<property name="<Primary><Shift>n" type="string" value="episode-suivant">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>KP_Add" type="string" value="/home/fab/bin/player_volumeUp"/>
<property name="<Primary><Shift>KP_Subtract" type="string" value="/home/fab/bin/player_volumeDown"/>
<property name="<Primary><Shift>KP_Enter" type="string" value="/home/fab/bin/player_nextSong"/>
<property name="<Primary><Shift>question" type="string" value="/home/fab/bin/warframe">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>b" type="string" value="brackets">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>x" type="string" value="small_RXvt"/>
<property name="<Primary><Shift>r" type="string" value="root_term"/>
<property name="<Primary><Shift>f" type="string" value="firefox">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>o" type="string" value="geogebra">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>p" type="string" value="rejoue-episode"/>
<property name="<Primary><Shift>e" type="string" value="emacs">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>u" type="string" value="/home/fab/bin/clavier_russe"/>
<property name="<Primary><Shift>Cyrillic_u" type="string" value="/home/fab/bin/clavier_russe"/>
<property name="<Primary><Shift>v" type="string" value="playVOB"/>
<property name="<Primary><Shift>Up" type="string" value="/home/fab/bin/pageUp"/>
<property name="<Primary><Shift>Down" type="string" value="/home/fab/bin/pageDown"/>
<property name="<Primary><Shift>g" type="string" value="gimp"/>
<property name="<Primary><Shift>k" type="string" value="xkill"/>
<property name="<Primary><Shift>t" type="string" value="/home/fab/bin/popup_the"/>
<property name="AudioPlay" type="string" value="/home/fab/bin/player_playPause"/>
<property name="<Primary><Shift>i" type="string" value="inkscape"/>
<property name="<Primary><Shift>F11" type="string" value="turnOffScreen"/>
<property name="<Primary><Shift>h" type="string" value="cherrytree">
<property name="startup-notify" type="bool" value="true"/>
</property>
<property name="<Primary><Shift>F8" type="string" value="/home/fab/bin/backlight +10"/>
<property name="<Primary><Shift>F7" type="string" value="/home/fab/bin/backlight -10"/>
<property name="<Primary><Shift>Page_Up" type="string" value="episode-suivant -2"/>
<property name="<Primary><Shift>Page_Down" type="string" value="episode-precedent -2"/>
<property name="<Primary><Shift>KP_Right" type="string" value="rejoue-episode -2"/>
<property name="<Primary><Shift>KP_6" type="string" value="/home/fab/bin/rejoue-episode -2"/>
<property name="<Primary><Alt>KP_Right" type="string" value="rejoue-episode -3"/>
<property name="<Primary><Alt>Page_Up" type="string" value="episode-suivant -3"/>
<property name="<Primary><Alt>Page_Down" type="string" value="episode-precedent -3"/>
<property name="<Primary><Alt>KP_6" type="string" value="rejoue-episode -3"/>
<property name="<Primary><Alt>KP_Page_Up" type="string" value="episode-suivant -3"/>
<property name="<Primary><Alt>KP_Next" type="string" value="episode-precedent -3"/>
<property name="<Primary><Shift>KP_3" type="string" value="episode-precedent -2"/>
<property name="<Primary><Shift>KP_9" type="string" value="episode-suivant -2"/>
<property name="<Primary><Shift>KP_4" type="string" value="rejoue-episode -5"/>
<property name="<Primary><Shift>Home" type="string" value="episode-suivant -5"/>
<property name="<Primary><Shift>End" type="string" value="episode-precedent -5"/>
<property name="<Primary><Shift>percent" type="string" value="/home/fab/bin/player_playPause"/>
</property>
</property>
<property name="xfwm4" type="empty">
<property name="default" type="empty">
<property name="<Alt>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="<Alt>Tab" type="empty"/>
<property name="<Alt><Shift>Tab" type="empty"/>
<property name="<Alt>Delete" type="empty"/>
<property name="<Primary><Alt>Down" type="empty"/>
<property name="<Primary><Alt>Left" type="empty"/>
<property name="<Shift><Alt>Page_Down" type="empty"/>
<property name="<Alt>F4" type="empty"/>
<property name="<Alt>F6" type="empty"/>
<property name="<Alt>F7" type="empty"/>
<property name="<Alt>F8" type="empty"/>
<property name="<Alt>F9" type="empty"/>
<property name="<Alt>F10" type="empty"/>
<property name="<Alt>F11" type="empty"/>
<property name="<Alt>F12" type="empty"/>
<property name="<Primary><Shift><Alt>Left" type="empty"/>
<property name="<Primary><Alt>End" type="empty"/>
<property name="<Primary><Alt>Home" type="empty"/>
<property name="<Primary><Shift><Alt>Right" type="empty"/>
<property name="<Primary><Shift><Alt>Up" type="empty"/>
<property name="<Primary><Alt>KP_1" type="empty"/>
<property name="<Primary><Alt>KP_2" type="empty"/>
<property name="<Primary><Alt>KP_3" type="empty"/>
<property name="<Primary><Alt>KP_4" type="empty"/>
<property name="<Primary><Alt>KP_5" type="empty"/>
<property name="<Primary><Alt>KP_6" type="empty"/>
<property name="<Primary><Alt>KP_7" type="empty"/>
<property name="<Primary><Alt>KP_8" type="empty"/>
<property name="<Primary><Alt>KP_9" type="empty"/>
<property name="<Alt>space" type="empty"/>
<property name="<Shift><Alt>Page_Up" type="empty"/>
<property name="<Primary><Alt>Right" type="empty"/>
<property name="<Primary><Alt>d" type="empty"/>
<property name="<Primary><Alt>Up" type="empty"/>
<property name="<Super>Tab" type="empty"/>
<property name="<Primary>F1" type="empty"/>
<property name="<Primary>F2" type="empty"/>
<property name="<Primary>F3" type="empty"/>
<property name="<Primary>F4" type="empty"/>
<property name="<Primary>F5" type="empty"/>
<property name="<Primary>F6" type="empty"/>
<property name="<Primary>F7" type="empty"/>
<property name="<Primary>F8" type="empty"/>
<property name="<Primary>F9" type="empty"/>
<property name="<Primary>F10" type="empty"/>
<property name="<Primary>F11" type="empty"/>
<property name="<Primary>F12" type="empty"/>
<property name="<Super>KP_Left" type="empty"/>
<property name="<Super>KP_Right" type="empty"/>
<property name="<Super>KP_Up" type="empty"/>
<property name="<Super>KP_Down" type="empty"/>
<property name="<Super>KP_Page_Up" type="empty"/>
<property name="<Super>KP_Home" type="empty"/>
<property name="<Super>KP_End" type="empty"/>
<property name="<Super>KP_Next" type="empty"/>
</property>
<property name="custom" type="empty">
<property name="Up" type="string" value="up_key"/>
<property name="<Primary><Alt>KP_9" type="string" value="move_window_workspace_9_key"/>
<property name="<Primary><Alt>KP_8" type="string" value="move_window_workspace_8_key"/>
<property name="Left" type="string" value="left_key"/>
<property name="<Alt>Insert" type="string" value="add_workspace_key"/>
<property name="<Alt>Tab" type="string" value="cycle_windows_key"/>
<property name="<Alt><Shift>Tab" type="string" value="cycle_reverse_windows_key"/>
<property name="<Primary><Alt>KP_7" type="string" value="move_window_workspace_7_key"/>
<property name="<Primary><Alt>Right" type="string" value="right_workspace_key"/>
<property name="<Primary><Shift><Alt>Right" type="string" value="move_window_right_key"/>
<property name="<Primary><Alt>d" type="string" value="show_desktop_key"/>
<property name="<Primary><Alt>Up" type="string" value="up_workspace_key"/>
<property name="<Primary>F7" type="string" value="workspace_7_key"/>
<property name="<Primary><Alt>Home" type="string" value="move_window_prev_workspace_key"/>
<property name="<Alt>F4" type="string" value="close_window_key"/>
<property name="<Primary><Shift><Alt>Left" type="string" value="move_window_left_key"/>
<property name="<Alt>F6" type="string" value="stick_window_key"/>
<property name="<Alt>F12" type="string" value="above_key"/>
<property name="<Primary><Alt>Down" type="string" value="down_workspace_key"/>
<property name="<Super>Tab" type="string" value="switch_window_key"/>
<property name="Escape" type="string" value="cancel_key"/>
<property name="<Primary><Alt>End" type="string" value="move_window_next_workspace_key"/>
<property name="<Primary>F11" type="string" value="workspace_11_key"/>
<property name="<Alt>F11" type="string" value="fullscreen_key"/>
<property name="<Primary><Shift><Alt>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="<Alt>F7" type="string" value="move_window_key"/>
<property name="<Shift><Alt>Page_Down" type="string" value="lower_window_key"/>
<property name="<Primary>F12" type="string" value="workspace_12_key"/>
<property name="<Primary>F1" type="string" value="workspace_1_key"/>
<property name="<Primary><Alt>Left" type="string" value="left_workspace_key"/>
<property name="<Primary>F2" type="string" value="workspace_2_key"/>
<property name="<Primary>F4" type="string" value="workspace_4_key"/>
<property name="<Primary>F5" type="string" value="workspace_5_key"/>
<property name="<Primary>F6" type="string" value="workspace_6_key"/>
<property name="<Alt>space" type="string" value="popup_menu_key"/>
<property name="<Primary>F8" type="string" value="workspace_8_key"/>
<property name="<Primary><Alt>KP_1" type="string" value="move_window_workspace_1_key"/>
<property name="<Alt>Delete" type="string" value="del_workspace_key"/>
<property name="<Shift><Alt>Page_Up" type="string" value="raise_window_key"/>
<property name="<Primary>F3" type="string" value="workspace_3_key"/>
<property name="<Primary><Alt>KP_2" type="string" value="move_window_workspace_2_key"/>
<property name="<Primary><Alt>KP_3" type="string" value="move_window_workspace_3_key"/>
<property name="<Primary><Alt>KP_4" type="string" value="move_window_workspace_4_key"/>
<property name="<Primary><Alt>KP_5" type="string" value="move_window_workspace_5_key"/>
<property name="override" type="bool" value="true"/>
<property name="<Alt>F2" type="string" value="maximize_window_key"/>
<property name="<Alt>F1" type="string" value="hide_window_key"/>
<property name="<Primary><Shift>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
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?
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
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
You might also find the information in the journal:
journalctl --user -b 0
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
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
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?
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
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
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.
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
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
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
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.
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
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
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
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.
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
~/.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
[ Generated in 0.016 seconds, 12 queries executed - Memory usage: 699.93 KiB (Peak: 748.77 KiB) ]