Here's a workaround: Using gconf-editor and editing the run_command_* and command_* in /apps/metacity/global_keybindings and /apps/metacity/keybinding_commands, respectively. Keyboard shortcuts created this way will start the applications with the correct environment.
By the way, it seems that the keyboard shortcuts from the "preferences" -> "keyboard shortcut" application are scattered across three different places in gconf: /apps/metacity/, /apps/gnome_settings_daemon/keybindings and /desktop/gnome/keybindings. -- Keyboard 'Custom Shortcut' does not retain environment https://bugs.launchpad.net/bugs/373111 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs