On Thu, 14 Feb 2019 at 05:12, Oon-Ee Ng via arch-general < arch-general@xxxxxxxxxxxxx> wrote: > Before I try to hack together a solution, are there any existing > apps/frameworks which allow for the same key/button to do something > different based on the currently focused app (in X)? > > My intended use-case is to use the additional buttons on my drawing tablet > to do various functions, but depending on the current app. So in Gimp they > would do one thing, in Libreoffice another, in Inkscape another. > Don't your applications have an option to customize the shortcuts? -- damjan