Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171891 - gnome-base/control-center requires xmodmap as a runtime dependency
Summary: gnome-base/control-center requires xmodmap as a runtime dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 07:27 UTC by Nguyen Thai Ngoc Duy (RETIRED)
Modified: 2007-03-23 15:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.