linuxmint / linuxmint/cinnamon
"right Alt+Shift not switching back from Persian (Windows) to English in Cinnamon"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.6k
- Forks
- 915
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 3
Description
Distribution
Linux Mint 22 Wilma
Package version
Cinnamon 6.2.9
Graphics hardware in use
Onboard intel
Frequency
Always
Bug description
Issue:
When using the Persian (Windows) keyboard layout on Linux Mint with Cinnamon, the right Alt+Shift shortcut can switch the keyboard from English to Persian, but it does not switch back from Persian to English. The issue appears to be specific to the Persian (Windows) layout.
Steps to Reproduce:
Add the English (US) and Persian (Windows) keyboard layouts in the Cinnamon keyboard settings.
Set Alt+Shift as the shortcut to switch between layouts.
Attempt to toggle between the layouts:
Press right Alt+Shift: switches to Persian (Windows).
Press right Alt+Shift again: does not switch back to English (US)
Steps to reproduce
setxkbmap -print -verbose 10
Setting verbose level to 10
locale is C
Trying to load rules file ./rules/evdev...
Trying to load rules file /usr/share/X11/xkb/rules/evdev...
Success.
Applied rules from evdev:
rules: evdev
model: pc105
layout: us,ir
variant: ,winkeys
options: grp:win_space_toggle,terminate:ctrl_alt_bksp,grp:alt_shift_toggle
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us+ir(winkeys):2+inet(evdev)+terminate(ctrl_alt_bksp)+group(alt_shift_toggle)+group(win_space_toggle):1+group(win_space_toggle):2
geometry: pc(pc105)
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include "pc+us+ir(winkeys):2+inet(evdev)+terminate(ctrl_alt_bksp)+group(alt_shift_toggle)+group(win_space_toggle):1+group(win_space_toggle):2" };
xkb_geometry { include "pc(pc105)" };
};
sudo cat /etc/default/keyboard
KEYBOARD CONFIGURATION FILE
XKBMODEL="pc105"
XKBLAYOUT="us,ir"
XKBVARIANT=",pes_wins"
XKBOPTIONS="grp:alt_shift_toggle,grp:switch,terminate:ctrl_alt_bksp,grp_led:scroll"
BACKSPACE="guess"
Expected behavior
right and left Alt+Shift should toggle between English (US) and Persian (Windows) layouts without issue.
Additional information
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in Cinnamon keyboard settings with English (US) and Persian (Windows), using right Alt+Shift and the configuration shown in /etc/default/keyboard. Start by checking how Cinnamon applies the XKB layouts and grp:alt_shift_toggle option, then verify that the shortcut switches in both directions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100