CristianHenzel / ClipIt

ClipIt clipboard manager for GTK+
https://github.com/CristianHenzel/ClipIt
GNU General Public License v3.0
652 stars 83 forks source link

A guide/collection of button codes for making them as hotkeys, can add more codes in the comments #166

Open sidmint opened 3 years ago

sidmint commented 3 years ago

Since codes are very peculiar for this app [case sensitive, particular names and brackets required at times] and it's nowhere documented, so I'm creating this collection. Other people can add new codes via comments.

  1. keys like control, alt, shift can be written flexibly as ctrl or Alt or SHIFT.
  2. alphabets can be written simply in lower or uppercase.
  3. function keys seem to require an uppercase F, like say F4
  4. numbers can be written simply.
  5. for symbols and more, one of their names have to be written whose first alphabet can be only either upper or lowercase depending on each case, like

grave for `[back tick key next to 1-button], Down for down arrow, Escape for escape key, slash for /

Since most of the things are pretty clear except the symbols [due to their names to be written], only their codes are a major issue here in my opinion. I've not tried every symbol but they can be discussed in comments when someone raises the question upon necessity, thus adding to the collection.

note- don't forget to put all codes except last one in <> angle brackets, like < alt >< j >k [write without spaces unlike wriiten here for making it get displayed]