Compare commits

..

19 Commits
dev ... master

Author SHA1 Message Date
Ben Reaves
4a3bfe79e2 Temporary fix to allow pip3 to install custom xkeysnail 2024-01-26 21:19:32 -06:00
Ben Reaves
6f42c68e4b Merge pull request #816 from RedBearAK/patch-69
QuickFix shortcut for VSCode(s)
2023-09-13 23:57:19 -05:00
RedBearAK
22c5bfb245 QuickFix shortcut for VSCode(s)
Override for Cmd+Dot is confirmed to work for "QuickFix" in VSCode on Big Sur.
2023-06-26 02:04:32 -08:00
Ben Reaves
99a8566262 Merge pull request #809 from RedBearAK/patch-68
Add "Roxterm" to terminals list
2023-05-16 23:29:46 -05:00
RedBearAK
53cf77a067 Add "Roxterm" to terminals list 2023-05-16 18:05:00 -08:00
Ben Reaves
9a13549c10 Merge pull request #800 from RedBearAK/patch-67
Fix buggy line with only modifiers
2023-04-05 00:42:06 -05:00
RedBearAK
81e6ee9760 Fix buggy line with only modifiers 2023-04-04 15:59:16 -08:00
Ben Reaves
de01e9f744 Merge pull request #791 from huzaifahj/patch-1
Add yakuake
2023-04-02 23:26:16 -05:00
Ben Reaves
91af0b95aa Merge pull request #776 from naveg/replace-m-with-alt
Replace more occurences of M with Alt
2023-04-02 23:25:48 -05:00
Ben Reaves
00f2267e31 Merge pull request #792 from Debi-Ejeta/fix_typo
fixed typos in doc
2023-04-02 23:24:40 -05:00
Ben Reaves
d894af4e45 Merge pull request #797 from rbreaves/hotfix
Adds Anydesk remote software exception
2023-04-02 23:23:53 -05:00
Ben Reaves
bab7660359 Adds Anydesk remote software exception 2023-04-02 23:21:12 -05:00
Debi Ejeta
11f8b13fae fixed typos in doc 2023-03-26 11:05:59 -04:00
huzaifahj
cb1c5cfc46 Add yakuake 2023-03-22 08:34:27 +00:00
Evan Goldenberg
508175ce72 Replace more occurences of M with Alt
A few of these were missed in #692, specifically occurences in the
middle of chords.
2022-12-11 17:21:00 -08:00
Ben Reaves
d2c3b1e9f2 Merge pull request #774 from rbreaves/hotfix
Adds python3-tk/tkinter dependencies to Ubuntu & Fedora based installs
2022-12-03 00:55:15 -06:00
Ben Reaves
6cf7ded26e Adds python3-tk/tkinter dependencies to Ubuntu & Fedora based installs 2022-12-03 00:54:01 -06:00
Ben Reaves
e102f63036 Merge pull request #773 from RedBearAK/patch-65
Add Brave-browser to browsers and chromes lists
2022-12-01 23:04:23 -06:00
RedBearAK
cd7ab8e572 Add Brave-browser to browsers and chromes lists 2022-11-23 02:22:36 -09:00
4 changed files with 60 additions and 61 deletions

View File

