Export DISPLAY with azerty keyboard - linux

How to export a keyboard config with the display in linux (with Exceed client app) please ?
export DISPLAY=IP
setxkbmap fr
pycharm
The pycharm export in exceed is working but the setxkbmap fr doesnt work. The keyboard in pycharm is in qwerty whereas my keyboard on my server is in azerty (which I need in pycharm). Thanks
I'm using RHEL 7.9. I'm root. Maybe it is exceed side, config wizard ? idk

Answer : Right click on exceed mini windows on task bar then Tools > Xconfig > Input Devices / Keyboard input
However, I didn't find how to activate Alt Gr key

Related

Using ALT+Click to select text in columns with Notepad++ (Linux)

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.)

Alt button not detected on some keymap shortcut IntelliJ (elementaryOS 5.1.7

Settings
IntelliJ 2019.2 (same issue in 2020.2)
elementary OS 5.1.7.
AZERTY bluetooth Keyboard (Logitech K260)
French Keyboard Layout
French Input method
No custom configuration made either in IntelliJ or in the OS
Problem
The "Move Line Up/Down" shortcut I was using on Windows (Shift + Alt + Up/Down) is not working.
Description
On intelliJ, I opened Settings/Keymap window to check the shortcut was correctly set.
When trying to redefine this shortcut, the "Alt" button was not detected when pressed.
However, I can use it on elementaryOS (e.g. Alt+Tab is working).
On intellij, I can use some other shortcuts like "Alt + Up".
My OS were recently installed.
I already tried to put UK layout/input method with no success.
Two ideas:
system settings : something i missed in keyboard settings ? Don't know much about linux configurations.
IntelliJ option i'm missing.
Thanks.
Finally found the issue.
On elementaryOS,
Go to your Keyboard settings, select "Layout" tab.
On "Switch layout" options, change the default shortcut "Alt + Shift".
Then I am able to reuse this specific shortcut in IntelliJ.
See the screenshot below to get more information:
Keyboard/Layout/Switch layout

Can VSCodeVim Ignore Windows Key Combination?

I have Windows+I set as a keyboard shortcut to open up chrome, but if I try to use that while keyboard focus is on VSCode with vscodevim enabled, it treats it as if I had just typed I by itself (and enters insert mode).
I'm running mate desktop manager on Arch Linux. The Win-I shortcut is set through system -> preferences -> hardware -> keyboard shortcuts.
I've tried adding the following to settings.json:
"vim.handleKeys": {
"<T-i>": false
}
I've also tried <Win-i>, <T-I>, <Win-I>, <Mod4-I>.
Is there a different syntax to specifiy windows key being pressed? Or a different way to have ideavim register that it's pressed and ignore the input? The key is displayed as Mod4 in the mate keyboard shortcuts menu.
I know I can map the chrome shortcut to something else like Alt+F3, but I'm hoping to keep it as Win+I if possible. Any help appreciated!
Try adding the following setting:
"keyboard.dispatch": "keyCode"
Restart vscode after that.

Can't activate shortcut on intellij products

Description
I'm using some intellij products (WebStorm, PHPStorm) and Android Studio and have the same issue with both of theses.
I have an azerty keyboard, with a french layout.
I can type without issue in these softs, but I can't activate shortcuts.
When I try to activate a shortcut (e.g ctrl+z), the activated shortcut is ctrl+w.
the shortcut is correctly triggered, but with the wrong keyboard layout. It seems that when I type, my french keyboard is used, but when I want to use a shortcut, the english layout seems to be used.
Is this a known bug (if so, I've not found any mentions about it), or did I miss something?
What I've tried
I'm running on Fedora 29, with Gnome 3.
I've tried to see if it wasn't reproductible with others softs (e.g firefox/ vscode), and I can't reproduce this.
I've tried to see if it wasn't based on my keyboard settings, so I ran xev to monitor the output of pressed keys. I can't reproduce this issue.
In intellij settings, I've tried to set Keymap > Prefer key position over key char with national layout both true and false, it doesn't seem to change anything.
Current situation
Here is an exemple of a shortcut definition in Android Studio.
I pressed A to Y keys on my french keyboard (which output A,Z,E,R,T,Y), and then press the same keys with ctrl (which output ctrl+Q instead of ctrl+A and so on)
https://imgur.com/a/U4aFd7F
Expected situation (tl;dr)
I expect that when I press ctrl+a, the shortcut triggered inside intellij products is ctrl+a instead of ctrl+q
It is indeed a known bug: https://youtrack.jetbrains.com/issue/IDEA-165950
In the bug report another workaround is mentioned for Gnome 3:
Re-order the languages in Settings > Language and Region tab, put English(US) first of the input source list.
I solved it by running setxkbmap fr. I don't know why this is required by intellij products, but it works.

Android : cannot input text from keyboard

When my android sdk update to newest version, i met the issue is : I cannot type text into Android Emulator by using computer keyboard, and I cannot use Android Emulator keyboard (the keyboard that next to the screen).
If I want to input some text, I must use this : click to textfield where I want to type. It will go to screen with virtual keyboard (as a real mobile phone), and click the character I want.
This annoy me because make me slower when debug an app. Please help me, how to type directly using keyboard.
Thanks :)
Add "Keyboard support" to your emulator hardware:
On Eclipse, go to Window > AVD Manager
Choose your emulator > Edit
Click "New" button in "Hardware" section
Select "Keyboard support" and change value to "Yes"
Finally, click on "Edit AVD" button.
Then you could input text to your emulator from your keyboard.
FYI - since I upgraded to sdk v14, I've had settings issues on the emulators. Leap's solution does work, but you might have to start and stop the emulator several times before these settings stick. No idea why that is ...

Resources