LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   disable xfce 4 shortcuts. (http://www.linuxquestions.org/questions/linux-desktop-74/disable-xfce-4-shortcuts-717454/)

lievendp 04-07-2009 10:34 AM

disable xfce 4 shortcuts.
 
Hello,

I'm trying to lock my nfs mounted kiosk completely in firefox.

I already managed to remove the switching of ttys and the ctrl-alt-backspace in the x-config.
Also, the ctrl-alt-del has been set to do nothing in the event.d file.

It is a xubuntu 8.04 client system.

What's left are the shortcuts like alt+f2 and others. Those are set in the xfce keyboard shortcuts' default profile. I cannot remove the default profile.
It would be very convenient for me if I could find the config file on the system that holds these keyboard shortcuts so I can change it. I prefer not to change it via the gui if possible.

If anybody knows where this config file resides or if it even exists, please let me know.

thanks in advance!

ldp.

ccargo 04-07-2009 02:31 PM

Hi,

If you can live with using the GUI all you need to do is create a new, empty (i.e. one without any shortcuts added), theme and use that.

Otherwhise I think you need to create an xml-file such as

~/.config/xfce4/shortcuts/emptytheme.xml with content

<?xml version="1.0" encoding="UTF-8"?>
<shortcuts-theme name="emptytheme">
</shortcuts-theme>

and then edit ~/.config/xfce4/mcs_settings/shortcuts.xml to have it point at the theme-file you created.

Hope this helps.

lievendp 04-08-2009 03:37 AM

Thanks for your input ccargo. I'll try this as soon as I'm back in my test environment.
Just for my info: is there a page in the xfce documentation that points to this information? Because I was not able to find it on their site. (probably my bad)

ccargo 04-08-2009 01:20 PM

You're welcome, I hope it works. I haven't looked at the xfce documentation, so there might an easier or better way of doing it. I was just browsing my .config directory to try to understand where the different config-files are stored.

lievendp 04-09-2009 03:13 AM

Works as a charm, just like you advertised.

Thanks!


All times are GMT -5. The time now is 03:35 PM.