1

I have a requirement to change the keyboard shortcut in Xfce that runs the command xflock4. I understand how Xfce controls the keyboard shortcut on a per-user basis, but can not find any mechanism for doing this on a global basis for all existing and new users.

How do you change an Xfce command's keyboard shortcut for all users on a system?

2
  • Interesting precision (I think): all users on a system, you mean "all existing", or "all existing and coming"? Because this can influence answers (and eventually rule out the script ones, doing the same change for all user accounts)
    – Gnoupi
    Nov 18 '09 at 17:42
  • 1
    I need this setting to be for all existing and future users.
    – Randall
    Nov 18 '09 at 18:43
0

In XFCE, the default theme is in $(datadir)/themes/Default/xfwm4/keythemerc. $datadir is often defined to be /usr/share/. If it is for you, you should be able to edit the default configuration file manually, which everyone would then inherit.

1
  • keythemerc seems to have the keyboard shortcuts for all the commands that are built into the window manager, but none of the keyboard shortcuts used to launch other applications like xflock4 or xfquit4 are defined there. I'm looking to change those shortcuts.
    – Randall
    Nov 19 '09 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.