For openSUSE Tumbleweed run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:XOrg/openSUSE_Tumbleweed/X11:XOrg.repo
zypper refresh
zypper install xmodmap
For openSUSE Factory GCC14 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:XOrg/openSUSE_Factory_GCC14/X11:XOrg.repo
zypper refresh
zypper install xmodmap
For openSUSE Factory run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:XOrg/openSUSE_Factory/X11:XOrg.repo
zypper refresh
zypper install xmodmap
For openSUSE 13.1 run the following as root:
zypper addrepo https://download.opensuse.org/repositories/X11:XOrg/openSUSE_13.1/X11:XOrg.repo
zypper refresh
zypper install xmodmap