Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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
I need this setting to be for all existing and future users. – Randall Nov 18 '09 at 18:43
up vote 0 down vote accepted

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.

share|improve this answer
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .