On Windows the events of the 'Return' key by default are already linked to the <KP_Enter> key. For example selecting a combobox item, or closing a mesagebox
Here I use Linux Mint x64 Cinnamon 20.2, based on Ubuntu. And the <KP_Enter> key is not linked to the events of the 'Return' key. Is this a bug? Or I need to do some configuration.
example if I try to select an item from the combobox with Enter, it works. But if I press <KP_Enter> (numeric enter) nothing happens
If this is a bug, where can I report it?
Key Pad Enter (KP_Enter) does not work on Ubuntu. Let me know if you find an alternative.
This is the archived list of predefined events and it is listed. Again, if there is an alternative let us know.
https://web.archive.org/web/20190512164300id_/http://infohost.nmt.edu/tcc/help/pubs/tkinter/web/event-types.html
from my knowledge of free pascal programming
in windows : Enter(or return key) is mapped to one key VK_RETURN
in Linux : Enter is mapped to 2 keys
for keypad(numeric) to XK_KP_Enter
for left return XK_RETURN
Related
I run Notepad++ both in Windows, and in Linux under Wine. In Windows, I can hold Alt and click/drag to select characters in a column rather than line-by-line.
In Linux, holding Alt and clicking doesn't select anything. Rather, it makes the cursor a hand tool which drags the window around.
Is there a setting to toggle on the alt-click column highlighting? I've poked around in the settings and keyboard shortcuts, but didn't find anything that looked relevant.
Thank you.
In case anyone else runs into this:
For Cinnamon desktop: go to Preferences > System Settings > Windows. Click on the Behavior tab. Change the "Special key to move and resize windows" from Alt to Disabled (or a different key).
Voila, alt-select works again in Notepad++!
(The Mint Forums answer linked above is for an older version but I have confirmed that this works on Mint 20.1 with Cinnamon 4.8.6.)
I'm trying to stimulate the windows key button using pynput but cant find any answers in the pynput documentation
Try Key.cmd:
"A generic command button. On PC platforms, this corresponds to the Super key or Windows key, and on Mac it corresponds to the Command key. This may be a modifier."
Source
I installed Cinnamon Manjaro linux on my 2017 QWERTY Macbook Air. Kernel: 5.4.27-1-MANJARO.
I've tried changing my keyboard languages, but my compose key always produces the same behavior -- that of a US (intl) keyboard. I don't know why.
I've tried setting my compose key to different things, like LWin or RAlt, no luck.
Ideally, I want the same key behavior as that on Mac. My current keyboard layout is English (Macintosh). Everything works, except for all of the compose key combos / accents, which all seem to produce US(intl) dead key outputs.
Things I've tried:
changing my keyboard layouts, from GUI to setxkbmap.
changing my compose key
manually setting the value of Option "Xkblayout" "mac" in /etc/X11/xorg.conf.d/00-keyboard.conf
Failing to understand how to manually force set the accent keys I want via xmodmap :(
Thanks for the help.
Solved: I realized that there was another keyboard which Xorg was somehow (I don't know how) set to, other than English (Macbook). I ran setxbmap -option which had the effect of "resetting" my keyboard to the layout I'd correctly chosen via the GUI.
I don't much understand how / why Xorg persisted in using another keyboard layout despite what I had entered in the GUI keyboard settings -- somehow it survived a reset through multiple computer restarts throughout these past days. But it works.
In using AutoHotKey to block access to ALL keys, all keyboard shortcuts do stop working and the windows key on its own can be blocked i.e.
LWin::Return
RWin::Return
also all other keyboard shortcuts are blocked, however windows + L seems to operate on a higher level and works regardless.
I'm not sure if Autohotkey actually can disable the win+L combination, but it can be done through the registry. Here are detailed instructions: How to Disable the Lock Screen Shortcut Key (Win + L) in Windows.
To summarize:
In the registry editor, navigate to this key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies.
Add a new key, "System", in "Policies".
In your newly created "System" key, add a new "DWORD (32-bit) Value".
Name the value “DisableLockWorkstation” and set its value data to "1".
Log off/on or restart.
Note that I haven't verified if this works. Also note that the linked instructions also includes steps to disable all WinKey combos if that is your desire.
I have used DevC++ and similar environments also have this application. While the overwrite mode is on the code overwrites instead of code moving to right.
The issue can be solved by using fn + insert(print screen) in Windows 8 or above and insert key in lower versions.
Like #Kokul says, you can press the Insert Key. If your Windows machine does not have a physical Insert key, you can press the virtual one, which you can find by pressing:
Windows Key > Ease of Access Keyboard Settings > Use the On-Screen Keyboard
Then press the Insert key which is located on the virtual keyboard to the right of the Enter key. Pressing the virtual key will behave like pressing the physical Insert Key.