Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

Why won't my xmodmap command run on startup/login?

Put it in ~/.Xmodmap. Some distro look for ~/.Xmodmap instead of ~/.xmodmaprc. It works for me on Fedora 16.


Depending on your distribution the ~/.xsession file is executed (a shell script) when logging into X. And/or the ~/.Xmodmap file is sourced by an xmodmap process.

The ~/.profile file is only executed by a login shell (with or without X), thus it is not the right place

Tags:

Ubuntu

Login

Startup

Related

How can I use ffmpeg to split MPEG video into 10 minute chunks? Directory shortcuts in emacs buffer Is there any option with 'ls' command that I see only the directories? Keeping config files synced across multiple pc's Compiling GNU/Linux with -O3 optimization Break a large file into smaller pieces Grabbing the extension in a file name Meaning of root:wheel What is sendmail referring to here? Measure pipe throughput in the shell How do I change folder timestamps recursively to the newest file? How do I delete a file whose name begins with "-" (hyphen a.k.a. dash or minus)?

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy