Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171891

Summary: gnome-base/control-center requires xmodmap as a runtime dependency
Product: Gentoo Linux Reporter: Nguyen Thai Ngoc Duy (RETIRED) <pclouds>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2007-03-23 07:27:12 UTC
GNOME Keyboard shortcuts won't work if xmodmap is not installed. Here is the code from control-center-2.16.2/gnome-settings-daemon/gnome-settings-multimedia-keys.c

static gboolean                                                                 
hookup_keysym (int keycode, const char *keysym)                                 
{                                                                               
        char *command;                                                          
                                                                                
        if (keycode <= 0)                                                       
                return TRUE;                                                    
                                                                                
        command = g_strdup_printf ("xmodmap -e \"keycode %d = %s\"",            
                                   keycode, keysym);                                    g_spawn_command_line_sync (command, NULL, NULL, NULL, NULL);                    g_free (command);                                                                                                                                       
        return FALSE;                                                           
}                                                                               

I don't about other versions though, please check for sure.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-23 15:50:45 UTC
You're right, thanks.  Added.