Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-15-2008, 10:03 AM   #1
Registered: Jul 2006
Location: Earth
Distribution: Ubuntu 9.04
Posts: 64

Rep: Reputation: 16
Where is the Xmodmap file

Hello everyone,

I'm trying to map my media keys in the keyboard with some applications (calculator, OpenOffice...)
I found in the web that I could do this by editing the Xmodmap file. However, I couldn't find this file in my system. Most of the pages state that the file is under the home directory, and others gave some different paths, yet I couldn't find the file.

When executing the command

xmodmap -pke
I get a long list of all the key mapping I have. Where does this list come from? How can I edit it?

I'm using Suse10,3

Please help
Old 03-15-2008, 10:14 AM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
It should be a hidden file under your home directory. Try:

cat ~/.Xmodmap
Old 03-15-2008, 02:36 PM   #3
Registered: Jul 2006
Location: Earth
Distribution: Ubuntu 9.04
Posts: 64

Original Poster
Rep: Reputation: 16

I have tried that already and the file is not there


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xmodmap help monkiidansu Linux - Software 1 08-13-2007 01:31 PM
xmodmap chrismiceli Linux - Software 2 06-29-2006 03:18 AM
xmodmap help pitt30 Slackware 11 01-14-2005 04:54 AM
xmodmap snt Linux - Software 0 11-15-2004 08:59 AM
xmodmap ntilde Mandriva 0 07-27-2004 01:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration