I was wondering if there is any way to map mouse buttons to commands and override the wm's button mapping.

The tutorial tells you how to make your buttons recongizable in X. All my buttons are recongized. I was wondering how I could make a script or edit the xorg.conf file so when i clicked a particular button a specified executable would run. At the end of the tutorial it said this is a nice little script that you can bind with your wm. I asked how to do it independent of my wm. I am not sure if my windows manager can actually do that (I use iceWM).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.