linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

Keyboard shortcut for layout switch moved to input method, impossible to change language using keyboard #2749

Open b3-com opened 3 years ago

b3-com commented 3 years ago

After update from 20.2 to 20.2.1 shortcut which was set before to toggle languages, now being used for changing input method and there is no way to set shortcut for changing language. Screenshot_dde-control-center_20210514131645 Screenshot_dde-control-center_20210514131635

imHamo commented 3 years ago

yeah same issue. i hope it get fixed soon

mohakine commented 3 years ago

same issue

apkpro-com commented 3 years ago

same issue

fpbeat commented 3 years ago

I can't believe you guys pushed new release with broken keyboard switching

hhaim commented 3 years ago

Is it possible to revert to an old version?

imHamo commented 3 years ago

Is it possible to revert to an old version?

i have used time shift backup . deepin is worst OS at updates. every update they must broke something

Which i have used " Time shift" for daily backup to stay safe. so you better start using it

Also there deepin backup service. you can Find it at grub list you may have a old backup . so you will be able to revert to old Version

SalahAdDin commented 3 years ago

It is not solved yet.

mahersalamin commented 3 years ago

Same issue, not resolved yet.

LuciusV commented 3 years ago

Please fix it as soon as possible, It's major functionality broken!

imarom commented 3 years ago

Please try this:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

This has worked for me on Deepin 20.2.1 (with hebrew)

(use alt_shift to toggle)

for more details: https://askubuntu.com/questions/144774/typing-in-hebrew-with-lubuntu

FYI: This is probably not persistent across reboot

b3-com commented 3 years ago

@imarom

Please try this: setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

Confirm it works and yes, it doesn't persist after reboot.

LuciusV commented 3 years ago

Please try this:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

This has worked for me on Deepin 20.2.1 (with hebrew)

(use alt_shift to toggle)

for more details: https://askubuntu.com/questions/144774/typing-in-hebrew-with-lubuntu

FYI: This is probably not persistent across reboot

This works only in terminal for me

LuciusV commented 3 years ago

可不可以赶紧修改,谢谢 多想用户体验吧

fpbeat commented 3 years ago

27 days passed and still not fixed ? Guys, seriously ?

mahersalamin commented 3 years ago

This is ridiculous!. Looks like I'll move to other linux distro !

SalahAdDin commented 3 years ago

27 days passed and still not fixed ? Guys, seriously ?

seriously.

LuciusV commented 3 years ago

So it has been a month. Are you ever doing something? Should we switch to 优麒麟?

SalahAdDin commented 3 years ago

So it has been a month. Are you ever doing something? Should we switch to 优麒麟?

Is Deepin in active development?

fpbeat commented 3 years ago

Bye bye Deepin, and welcome again Windows 10 + wsl2 🤪

yupirex commented 3 years ago

From arch wiki What worked for me was setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ru You need to create a file /etc/X11/xorg.conf.d/00-keyboard.conf for this you can use this command:

localectl --no-convert set-x11-keymap us,ru grp:switch,grp:alt_shift_toggle,grp_led:scroll

If you wanted to enable the Ctrl+Alt+Backspace sequence to kill the X server by default

setxkbmap -option "terminate:ctrl_alt_bksp"

localectl --no-convert set-x11-keymap us,ru grp:switch,grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp

LuciusV commented 3 years ago

From arch wiki What worked for me was setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,ru You need to create a file /etc/X11/xorg.conf.d/00-keyboard.conf for this you can use this command:

localectl --no-convert set-x11-keymap us,ru grp:switch,grp:alt_shift_toggle,grp_led:scroll

If you wanted to enable the Ctrl+Alt+Backspace sequence to kill the X server by default

setxkbmap -option "terminate:ctrl_alt_bksp"

localectl --no-convert set-x11-keymap us,ru grp:switch,grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp

This only works for window in which command was executed and stops working if I switch to browser or text editor, so this method is useless.

LuciusV commented 3 years ago

So, after last system update, switching shortcut finally works again. But still there are problems:

  1. layout is not shown in system tray
  2. default input is not English in every window, need to switch language every time
  3. still no option to reassign shortcut in control center
alexey3828 commented 3 years ago

