From Fedora Project Wiki

No edit summary
(Add man page of ibus command.)
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case is to set up the input method to get it working on the desktop.
|description=This test case is to set up the input method to get it working on the desktop. if something is going wrong, please try to restart the desktop session. that may helps.
|actions=
|actions=
* For GNOME3
 
# Open the Settings window by clicking on the your name at the upper right corner
* For GNOME
# Click at the ''Region & Language'' icon.
# Click on the gear icon from the system status menu on the upper right corner or run gnome-control-center from Activity or the terminal.
# Click on ''Keyboard''.
# Add your preferable input source and layout if not in ''Input Sources'' section.
# Add your preferable input source and layout if not in ''Input Sources'' section.
# Try to click the 2-letter language icon on the panel and select the input source
# Try to click the 2-letter language icon on the panel and select the input source
## or press the ''Super''+''space'' or a shortcut key which is configured in ''Typing'' section on ''Shortcuts'' tab at ''Keyboard'' configuration.
## or press the ''Super''+''space'' or a shortcut key which is configured in ''Typing'' section on ''Shortcuts'' tab at ''Keyboard'' configuration.
* For others
 
* For other desktop environments
** Prerequisites
*** Make sure if you have `im-chooser` and `imsettings` and `imsettings-systemd` installed.
# Select ''Input Method Selector'' from the desktop menu or run ''im-chooser'' from the terminal
# Select ''Input Method Selector'' from the desktop menu or run ''im-chooser'' from the terminal
# Select ''Use IBus'', then click ''Prefrences...'' at the right side.
# Select ''Use IBus'', then click ''Preferences...'' at the right side.
# Open ''Input Method'' tab
# Open ''Input Method'' tab
# See if there are any input method engine you want to use.
# Add your preferable input source and layout if not in ''Input Method'' section.
## If not available, turn on ''Customize active input methods'' and select one from the pull down menu. then click ''Add'' button.
# Click on the ibus icon and select the engine
# Click on the ibus icon and select the engine
## or press Super+space
## or press Super+space
* Reload ibus engine
# Install another ibus engine likes ibus-table-mathwriter with sysadmin account
# Check the current process ID of ibus-daemon with `pidof ibus-daemon` command with the current user account
# Run `ibus restart` command with the current user account
# Check the current process ID of ibus-daemon again
# Run `gnome-control-center keyboard` in GNOME or `ibus-setup` in non-GNOME desktop with the current user account and check the available input method engines
|results=
|results=
* For GNOME3
* For GNOME
** It may depends on the order of the input source, 2 letter language or a symbol for engine should appears at the panel.
** It may depends on the order of the input source, 2 letter language or a symbol for engine should appears at the panel.
* For others
* For other desktops
** "English (UK)" is available in ''Input Method'' -> ''English'' since Fedora 33
** IBus icon should appears at the panel if ibus is running
** IBus icon should appears at the panel if ibus is running
* GUI and windows should be popped up and displayed without error.
** `$HOME/.config/environment.d/imsettings-gtk.conf` and `$HOME/.config/environment.d/imsettings-qt.conf` will be created once selecting something on ''im-chooser''.
* Every change should take effect.  
 
* IBus is turned on when selecting the certain input source or pressing the shortcut key.
* Reload ibus engine
# ibus-daemon PID is updated with `ibus restart` command. See also `man ibus` or `ibus restart --help`.
# gnome-control-center or ibus-setup shows the newly installed ibus enigne likes ibus-table-mathwriter
}}
}}


[[Category:I18n_Desktop]]
[[Category:I18n_Desktop]]
[[Category:Package_ibus_test_cases]]

Revision as of 15:08, 23 August 2022

Description

This test case is to set up the input method to get it working on the desktop. if something is going wrong, please try to restart the desktop session. that may helps.


How to test

  • For GNOME
  1. Click on the gear icon from the system status menu on the upper right corner or run gnome-control-center from Activity or the terminal.
  2. Click on Keyboard.
  3. Add your preferable input source and layout if not in Input Sources section.
  4. Try to click the 2-letter language icon on the panel and select the input source
    1. or press the Super+space or a shortcut key which is configured in Typing section on Shortcuts tab at Keyboard configuration.
  • For other desktop environments
    • Prerequisites
      • Make sure if you have im-chooser and imsettings and imsettings-systemd installed.
  1. Select Input Method Selector from the desktop menu or run im-chooser from the terminal
  2. Select Use IBus, then click Preferences... at the right side.
  3. Open Input Method tab
  4. Add your preferable input source and layout if not in Input Method section.
  5. Click on the ibus icon and select the engine
    1. or press Super+space
  • Reload ibus engine
  1. Install another ibus engine likes ibus-table-mathwriter with sysadmin account
  2. Check the current process ID of ibus-daemon with pidof ibus-daemon command with the current user account
  3. Run ibus restart command with the current user account
  4. Check the current process ID of ibus-daemon again
  5. Run gnome-control-center keyboard in GNOME or ibus-setup in non-GNOME desktop with the current user account and check the available input method engines

Expected Results

  • For GNOME
    • It may depends on the order of the input source, 2 letter language or a symbol for engine should appears at the panel.
  • For other desktops
    • "English (UK)" is available in Input Method -> English since Fedora 33
    • IBus icon should appears at the panel if ibus is running
    • $HOME/.config/environment.d/imsettings-gtk.conf and $HOME/.config/environment.d/imsettings-qt.conf will be created once selecting something on im-chooser.
  • Reload ibus engine
  1. ibus-daemon PID is updated with ibus restart command. See also man ibus or ibus restart --help.
  2. gnome-control-center or ibus-setup shows the newly installed ibus enigne likes ibus-table-mathwriter