linuxmint / linuxmint/cinnamon

Implementing Bind mouse buttons in Keyboard Applet

Open
#12,840 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

Description

Currently in the keyboard applet you cannot bind mouse buttons only keyboard buttons. This is something I've been working on implementing and I have completed it I'm just cleaning up the implementation before I make a PR.

Related Issue

There was an issue opened for this a bit over a year ago in the linuxmint/cinnamon-desktop repo but I opened a new one here because the Keyboard applet is under this repo

Implementation

The implementation for this is pretty straightforward I just needed to modify KeybindingWidgets.py to allow for mouse button input and to not allow Mouse buttons 1-3 to be used. After this I also needed to do some work in SettingsWidgets.py as that handles conflicts between keybinds.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with KeybindingWidgets.py to understand the existing keyboard-binding input and the stated mouse-button restrictions, then inspect SettingsWidgets.py for keybinding conflict handling. Review the related cinnamon-desktop issue for context. Done means mouse buttons can be bound in the keyboard applet while the specified buttons remain unavailable and conflicts are handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.