So, after last system update, switching shortcut finally works again. But still there are problems:

  1. layout is not shown in system tray
  2. default input is not English in every window, need to switch language every time
  3. still no option to reassign shortcut in control center

You're lucky. I updated - the problem persists. I reinstalled 20.2.2 - the problem persists. Alt-shift switching does not work. And there is no language indicator ( As before.

b3-com commented 3 years ago

After recent update you can find all languages you need in the Input methods menu. But the only reliable way to switch between them for me is Ctrl + Space or Ctrl + Shift. Alt+Shift works unpredictably and usually gets stuck on second language, after couple switches. Maybe result of running "setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us, ru" before? Layout is not shown in system tray. Keyboard Layout menu is still as useless as before, will it be removed?
Screenshot_dde-control-center_20210701104731

SalahAdDin commented 3 years ago

After recent update you can find all languages you need in the Input methods menu. But the only reliable way to switch between them for me is Ctrl + Space or Ctrl + Shift. Alt+Shift works unpredictably and usually gets stuck on second language, after couple switches. Maybe result of running "setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us, ru" before? Layout is not shown in system tray. Keyboard Layout menu is still as useless as before, will it be removed? Screenshot_dde-control-center_20210701104731

How many different settings are here?

I got confused a lot.

alexey3828 commented 3 years ago

After recent update you can find all languages you need in the Input methods menu. But the only reliable way to switch between them for me is Ctrl + Space or Ctrl + Shift. Alt+Shift works unpredictably and usually gets stuck on second language, after couple switches. Maybe result of running "setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us, ru" before? Layout is not shown in system tray. Keyboard Layout menu is still as useless as before, will it be removed? Screenshot_dde-control-center_20210701104731

Oh yeah. I had to reinstall the system yesterday. Because when adding two keyboards, the alt-shift works once, and the language is not switched back by any combination. I started experimenting with this, got distracted, my screen was locked, and then I could not change the keyboard language to enter the password. And I don’t remember exactly, there were a lot of things to do yesterday. But it seems to me that the Russian keyboard appeared in the list only after I added the system language - Russian. This is also not very good.

LuciusV commented 3 years ago

Old behavior was very convenient - I used alt-shift to switch English/Russian and single shift press to use pinyin input. Now scrolling between three languages is very inconvenient, especially because there is no language indicator in tray. I insist on restoring old behavior

alexey3828 commented 3 years ago

ctrl+shift, ctrl+super, alt+super work. alt+shift does not work. The feeling that the alt or shift key is tied somewhere. I looked at all the fcitx settings. i'm disable all bindings for alt and shift keys. But it did not help. It looks like it's included somewhere deeper in the system. Or I overlooked something.

limbo666 commented 2 years ago

Please try this:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

This has worked for me on Deepin 20.2.1 (with hebrew)

(use alt_shift to toggle)

for more details: https://askubuntu.com/questions/144774/typing-in-hebrew-with-lubuntu

FYI: This is probably not persistent across reboot

I can confirm this worked for me on Deepin 20.2.4

_setxkbmap -option grp:switch,grp:alt_shift_toggle,grpled:scroll us,gr

SalahAdDin commented 2 years ago

Please try this:

setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll us,il

This has worked for me on Deepin 20.2.1 (with hebrew) (use alt_shift to toggle) for more details: https://askubuntu.com/questions/144774/typing-in-hebrew-with-lubuntu FYI: This is probably not persistent across reboot

I can confirm this worked for me on Deepin 20.2.4

_setxkbmap -option grp:switch,grp:alt_shift_toggle,grpled:scroll us,gr

Don't tell me it hasn't been solved yet, please!

limbo666 commented 2 years ago

I can confirm this worked for me on Deepin 20.2.4 _setxkbmap -option grp:switch,grp:alt_shift_toggle,grpled:scroll us,gr

Don't tell me it hasn't been solved yet, please! For my system the only working solution this the above mentioned command. The language interface selection utility seems to be broken. That's on Deepin 20.2.4 - NOV 2021

justforlxz commented 2 years ago

Support the shortcut keys in the sequence of shift + alt, some modifications to fcitx are needed, I will finish it as soon as possible.