@@ -290,7 +290,7 @@ Other programs that will be installed when you run ./setup.py
Note: Sublime Text users should disable screen rotation hotkeys as they will interfere with multi-cursor and possibly other combos. See https://windowsloop.com/disable-screen-rotation-keyboard-shortcut/ for details.
You may also want to disable the Xbox Game Bar so that Win+G or other shortcuts will not interfer with any of your remaps. Start menu -> Game bar shortcuts -> toggle Off.
You may also want to disable the Xbox Game Bar so that Win+G or other shortcuts will not interfere with any of your remaps. Start menu -> Game bar shortcuts -> toggle Off.
## Shortcut Creation
@@ -544,7 +544,7 @@ Linux driver for Facetime HD on macbooks
[Windows Terminal Preview](https://aka.ms/terminal-preview) by Microsoft
The best Terminal app built for Windows hands down. I have tried countless, but this one actually seems to get everything right, despite the lack of a GUI to configure all aspects of the program. Custom configurations have to be done via a json file - but given the performance and feature set I feel like it is the a decent trade off.
The best Terminal app built for Windows hands down. I have tried countless, but this one actually seems to get everything right, despite the lack of a GUI to configure all aspects of the program. Custom configurations have to be done via a json file - but given the performance and feature set I feel like it is a decent trade off.
I will update Kinto to have custom configurations for this specific Terminal in the future. Will make seamless copy & paste, which already works, work even better (Cmd-C can still trigger sigint - but there is a fix for that that involves updating the json config).
@@ -641,7 +641,7 @@ I would just like to thank a few people here directly that have helped me tremen
First off I'd like to thank the Stackoverflow and Stackexchange community. I have probably rubbed some mods the wrong way over there, but the people from the community in general are extremely helpful and gracious and without their contributions would have made this much more difficult. The person I'd like to thank most though from over there is Glen Whitney. Without his detailed explaining of how to rebind keys in xkb this would not have come together at all, as every other remapping solution were non-starters as complexity increases. *Kinto today no longer uses xkb, but Glen Whitney did provide the basis of a workable method that helped me pursue this method and think it was a worthwhile project to pursue, so for that I thank him.*
Secondarily I'd like to thank Christian Eriksson*, as he provided information that kept me up at night.. literally. Even after I implemented a similar bash script to one he had suggested I knew that fully implementing a c/c++ solution was where Kinto needed to head to and his explaination was better than I remember it being now that I have gone back to read it again. He also never provided a full implementation of a c/c++ solution - he did hit on the pain points pretty well of what one would need to do and watch out for. I am not sure where I got the first example code of implementing a c based solution, but he definitely went over it well.
Secondarily I'd like to thank Christian Eriksson*, as he provided information that kept me up at night.. literally. Even after I implemented a similar bash script to one he had suggested I knew that fully implementing a c/c++ solution was where Kinto needed to head to and his explanation was better than I remember it being now that I have gone back to read it again. He also never provided a full implementation of a c/c++ solution - he did hit on the pain points pretty well of what one would need to do and watch out for. I am not sure where I got the first example code of implementing a c based solution, but he definitely went over it well.
Kui and his gist file** was really the c based solution that I found had the fewest issues to resolve to making it a reliable solution. It didn't account for all failures very well, aka BadWindow issues, but it made for a great foundation on which Kintox11 is built. I cannot thank him enough for putting it out there for others to work with.

View File

@@ -23,6 +23,7 @@ terminals = [
"lxterminal",
"mate-terminal",
"org.gnome.Console",
"roxterm",
"qterminal",
"st",
"sakura",
@@ -35,6 +36,7 @@ terminals = [
"urxvt",
"xfce4-terminal",
"xterm",
"yakuake"
]
terminals = [term.casefold() for term in terminals]
termStr = "|".join(str('^'+x+'$') for x in terminals)
@@ -60,6 +62,7 @@ remotes = [
"VirtualBox Machine",
"xfreerdp",
"Wfica",
"Anydesk",
]
remotes = [client.casefold() for client in remotes]
remotesStr = "|".join(str('^'+x+'$') for x in remotes)
@@ -70,6 +73,7 @@ mscodes.extend(remotes)
# Use for browser specific hotkeys
browsers = [
"Brave-browser",
"Chromium",
"Chromium-browser",
"Discord",
@@ -88,6 +92,7 @@ browsers = [browser.casefold() for browser in browsers]
browserStr = "|".join(str('^'+x+'$') for x in browsers)
chromes = [
"Brave-browser",
"Chromium",
"Chromium-browser",
"Google-chrome",
@@ -201,15 +206,15 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
K("C-Key_8"): K("Alt-Key_8"), # Open corresponding tool window
K("C-Key_9"): K("Alt-Key_9"), # Open corresponding tool window
K("Super-Grave"): K("C-Grave"), # Quick switch current scheme
K("C-Comma"): K("C-M-s"), # Open Settings dialog
K("C-Semicolon"): K("C-M-Shift-s"), # Open Project Structure dialog
K("C-Comma"): K("C-Alt-s"), # Open Settings dialog
K("C-Semicolon"): K("C-Alt-Shift-s"), # Open Project Structure dialog
# Debugging
K("C-M-r"): K("F9"), # Resume program
K("C-Alt-r"): K("F9"), # Resume program
# Search/Replace
K("C-g"): K("F3"), # Find next
K("C-Shift-F3"): K("Shift-F3"), # Find previous
K("Super-g"): K("Alt-j"), # Select next occurrence
K("C-Super-g"): K("C-M-Shift-j"), # Select all occurrences
K("C-Super-g"): K("C-Alt-Shift-j"), # Select all occurrences
K("Super-Shift-g"): K("Alt-Shift-j"), # Unselect occurrence
# Editing
K("Super-Space"): K("LC-Space"), # Basic code completion
@@ -221,8 +226,8 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
K("Alt-Up"): K("C-w"), # Extend selection
K("Alt-Down"): K("C-Shift-w"), # Shrink selection
K("Super-Shift-q"): K("Alt-q"), # Context info
K("Super-M-o"): K("C-M-o"), # Optimize imports
K("Super-M-i"): K("C-M-i"), # Auto-indent line(s)
K("Super-Alt-o"): K("C-Alt-o"), # Optimize imports
K("Super-Alt-i"): K("C-Alt-i"), # Auto-indent line(s)
K("C-Backspace"): K("C-y"), # Delete line at caret
K("Super-Shift-j"): K("C-Shift-j"), # Smart line join
K("Alt-Delete"): K("C-Delete"), # Delete to word end
@@ -234,11 +239,11 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
K("C-w"): K("C-F4"), # Close active editor tab
# Refactoring
K("C-Delete"): K("Alt-Delete"), # Safe Delete
K("C-T"): K("C-M-Shift-t"), # Refactor this
K("C-T"): K("C-Alt-Shift-t"), # Refactor this
# Navigation
K("C-o"): K("C-n"), # Go to class
K("C-Shift-o"): K("C-Shift-n"), # Go to file
K("C-M-o"): K("C-M-Shift-n"), # Go to symbol
K("C-Alt-o"): K("C-Alt-Shift-n"), # Go to symbol
K("Super-Right"): K("Alt-Right"), # Go to next editor tab
K("Super-Left"): K("Alt-Left"), # Go to previous editor tab
K("C-l"): K("C-g"), # Go to line
@@ -248,7 +253,7 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
K("Super-Up"): K("Alt-Up"), # Go to previous
K("Super-Down"): K("Alt-Down"), # Go to next method
K("Super-h"): K("C-h"), # Type hierarchy
K("Super-M-h"): K("C-M-h"), # Call hierarchy
K("Super-Alt-h"): K("C-Alt-h"), # Call hierarchy
K("C-Down"): K("C-Enter"), # Edit source/View source
K("Alt-Home"): K("Alt-Home"), # Show navigation bar
K("F2"): K("F11"), # Toggle bookmark
@@ -265,8 +270,8 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
K("Super-Key_9"): K("C-Key_9"), # Go to numbered bookmark
K("C-F3"): K("Shift-F11"), # Show bookmarks
# Compile and Run
K("Super-M-r"): K("Alt-Shift-F10"), # Select configuration and run
K("Super-M-d"): K("Alt-Shift-F9"), # Select configuration and debug
K("Super-Alt-r"): K("Alt-Shift-F10"), # Select configuration and run
K("Super-Alt-d"): K("Alt-Shift-F9"), # Select configuration and debug
K("Super-r"): K("Shift-F10"), # Run
K("Super-d"): K("Shift-F9"), # Debug
K("Super-Shift-r"): K("C-Shift-F10"), # Run context configuration from editor
@@ -326,7 +331,7 @@ define_keymap(re.compile("^io.elementary.files$", re.IGNORECASE),{
# Keybindings overrides for Nautilus
# (overrides some bindings from general file manager code block below)
define_keymap(re.compile("^org.gnome.nautilus$|^nautilus$", re.IGNORECASE),{
# K("RC-N"): K("C-M-Space"), # macOS Finder search window shortcut Cmd+Option+Space
# K("RC-N"): K("C-Alt-Space"), # macOS Finder search window shortcut Cmd+Option+Space
# For this ^^^^^^^^^^^ to work, a custom shortcut must be set up in the Settings app in GNOME
# to run command: "nautilus --new-window /home/USER" [ replace "USER" ]
K("RC-KEY_1"): K("C-KEY_2"), # View as Icons
@@ -476,8 +481,8 @@ define_keymap(re.compile(browserStr, re.IGNORECASE),{
K("RC-Shift-Left_Brace"): K("C-Page_Up"), # Go to prior tab
K("RC-Shift-Right_Brace"): K("C-Page_Down"), # Go to next tab
# Enable Cmd+Option+Left/Right for tab navigation
K("RC-M-Left"): K("C-Page_Up"), # Go to prior tab
K("RC-M-Right"): K("C-Page_Down"), # Go to next tab
K("RC-Alt-Left"): K("C-Page_Up"), # Go to prior tab
K("RC-Alt-Right"): K("C-Page_Down"), # Go to next tab
# Enable Ctrl+PgUp/PgDn for tab navigation
K("Super-Page_Up"): K("C-Page_Up"), # Go to prior tab
K("Super-Page_Down"): K("C-Page_Down"), # Go to next tab
@@ -542,8 +547,8 @@ define_keymap(lambda wm_class: wm_class.casefold() not in remotes,{
K("RC-F3"):K("Super-d"), # Default SL - Show Desktop (gnome/kde,eos)
K("RC-Super-f"):K("Alt-F10"), # Default SL - Maximize app (gnome/kde)
# K("RC-Super-f"): K("Super-Page_Up"), # SL - Toggle maximized window state (kde_neon)
# K("Super-Right"):K("C-M-Right"), # Default SL - Change workspace (budgie)
# K("Super-Left"):K("C-M-Left"), # Default SL - Change workspace (budgie)
# K("Super-Right"):K("C-Alt-Right"), # Default SL - Change workspace (budgie)
# K("Super-Left"):K("C-Alt-Left"), # Default SL - Change workspace (budgie)
K("RC-Q"): K("Alt-F4"), # Default SL - not-popos
K("RC-H"):K("Super-h"), # Default SL - Minimize app (gnome/budgie/popos/fedora)
K("Alt-Tab"): pass_through_key, # Default - Cmd Tab - App Switching Default
@@ -562,7 +567,7 @@ define_keymap(lambda wm_class: wm_class.casefold() not in remotes,{
# K("RC-H"): K("Super-Page_Down"), # SL - Minimize app (kde_neon)
# SL - Default SL - Change workspace (kde_neon)
# K("RC-Space"): K("LC-Esc"), # SL- Launch Application Menu xfce4
# K("RC-F3"):K("C-M-d"), # SL- Show Desktop xfce4
# K("RC-F3"):K("C-Alt-d"), # SL- Show Desktop xfce4
# K("RC-LC-f"):K("Super-Up"), # SL- Maximize app eos
# K("RC-LC-f"):K("Super-PAGE_UP"), # SL- Maximize app manjaro
# Basic App hotkey functions
@@ -640,6 +645,8 @@ define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{
# Keybindings for VS Code
define_keymap(re.compile(codeStr, re.IGNORECASE),{
K("Super-Space"): K("LC-Space"), # Basic code completion
# Override the global Cmd+Dot (Escape/cancel) shortcut
K("RC-Dot"): K("RC-Dot"), # QuickFix
# Wordwise remaining - for VS Code
# Alt-F19 hack fixes Alt menu activation
K("Alt-Left"): [K("Alt-F19"),K("C-Left")], # Left of Word
@@ -649,8 +656,8 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
# K("C-PAGE_DOWN"): pass_through_key, # cancel next_view
# K("C-PAGE_UP"): pass_through_key, # cancel prev_view
K("C-M-Left"): K("C-PAGE_UP"), # next_view
K("C-M-Right"): K("C-PAGE_DOWN"), # prev_view
K("C-Alt-Left"): K("C-PAGE_UP"), # next_view
K("C-Alt-Right"): K("C-PAGE_DOWN"), # prev_view
K("RC-Shift-Left_Brace"): K("C-PAGE_UP"), # next_view
K("RC-Shift-Right_Brace"): K("C-PAGE_DOWN"), # prev_view
@@ -659,9 +666,9 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
K("Super-g"): K("C-g"), # Go to Line...
K("F3"): pass_through_key, # cancel Find next
K("C-h"): pass_through_key, # cancel replace
K("C-M-f"): K("C-h"), # replace
K("C-Alt-f"): K("C-h"), # replace
K("C-Shift-h"): pass_through_key, # cancel replace_next
K("C-M-e"): K("C-Shift-h"), # replace_next
K("C-Alt-e"): K("C-Shift-h"), # replace_next
K("f3"): pass_through_key, # cancel find_next
K("C-g"): K("f3"), # find_next
K("Shift-f3"): pass_through_key, # cancel find_prev
@@ -671,7 +678,7 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
# K("Alt-c"): K("LC-c"), # Chromebook/IBM - Terminal - Sigint
# K("Alt-x"): K("LC-x"), # Chromebook/IBM - Terminal - Exit nano
# K("Super-C-g"): K("C-f2"), # Default - Sublime - find_all_under
# K("C-M-g"): K("C-f2"), # Chromebook/IBM - Sublime - find_all_under
# K("C-Alt-g"): K("C-f2"), # Chromebook/IBM - Sublime - find_all_under
# K("Super-Shift-up"): K("Alt-Shift-up"), # multi-cursor up - Sublime
# K("Super-Shift-down"): K("Alt-Shift-down"), # multi-cursor down - Sublime
# K(""): pass_through_key, # cancel
@@ -687,43 +694,43 @@ define_keymap(re.compile(sublimeStr, re.IGNORECASE),{
K("Super-Space"): K("C-Space"), # Basic code completion
K("C-Super-up"): K("Alt-o"), # Switch file
K("Super-RC-f"): K("f11"), # toggle_full_screen
K("C-M-v"): [K("C-k"), K("C-v")], # paste_from_history
K("C-Alt-v"): [K("C-k"), K("C-v")], # paste_from_history
K("C-up"): pass_through_key, # cancel scroll_lines up
K("C-M-up"): K("C-up"), # scroll_lines up
K("C-Alt-up"): K("C-up"), # scroll_lines up
K("C-down"): pass_through_key, # cancel scroll_lines down
K("C-M-down"): K("C-down"), # scroll_lines down
K("C-Alt-down"): K("C-down"), # scroll_lines down
K("Super-Shift-up"): K("Alt-Shift-up"), # multi-cursor up
K("Super-Shift-down"): K("Alt-Shift-down"), # multi-cursor down
K("C-PAGE_DOWN"): pass_through_key, # cancel next_view
K("C-PAGE_UP"): pass_through_key, # cancel prev_view
K("C-Shift-left_brace"): K("C-PAGE_DOWN"), # next_view
K("C-Shift-right_brace"): K("C-PAGE_UP"), # prev_view
K("C-M-right"): K("C-PAGE_DOWN"), # next_view
K("C-M-left"): K("C-PAGE_UP"), # prev_view
K("C-Alt-right"): K("C-PAGE_DOWN"), # next_view
K("C-Alt-left"): K("C-PAGE_UP"), # prev_view
K("insert"): pass_through_key, # cancel toggle_overwrite
K("C-M-o"): K("insert"), # toggle_overwrite
K("C-Alt-o"): K("insert"), # toggle_overwrite
K("Alt-c"): pass_through_key, # cancel toggle_case_sensitive
K("C-M-c"): K("Alt-c"), # toggle_case_sensitive
K("C-Alt-c"): K("Alt-c"), # toggle_case_sensitive
K("C-h"): pass_through_key, # cancel replace
K("C-M-f"): K("C-h"), # replace
K("C-Alt-f"): K("C-h"), # replace
K("C-Shift-h"): pass_through_key, # cancel replace_next
K("C-M-e"): K("C-Shift-h"), # replace_next
K("C-Alt-e"): K("C-Shift-h"), # replace_next
K("f3"): pass_through_key, # cancel find_next
K("C-g"): K("f3"), # find_next
K("Shift-f3"): pass_through_key, # cancel find_prev
K("C-Shift-g"): K("Shift-f3"), # find_prev
K("C-f3"): pass_through_key, # cancel find_under
K("Super-M-g"): K("C-f3"), # find_under
K("Super-Alt-g"): K("C-f3"), # find_under
K("C-Shift-f3"): pass_through_key, # cancel find_under_prev
K("Super-M-Shift-g"): K("C-Shift-f3"), # find_under_prev
K("Super-Alt-Shift-g"): K("C-Shift-f3"), # find_under_prev
K("Alt-f3"): pass_through_key, # Default - cancel find_all_under
# K("Alt-Refresh"): pass_through_key, # Chromebook/IBM - cancel find_all_under
# K("Alt-C-g"): K("Alt-Refresh"), # Chromebook/IBM - find_all_under
K("Super-C-g"): K("Alt-f3"), # Default - find_all_under
K("C-Shift-up"): pass_through_key, # cancel swap_line_up
K("Super-M-up"): K("C-Shift-up"), # swap_line_up
K("Super-Alt-up"): K("C-Shift-up"), # swap_line_up
K("C-Shift-down"): pass_through_key, # cancel swap_line_down
K("Super-M-down"): K("C-Shift-down"), # swap_line_down
K("Super-Alt-down"): K("C-Shift-down"), # swap_line_down
K("C-Pause"): pass_through_key, # cancel cancel_build
K("Super-c"): K("C-Pause"), # cancel_build
K("f9"): pass_through_key, # cancel sort_lines case_s false
@@ -731,19 +738,19 @@ define_keymap(re.compile(sublimeStr, re.IGNORECASE),{
K("Super-f9"): pass_through_key, # cancel sort_lines case_s true
K("Super-f5"): K("Super-f9"), # sort_lines case_s true
K("Alt-Shift-Key_1"): pass_through_key, # cancel set_layout
K("C-M-Key_1"): K("Alt-Shift-Key_1"), # set_layout
K("C-Alt-Key_1"): K("Alt-Shift-Key_1"), # set_layout
K("Alt-Shift-Key_2"): pass_through_key, # cancel set_layout
K("C-M-Key_2"): K("Alt-Shift-Key_2"), # set_layout
K("C-Alt-Key_2"): K("Alt-Shift-Key_2"), # set_layout
K("Alt-Shift-Key_3"): pass_through_key, # cancel set_layout
K("C-M-Key_3"): K("Alt-Shift-Key_3"), # set_layout
K("C-Alt-Key_3"): K("Alt-Shift-Key_3"), # set_layout
K("Alt-Shift-Key_4"): pass_through_key, # cancel set_layout
K("C-M-Key_4"): K("Alt-Shift-Key_4"), # set_layout
K("C-Alt-Key_4"): K("Alt-Shift-Key_4"), # set_layout
K("Alt-Shift-Key_8"): pass_through_key, # cancel set_layout
K("C-M-Shift-Key_2"): K("Alt-Shift-Key_8"), # set_layout
K("C-Alt-Shift-Key_2"): K("Alt-Shift-Key_8"), # set_layout
K("Alt-Shift-Key_9"): pass_through_key, # cancel set_layout
K("C-M-Shift-Key_3"): K("Alt-Shift-Key_9"), # set_layout
K("C-Alt-Shift-Key_3"): K("Alt-Shift-Key_9"), # set_layout
K("Alt-Shift-Key_5"): pass_through_key, # cancel set_layout
K("C-M-Shift-Key_5"): K("Alt-Shift-Key_5"), # set_layout
K("C-Alt-Shift-Key_5"): K("Alt-Shift-Key_5"), # set_layout
# K(""): pass_through_key, # cancel
# K(""): K(""), #
}, "Sublime Text")
@@ -779,11 +786,11 @@ define_keymap(re.compile(termStr, re.IGNORECASE),{
K("LC-RC-f"): K("Alt-F10"), # Toggle window maximized state
# K("RC-Grave"): K("Super-Tab"), # xfce4 Switch within app group
# K("RC-Shift-Grave"): K("Super-Shift-Tab"), # xfce4 Switch within app group
# K("LC-Right"):K("C-M-Right"), # Default SL - Change workspace (budgie)
# K("LC-Left"):K("C-M-Left"), # Default SL - Change workspace (budgie)
# K("LC-Left"):K("C-M-End"), # SL - Change workspace xfce4
# K("LC-Right"):K("C-Alt-Right"), # Default SL - Change workspace (budgie)
# K("LC-Left"):K("C-Alt-Left"), # Default SL - Change workspace (budgie)
# K("LC-Left"):K("C-Alt-End"), # SL - Change workspace xfce4
# K("LC-Left"):K("Super-Left"), # SL - Change workspace eos
# K("LC-Right"):K("C-M-Home"), # SL - Change workspace xfce4
# K("LC-Right"):K("C-Alt-Home"), # SL - Change workspace xfce4
# K("LC-Right"):K("Super-Right"), # SL - Change workspace eos
# K("LC-Right"):K("Super-Page_Up"), # SL - Change workspace (ubuntu/fedora)
# K("LC-Left"):K("Super-Page_Down"), # SL - Change workspace (ubuntu/fedora)

View File

@@ -176,6 +176,7 @@ GroupAdd, browsers, ahk_exe msedge.exe
; Disable for Remote desktop solutions too
GroupAdd, remotes, ahk_exe VirtualBoxVM.exe
GroupAdd, remotes, ahk_exe mstsc.exe
GroupAdd, remotes, ahk_exe anydesk.exe
GroupAdd, remotes, ahk_exe msrdc.exe
GroupAdd, remotes, ahk_exe nxplayer.bin
GroupAdd, remotes, ahk_exe vmconnect.exe
@@ -271,15 +272,6 @@ GroupAdd, intellij, ahk_exe idea64.exe
; #########################################################################
#IfWinNotActive ahk_group remotes
; Lock Workstation
#^q::DllCall("LockWorkStation")
; Conflicts w/ Win-L so will use Ctrl-Shift-L as Ctrl-L replacement
; Helpful for Sublime text lowercasing & VSCode
^+l::Send ^{l}
; Adds Task View to Ctrl-Cmd-Down
#^Down::
Run, "C:\Windows\explorer.exe" "shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}"
return
; wordwise support
^Up::Send ^{Home}
^+Up::Send ^+{Home}

View File

@@ -385,9 +385,9 @@ if ! [ -x "$(command -v pip3)" ]; then
fi
if ! [ -x "$(command -v python3-config)" ]; then
if [ "$distro" == "ubuntu" ] || [ "${distro::6}" == "debian" ] || [ "$distro" == 'linuxmint' ]; then
pydev="python3-dev"
pydev="python3-dev python3-tk"
elif [ "$distro" == "fedora" ] || [ "$distro" == "fedoralinux" ]; then
pydev="python3-devel"
pydev="python3-devel python3-tkinter"
fi
if [ "$distro" == "gnome" ] || [ "$distro" == "fedora" ] || [ "$distro" == "fedoralinux" ] || [ "${distro::6}" == "debian" ] || [ "$distro" == 'linuxmint' ] ; then
echo "Will need to install $pydev..."
@@ -566,7 +566,7 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
git clone -b kinto --depth 10 https://github.com/rbreaves/xkeysnail.git
cd xkeysnail
fi
sudo pip3 install --upgrade .
sudo pip3 install --upgrade . --break-system-packages
cd ..
which xkeysnail
if [ $? -eq 1 ]; then