Some do, but maintaining existing shortcuts is good for when I'm actually using the keyboard (these 'per-app' shortcuts are meant for the additional buttons on my drawing tablet). I'd only use the application options for shortcuts which really annoy me, like how some use Ctrl-Y to re-do and some use Ctrl-Shift-Z. Not that all apps support re-assigning such basic shortcuts anyway.... On Thu, Feb 14, 2019 at 8:20 PM Damjan Georgievski via arch-general < arch-general@xxxxxxxxxxxxx> wrote: > 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 >